hardis:project:clean:orgmissingitems
Description
Clean SFDX sources from items present neither in target org nor local package.xml
Parameters
Name | Type | Description | Default | Required | Options |
---|---|---|---|---|---|
debug -d |
boolean | Activate debug mode (more logs) | |||
flags-dir | option | undefined | |||
folder -f |
option | Root folder | force-app | ||
json | boolean | Format output as json. | |||
packagexmlfull -p |
option | Path to packagexml used for cleaning. | |||
Must contain also standard CustomObject and CustomField elements. | |||||
If not provided, it will be generated from a remote org | |||||
packagexmltargetorg -t |
option | Target org username or alias to build package.xml (SF CLI must be authenticated). | |||
If not provided, will be prompted to the user. | |||||
skipauth | boolean | Skip authentication check when a default username is required | |||
websocket | option | Websocket host:port for VsCode SFDX Hardis UI integration |
Examples
$ sf hardis:project:clean:orgmissingitems