pio project metadata
Usage
pio project metadata [OPTIONS]
Description
Dump a build metadata 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.
Options
- -d, --project-dir
Specify the path to project directory. By default, --project-dir
is equal
to current working directory (CWD
).
- -e, --environment
Dump specified environments. Multiple environments are allowed.
- --json-output
Return the output in JSON format.
- --json-output-path
Dump metadata in JSON format and save it to the specified path. If the only folder path is provided, the file name will be generated automatically. Please note that the parent folder must exist before.