Skip to content

hardis:project:clean:references

Description

Remove unwanted references within sfdx project sources

Parameters

Name Type Description Default Required Options
config
-c
option Path to a JSON config file or a destructiveChanges.xml file
debug
-d
boolean Activate debug mode (more logs)
json boolean format output as json
loglevel option logging level for this command invocation warn trace
debug
info
warn
error
fatal
skipauth boolean Skip authentication check when a default username is required
type
-t
option Cleaning type all
caseentitlement
dashboards
datadotcom
destructivechanges
localfields
productrequest
entitlement
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sfdx hardis:project:clean:references
$ sfdx hardis:project:clean:references --type all
$ sfdx hardis:project:clean:references --config ./cleaning/myconfig.json
$ sfdx hardis:project:clean:references --config ./somefolder/myDestructivePackage.xml