Skip to content

hardis:org:retrieve:sources:dx

Description

Retrieve Salesforce DX project from org

Parameters

Name Type Description Default Required Options
apiversion option override the api version used for api requests made by this command
debug
-d
boolean Activate debug mode (more logs)
filteredmetadatas
-m
option Comma separated list of Metadatas keys to remove from PackageXml file
folder
-f
option Folder .
instanceurl
-r
option URL of org instance
json boolean format output as json
keepmetadatatypes
-k
option Comma separated list of metadatas types that will be the only ones to be retrieved
loglevel option logging level for this command invocation warn trace
debug
info
warn
error
fatal
shape
-o
boolean Updates project-scratch-def.json from org shape
skipauth boolean Skip authentication check when a default username is required
targetusername
-u
option username or alias for the target org; overrides default target org
tempfolder
-t
option Temporary folder ./tmp
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sfdx hardis:org:retrieve:sources:dx