Skip to content

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)
folder
-f
option Root folder force-app
json boolean format output as json
loglevel option logging level for this command invocation warn trace
debug
info
warn
error
fatal
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 (sfdx 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

$ sfdx hardis:project:clean:orgmissingitems