pio project metadata


pio project metadata [OPTIONS]


Dump a build metadata intended for IDE extensions/plugins:


-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.


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.