pio project metadata [OPTIONS]
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.
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.
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.