sfdx force:cmdt:generate [file]

Generates a custom metadata type and all its records for the provided sObject

Arguments

NameDescription
file

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
--apiversion <apiversion>Override the api version used for api requests made by this command
-n, --devname <devname>Name of the custom metadata type
-l, --label <label>Label for the custom metadata type
-p, --plurallabel <plurallabel>Plural version of the label value; if blank, uses label
-v, --visibility <visibility>Visibility of the custom metadata type
-s, --sobjectname <sobjectname>API name of the sObject source for custom metadata generation
-i, --ignoreunsupportedIgnore unsupported field types
-d, --typeoutputdir <typeoutputdir>Directory to store newly-created custom metadata type files
-r, --recordsoutputdir <recordsoutputdir>Directory to store newly-created custom metadata record files