mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 11:42:28 +00:00
34 lines
749 B
Plaintext
34 lines
749 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pio run
|
|
|
|
> Run PlatformIO project targets.
|
|
> More information: <https://docs.platformio.org/en/latest/core/userguide/cmd_run.html>.
|
|
|
|
- List all available project targets:
|
|
|
|
`pio run --list-targets`
|
|
|
|
- List all available project targets of a specific environment:
|
|
|
|
`pio run --list-targets --environment {{environment}}`
|
|
|
|
- Run all targets:
|
|
|
|
`pio run`
|
|
|
|
- Run all targets of specified environments:
|
|
|
|
`pio run --environment {{environment1}} --environment {{environment2}}`
|
|
|
|
- Run specified targets:
|
|
|
|
`pio run --target {{target1}} --target {{target2}}`
|
|
|
|
- Run the targets of a specified configuration file:
|
|
|
|
`pio run --project-conf {{path/to/platformio.ini}}`
|