sfdx force:mdapi:convert
Convert metadata from the Metadata API format into the source format
Options
Name | Description |
---|---|
--json | Format output as json |
--loglevel <loglevel> | Logging level for this command invocation |
-r, --rootdir <rootdir> | The root directory containing the Metadata API–formatted metadata |
-d, --outputdir <outputdir> | The output directory to store the source–formatted files |
-x, --manifest <manifest> | File path to manifest (package.xml) of metadata types to convert |
-m, --metadata <metadata> | Comma-separated list of metadata component names to convert |
-p, --metadatapath <metadatapath> | Comma-separated list of paths to the local source files to convert |