Platformio-core: List dev-platform targets with a new `--list-targets` option

Created on 4 Jun 2020  路  4Comments  路  Source: platformio/platformio-core

Configuration

Operating system: all

PlatformIO Version (platformio --version): 4.3.4

Description of problem

According to https://docs.platformio.org/en/stable/projectconf/section_env_build.html#targets running platformio run --target should produce a list of targets, however an error is generated instead

Steps to Reproduce

  1. platformio run --target

Actual Results

Error: --target option requires an argument

Expected Results

A list of build targets

If problems with PlatformI

build system feature

All 4 comments

I'm seeing this too.

pio run --target
Error: --target option requires an argument

pio --version
PlatformIO, version 4.3.4

Thanks! Indeed, this feature has not been implemented yet. I renamed this issue.

Please re-test with pio upgrade --dev version of PIO core. See https://docs.platformio.org/en/latest/core/userguide/cmd_run.html#cmdoption-platformio-run-list-targets

It's working for me. (Also, it is very neat. Thank you)

Screen Shot 2020-06-26 at 3 53 31 AM

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gianiaz picture gianiaz  路  4Comments

malachib picture malachib  路  3Comments

simonvanderveldt picture simonvanderveldt  路  3Comments

shiohiyoko picture shiohiyoko  路  3Comments

HamzaHajeir picture HamzaHajeir  路  5Comments