New in version 5.0.
pio project data [OPTIONS]
Dump data intended for IDE extensions/plugins:
Toolchain type and location
Compiler flags
Defines/Macros
CPP Preprocessor includes/paths
Program path
SVD path if available for Development Platforms
Targets by Development Platforms (see pio run --list-targets
for details)
Extra information.
Specify the path to project directory. By default, --project-dir
is equal
to current working directory (CWD
).
Dump specified environments. Multiple environments are allowed.
Return the output in JSON format.