sfdx force:source:retrieve

Retrieve source from an org

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>Override the api version used for api requests made by this command
-p, --sourcepath <sourcepath>Comma-separated list of source file paths to retrieve
-w, --wait <wait>Wait time for command to finish in minutes
-x, --manifest <manifest>File path for manifest (package.xml) of components to retrieve
-m, --metadata <metadata>Comma-separated list of metadata component names
-n, --packagenames <packagenames>A comma-separated list of packages to retrieve
--verboseVerbose output of retrieve result