mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Share option for PIO Remote agent
This commit is contained in:
@ -42,7 +42,7 @@ def remote_agent():
|
||||
|
||||
@remote_agent.command("start", short_help="Start agent")
|
||||
@click.option("-n", "--name")
|
||||
@click.option("-s", "--share")
|
||||
@click.option("-s", "--share", metavar="E-MAIL")
|
||||
def remote_agent_start(**kwargs):
|
||||
pioplus_call(sys.argv[1:])
|
||||
|
||||
|
@ -111,8 +111,7 @@ class MeasurementProtocol(TelemetryBase):
|
||||
if not args:
|
||||
return
|
||||
cmd_path = args[:1]
|
||||
if args[0] in ("lib", "platform", "device", "settings",
|
||||
"remote"):
|
||||
if args[0] in ("lib", "platform", "device", "settings", "remote"):
|
||||
cmd_path = args[:2]
|
||||
if args[0] == "remote":
|
||||
if len(args) > 2 and args[1] in ("agent", "device"):
|
||||
|
Reference in New Issue
Block a user