pio-run: add page (#5827)

This commit is contained in:
marchersimon
2021-04-25 06:51:16 +02:00
committed by GitHub
parent 16865a34a9
commit 32e86137f2

28
pages/common/pio-run.md Normal file
View File

@@ -0,0 +1,28 @@
# 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}}`