From 32e86137f277c8f98dc33b10da30c0316e8592b6 Mon Sep 17 00:00:00 2001 From: marchersimon <50295997+marchersimon@users.noreply.github.com> Date: Sun, 25 Apr 2021 06:51:16 +0200 Subject: [PATCH] pio-run: add page (#5827) --- pages/common/pio-run.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/pio-run.md diff --git a/pages/common/pio-run.md b/pages/common/pio-run.md new file mode 100644 index 0000000000..4c01eb8995 --- /dev/null +++ b/pages/common/pio-run.md @@ -0,0 +1,28 @@ +# pio run + +> Run PlatformIO project targets. +> More information: . + +- 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}}`