![Forrest logo](/images/logo.png)
pio-remote:tldr:a42e0
pio-remote: List devices from specified Agents (omit `--agent` to specify all Agents).
$ pio remote --agent ${agent_name1} --agent ${agent_name2} device list
try on your machine
This command is using the PlatformIO (PIO) Remote feature to list the devices connected to the specified agents.
Here's a breakdown of the command:
pio remote
is the command to interact with the PIO Remote feature.--agent ${agent_name1}
specifies the first agent where devices will be listed.--agent ${agent_name2}
specifies the second agent where devices will be listed.device list
is the sub-command that lists the connected devices.
By providing the agent names using the ${agent_name}
syntax, you can specify multiple agents separated by space, and the command will fetch the list of devices connected to each of those agents.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.