sfdx force:mdapi:listmetadata

Display properties of metadata components of a specified type

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-u, --targetusername <targetusername>Username or alias for the target org; overrides default target org
-a, --apiversion <apiversion>API version to use
-f, --resultfile <resultfile>Path to the file where results are stored
-m, --metadatatype <metadatatype>Metadata type to be retrieved, such as CustomObject; metadata type value is case-sensitive
--folder <folder>Folder associated with the component; required for components that use folders; folder names are case-sensitive