sfdx-hardis 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +80 -80
- package/lib/commands/hardis/org/diagnose/legacyapi.js +3 -1
- package/lib/commands/hardis/org/diagnose/legacyapi.js.map +1 -1
- package/lib/commands/hardis/org/retrieve/sources/metadata.js +15 -6
- package/lib/commands/hardis/org/retrieve/sources/metadata.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"4.2.2","commands":{"hardis:auth:login":{"id":"hardis:auth:login","description":"Login to salesforce org","usage":"<%= command.id %> [-r <string>] [-h] [-s] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:auth:login"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"URL of org instance"},"devhub":{"name":"devhub","type":"boolean","char":"h","description":"Also connect associated DevHub","allowNo":false},"scratchorg":{"name":"scratchorg","type":"boolean","char":"s","description":"Scratch org","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:cache:clear":{"id":"hardis:cache:clear","description":"Clear cache generated by sfdx-hardis","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:cache:clear"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:config:get":{"id":"hardis:config:get","description":"Returns sfdx-hardis project config for a given level","usage":"<%= command.id %> [-l <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:deploy:sources:metadata"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"level":{"name":"level","type":"option","char":"l","description":"project,branch or user","options":["project","branch","user"],"default":"project"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:lint:access":{"id":"hardis:lint:access","description":"Check if elements(apex class and field) are at least in one permission set","usage":"<%= command.id %> [-e <string>] [-i <string>] [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:lint:access","$ sfdx hardis:lint:access -e \"ApexClass:ClassA, CustomField:Account.CustomField\"","$ sfdx hardis:lint:access -i \"PermissionSet:permissionSetA, Profile\""],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"elementsignored":{"name":"elementsignored","type":"option","char":"e","description":"Ignore specific elements separated by commas","default":""},"ignorerights":{"name":"ignorerights","type":"option","char":"i","description":"Ignore permission sets or profiles","default":""},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:mdapi:deploy":{"id":"hardis:mdapi:deploy","description":"sfdx-hardis wrapper for sfdx force:mdapi:deploy that displays tips to solve deployment errors.\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_mdapi.htm#cli_reference_force_mdapi_deploy)\n","usage":"<%= command.id %> [-d <directory>] [-w <minutes>] [-q <id> | -l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g | -c] [-f <filepath>] [-s] [--soapdeploy] [--purgeondelete] [--debug] [--websocket <string>] [-u <string>] [--apiversion <string>] [--verbose] [--concise] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"checkonly":{"name":"checkonly","type":"boolean","char":"c","description":"checkOnly","allowNo":false},"deploydir":{"name":"deploydir","type":"option","char":"d","description":"deployDir"},"wait":{"name":"wait","type":"option","char":"w","description":"wait","default":{"quantity":0,"unit":0}},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"testLevel","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"NoTestRun"},"runtests":{"name":"runtests","type":"option","char":"r","description":"runTests","default":[]},"ignoreerrors":{"name":"ignoreerrors","type":"boolean","char":"o","description":"ignoreErrors","allowNo":false},"ignorewarnings":{"name":"ignorewarnings","type":"boolean","char":"g","description":"ignoreWarnings","allowNo":false},"validateddeployrequestid":{"name":"validateddeployrequestid","type":"option","char":"q","description":"validatedDeployRequestId"},"verbose":{"name":"verbose","type":"boolean","description":"verbose","allowNo":false},"zipfile":{"name":"zipfile","type":"option","char":"f","description":"zipFile"},"singlepackage":{"name":"singlepackage","type":"boolean","char":"s","description":"singlePackage","allowNo":false},"soapdeploy":{"name":"soapdeploy","type":"boolean","description":"soapDeploy","allowNo":false},"purgeondelete":{"name":"purgeondelete","type":"boolean","description":"purgeOnDelete","allowNo":false},"concise":{"name":"concise","type":"boolean","description":"concise","allowNo":false},"debug":{"name":"debug","type":"boolean","description":"debug","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"websocket"}},"args":[]},"hardis:misc:toml2csv":{"id":"hardis:misc:toml2csv","description":"Split TOML file into distinct CSV files","usage":"<%= command.id %> -f <string> [-t <string>] [-l <array>] [-s] [-o <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:misc:toml2csv --tomlfile 'D:/clients/toto/V1_full.txt' ","$ sfdx hardis:misc:toml2csv --skiptransfo --tomlfile 'D:/clients/toto/V1_full.txt' ","$ sfdx hardis:misc:toml2csv --skiptransfo --tomlfile 'D:/clients/toto/V1_full.txt' --outputdir 'C:/tmp/rrrr'","$ NODE_OPTIONS=--max_old_space_size=9096 sfdx hardis:misc:toml2csv --skiptransfo --tomlfile './input/V1.txt' --outputdir './output' --filtersections 'COMPTES,SOUS'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"tomlfile":{"name":"tomlfile","type":"option","char":"f","description":"Input TOML file path","required":true},"transfoconfig":{"name":"transfoconfig","type":"option","char":"t","description":"Path to JSON config file for mapping and transformation"},"filtersections":{"name":"filtersections","type":"option","char":"l","description":"List of sections to process (if not set, all sections will be processed)","default":[]},"skiptransfo":{"name":"skiptransfo","type":"boolean","char":"s","description":"Do not apply transformation to input data","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"o","description":"Output directory"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:connect":{"id":"hardis:org:connect","description":"Connect to an org without setting it as default username, then proposes to open the org in web browser\n ","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:connect"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:create":{"id":"hardis:org:create","description":"Create and initialize sandbox org","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:select":{"id":"hardis:org:select","description":"Interactive org selection for user","usage":"<%= command.id %> [-h] [-s] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:select"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"devhub":{"name":"devhub","type":"boolean","char":"h","description":"Also connect associated DevHub","allowNo":false},"scratch":{"name":"scratch","type":"boolean","char":"s","description":"Select scratch org related to default DevHub","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:create":{"id":"hardis:package:create","description":"Create a new package","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:install":{"id":"hardis:package:install","description":"Install a package in an org using its id (starting with **04t**)\n\nAssisted menu to propose to update `installedPackages` property in `.sfdx-hardis.yml`\n","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [-k <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:install"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"package":{"name":"package","type":"option","char":"p","description":"Package Version Id to install (04t...)"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (default: null)","default":null},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:mergexml":{"id":"hardis:package:mergexml","description":"Select and merge package.xml files","usage":"<%= command.id %> [-f <string>] [-p <string>] [-x <string>] [-r <string>] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:mergexml","$ sfdx hardis:package:mergexml --folder packages --pattern /**/*.xml --result myMergedPackage.xml","$ sfdx hardis:package:mergexml --packagexmls \"config/mypackage1.xml,config/mypackage2.xml,config/mypackage3.xml\" --result myMergedPackage.xml"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"manifest"},"packagexmls":{"name":"packagexmls","type":"option","char":"p","description":"Comma separated list of package.xml files to merge. Will be prompted to user if not provided"},"pattern":{"name":"pattern","type":"option","char":"x","description":"Name criteria to list package.xml files","default":"/**/*package*.xml"},"result":{"name":"result","type":"option","char":"r","description":"Result package.xml file name"},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:create":{"id":"hardis:project:create","description":"Create a new SFDX Project","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:lint":{"id":"hardis:project:lint","description":"Apply syntactic analysis (linters) on the repository sources, using Mega-Linter","usage":"<%= command.id %> [-f] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:lint","$ sfdx hardis:project:lint --fix"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"fix":{"name":"fix","type":"boolean","char":"f","description":"Apply linters fixes","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:create":{"id":"hardis:scratch:create","description":"Create and initialize a scratch org or a source-tracked sandbox (config can be defined using `config/.sfdx-hardis.yml`):\n\n- **Install packages**\n - Use property `installedPackages`\n- **Push sources**\n- **Assign permission sets**\n - Use property `initPermissionSets`\n- **Run apex initialization scripts**\n - Use property `scratchOrgInitApexScripts`\n- **Load data**\n - Use property `dataPackages`\n ","usage":"<%= command.id %> [-n] [-d] [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"forcenew":{"name":"forcenew","type":"boolean","char":"n","description":"If an existing scratch org exists, do not reuse it but create a new one","allowNo":false},"pool":{"name":"pool","type":"boolean","char":"d","description":"Creates the scratch org for a scratch org pool","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:delete":{"id":"hardis:scratch:delete","description":"Assisted menu to delete scratch orgs associated to a DevHub","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:delete"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pull":{"id":"hardis:scratch:pull","description":"This commands pulls the updates you performed in your scratch or sandbox org, into your local files\n\nThen, you probably want to stage and commit the files containing the updates you want to keep, as explained in this video.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Ik6whtflmfY\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n- Calls sfdx force:source:pull under the hood\n- If there are errors, proposes to automatically add erroneous item in `.forceignore`, then pull again\n- If you want to always retrieve sources like CustomApplication that are not always detected as updates by force:source:pull , you can define property **autoRetrieveWhenPull** in .sfdx-hardis.yml\n\nExample:\n```yaml\nautoRetrieveWhenPull:\n - CustomApplication:MyCustomApplication\n - CustomApplication:MyOtherCustomApplication\n - CustomApplication:MyThirdCustomApp\n```\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pull"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:push":{"id":"hardis:scratch:push","description":"Push local files to scratch org\n\nCalls `sfdx force:source:push` under the hood\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:push"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:source:deploy":{"id":"hardis:source:deploy","description":"sfdx-hardis wrapper for sfdx force:source:deploy that displays tips to solve deployment errors.\n\nAdditional to the base command wrapper: If using **--checkonly**, add options **--checkcoverage** and **--coverageformatters json-summary** to check that org coverage is > 75% (or value defined in .sfdx-hardis.yml property **apexTestsMinCoverageOrgWide**)\n\nYou can also have deployment results as pull request comments, on:\n\n- Gitlab (see [Gitlab integration configuration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-gitlab/))\n- Azure DevOps (see [Azure integration configuration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/))\n\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\nNotes:\n\n- You can disable coloring of errors in red by defining env variable SFDX_HARDIS_DEPLOY_ERR_COLORS=false\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_deploy)\n","usage":"<%= command.id %> [--soapdeploy] [-w <minutes>] [--predestructivechanges <filepath> ] [--postdestructivechanges <filepath> ] [-f [-t | | [-q <id> | -x <filepath> | -m <array> | -p <array> | -c | -l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g]]] [--resultsdir <directory>] [--coverageformatters <array>] [--junit] [--checkcoverage] [--debug] [--websocket <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:source:deploy -x manifest/package.xml --wait 60 --ignorewarnings --testlevel RunLocalTests --postdestructivechanges ./manifest/destructiveChanges.xml --targetusername nicolas.vuillamy@cloudity.com.sfdxhardis --checkonly --checkcoverage --verbose --coverageformatters json-summary"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"checkonly":{"name":"checkonly","type":"boolean","char":"c","description":"checkonly","allowNo":false},"soapdeploy":{"name":"soapdeploy","type":"boolean","description":"soapDeploy","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait","default":{"quantity":60,"unit":0}},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"testlevel","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"NoTestRun"},"runtests":{"name":"runtests","type":"option","char":"r","description":"runTests","default":[]},"ignoreerrors":{"name":"ignoreerrors","type":"boolean","char":"o","description":"ignoreErrors","allowNo":false},"ignorewarnings":{"name":"ignorewarnings","type":"boolean","char":"g","description":"ignoreWarnings","allowNo":false},"validateddeployrequestid":{"name":"validateddeployrequestid","type":"option","char":"q","description":"validateDeployRequestId"},"verbose":{"name":"verbose","type":"boolean","description":"verbose","allowNo":false},"metadata":{"name":"metadata","type":"option","char":"m","description":"metadata"},"sourcepath":{"name":"sourcepath","type":"option","char":"p","description":"sourcePath"},"manifest":{"name":"manifest","type":"option","char":"x","description":"flagsLong.manifest"},"predestructivechanges":{"name":"predestructivechanges","type":"option","description":"predestructivechanges"},"postdestructivechanges":{"name":"postdestructivechanges","type":"option","description":"postdestructivechanges"},"tracksource":{"name":"tracksource","type":"boolean","char":"t","description":"tracksource","allowNo":false},"forceoverwrite":{"name":"forceoverwrite","type":"boolean","char":"f","description":"forceoverwrite","allowNo":false},"resultsdir":{"name":"resultsdir","type":"option","description":"resultsdir"},"coverageformatters":{"name":"coverageformatters","type":"option","description":"coverageformatters"},"junit":{"name":"junit","type":"boolean","description":"junit","allowNo":false},"checkcoverage":{"name":"checkcoverage","type":"boolean","description":"Check Apex org coverage","allowNo":false},"debug":{"name":"debug","type":"boolean","description":"debug","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"websocket"}},"args":[]},"hardis:source:push":{"id":"hardis:source:push","description":"sfdx-hardis wrapper for sfdx force:source:push that displays tips to solve deployment errors.\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_push)\n","usage":"<%= command.id %> [-f] [-w <minutes>] [-g] [--debug] [--websocket <string>] [-u <string>] [--apiversion <string>] [--quiet] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"forceoverwrite":{"name":"forceoverwrite","type":"boolean","char":"f","description":"forceoverwrite","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait","default":{"quantity":60,"unit":0}},"ignorewarnings":{"name":"ignorewarnings","type":"boolean","char":"g","description":"ignorewarnings","allowNo":false},"quiet":{"name":"quiet","type":"boolean","description":"quiet","allowNo":false},"debug":{"name":"debug","type":"boolean","description":"debug","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"websocket"}},"args":[]},"hardis:source:retrieve":{"id":"hardis:source:retrieve","description":"sfdx-hardis wrapper for sfdx force:source:retrieve\n\n- If no retrieve constraint is sent, as assisted menu will request the list of metadatas to retrieve\n- If no org is selected , an assisted menu will request the user to choose one\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_retrieve)\n","usage":"<%= command.id %> [-p <array> | -x <filepath> | -m <array>] [-w <minutes>] [-n <array>] [-f -t] [-d] [--websocket <string>] [--skipauth] [-u <string>] [-a <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","char":"a","description":"override the api version used for api requests made by this command"},"sourcepath":{"name":"sourcepath","type":"option","char":"p","description":"sourcePath"},"wait":{"name":"wait","type":"option","char":"w","description":"wait"},"manifest":{"name":"manifest","type":"option","char":"x","description":"manifest"},"metadata":{"name":"metadata","type":"option","char":"m","description":"metadata"},"packagenames":{"name":"packagenames","type":"option","char":"n","description":"packagenames"},"tracksource":{"name":"tracksource","type":"boolean","char":"t","description":"tracksource","allowNo":false},"forceoverwrite":{"name":"forceoverwrite","type":"boolean","char":"f","description":"forceoverwrite","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"verbose","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"debugMode","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"websocket"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:new":{"id":"hardis:work:new","description":"Assisted menu to start working on a Salesforce task.\n\nAt the end of the command, it will allow you to work on either a scratch org or a sandbox, depending on your choices.\n\nUnder the hood, it can:\n\n- Make **git pull** to be up to date with target branch\n- Create **new git branch** with formatted name (you can override the choices using .sfdx-hardis.yml property **branchPrefixChoices**)\n- Create and initialize a scratch org or a source-tracked sandbox (config can be defined using `config/.sfdx-hardis.yml`):\n- (and for scratch org only for now):\n - **Install packages**\n - Use property `installedPackages`\n - **Push sources**\n - **Assign permission sets**\n - Use property `initPermissionSets`\n - **Run apex initialization scripts**\n - Use property `scratchOrgInitApexScripts`\n - **Load data**\n - Use property `dataPackages`\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:task:new"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:refresh":{"id":"hardis:work:refresh","description":"Make my local branch and my scratch org up to date with the most recent sources","usage":"<%= command.id %> [-n] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:refresh"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"nopull":{"name":"nopull","type":"boolean","char":"n","description":"No scratch pull before save (careful if you use that!)","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:resetselection":{"id":"hardis:work:resetselection","description":"Resets the selection that we want to add in the merge request\n\nCalls a soft git reset behind the hood \n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:resetsave"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:save":{"id":"hardis:work:save","description":"When a work task is completed, guide user to create a merge request\n\n- Generate package-xml diff using sfdx-git-delta\n- Automatically update `manifest/package.xml` and `manifest/destructiveChanges.xml` according to the committed updates\n- Automatically Clean XML files using `.sfdx-hardis.yml` properties\n - `autocleantypes`: List of auto-performed sources cleanings, available on command [hardis:project:clean:references](https://sfdx-hardis.cloudity.com/hardis/project/clean/references/)\n - `autoRemoveUserPermissions`: List of userPermission to automatically remove from profile metadatas\n\nExample:\n\n```yaml\nautoCleanTypes:\n - destructivechanges\n - datadotcom\n - minimizeProfiles\n - listViewsMine\nautoRemoveUserPermissions:\n - EnableCommunityAppLauncher\n - FieldServiceAccess\n - OmnichannelInventorySync\n - SendExternalEmailAvailable\n - UseOmnichannelInventoryAPIs\n - ViewDataLeakageEvents\n - ViewMLModels\n - ViewPlatformEvents\n - WorkCalibrationUser\n```\n\n- Push commit to server\n ","usage":"<%= command.id %> [-n] [-g] [-c] [--auto] [--targetbranch <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:task:save","$ sfdx hardis:work:task:save --nopull --nogit --noclean"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"nopull":{"name":"nopull","type":"boolean","char":"n","description":"No scratch pull before save","allowNo":false},"nogit":{"name":"nogit","type":"boolean","char":"g","description":"No automated git operations","allowNo":false},"noclean":{"name":"noclean","type":"boolean","char":"c","description":"No cleaning of local sources","allowNo":false},"auto":{"name":"auto","type":"boolean","description":"No user prompts (when called from CI for example)","allowNo":false},"targetbranch":{"name":"targetbranch","type":"option","description":"Name of the Merge Request target branch. Will be guessed or prompted if not provided."},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:ws":{"id":"hardis:work:ws","description":"Technical calls to WebSocket functions","usage":"<%= command.id %> [-e <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:ws --event refreshStatus"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"event":{"name":"event","type":"option","char":"e","description":"WebSocket event"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:doc:extract:permsetgroups":{"id":"hardis:doc:extract:permsetgroups","description":"Generate markdown files with project documentation","usage":"<%= command.id %> [-o <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:doc:extract:permsetgroups"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"outputfile":{"name":"outputfile","type":"option","char":"o","description":"Force the path and name of output report file. Must end with .csv"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:doc:plugin:generate":{"id":"hardis:doc:plugin:generate","description":"Generate Markdown documentation ready for HTML conversion with mkdocs\n\nAfter the first run, you need to update manually:\n\n- mkdocs.yml\n- .github/workflows/build-deploy-docs.yml\n- docs/javascripts/gtag.js , if you want Google Analytics tracking\n\nThen, activate Github pages, with \"gh_pages\" as target branch\n\nAt each merge into master/main branch, the GitHub Action build-deploy-docs will rebuild documentation and publish it in GitHub pages\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:doc:plugin:generate"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:configure:data":{"id":"hardis:org:configure:data","description":"Configure Data Export/Import with a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:configure:data"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:configure:files":{"id":"hardis:org:configure:files","description":"Configure export of file attachments from a Salesforce org\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:configure:files"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:configure:monitoring":{"id":"hardis:org:configure:monitoring","description":"Configure monitoring of an org","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:configure:monitoring"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:data:delete":{"id":"hardis:org:data:delete","description":"Delete data in org using sfdmu","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:data:delete"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"path":{"name":"path","type":"option","char":"p","description":"Path to the sfdmu workspace folder"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:data:export":{"id":"hardis:org:data:export","description":"Export data from an org using a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:data:export"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"path":{"name":"path","type":"option","char":"p","description":"Path to the sfdmu workspace folder"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:data:import":{"id":"hardis:org:data:import","description":"Import/Load data in an org using a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:data:import"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"path":{"name":"path","type":"option","char":"p","description":"Path to the sfdmu workspace folder"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:diagnose:legacyapi":{"id":"hardis:org:diagnose:legacyapi","description":"Checks if an org uses retired or someday retired API version\n\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238)\n\n","usage":"<%= command.id %> [-e <string>] [-l <number>] [-o <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:diagnose:legacyapi","$ sfdx hardis:org:diagnose:legacyapi -u hardis@myclient.com","$ sfdx hardis:org:diagnose:legacyapi --outputfile 'c:/path/to/folder/legacyapi.csv'","$ sfdx hardis:org:diagnose:legacyapi -u hardis@myclient.com --outputfile ./tmp/legacyapi.csv"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"eventtype":{"name":"eventtype","type":"option","char":"e","description":"Type of EventLogFile event to analyze","default":"ApiTotalUsage"},"limit":{"name":"limit","type":"option","char":"l","description":"Number of latest EventLogFile events to analyze","default":999},"outputfile":{"name":"outputfile","type":"option","char":"o","description":"Force the path and name of output report file. Must end with .csv"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:files:export":{"id":"hardis:org:files:export","description":"Export file attachments from a Salesforce org\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n","usage":"<%= command.id %> [-p <string>] [-c <number>] [-t <number>] [-s <number>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:files:export"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"path":{"name":"path","type":"option","char":"p","description":"Path to the file export project"},"chunksize":{"name":"chunksize","type":"option","char":"c","description":"Number of records to add in a chunk before it is processed","default":1000},"polltimeout":{"name":"polltimeout","type":"option","char":"t","description":"Timeout in MS for Bulk API calls","default":300000},"startchunknumber":{"name":"startchunknumber","type":"option","char":"s","description":"Chunk number to start from","default":0},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:fix:listviewmine":{"id":"hardis:org:fix:listviewmine","description":"Fix listviews whose scope Mine has been replaced by Everything\n\n[](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n","usage":"<%= command.id %> [-l <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:fix:listviewmine","$ sfdx hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"listviews":{"name":"listviews","type":"option","char":"l","description":"Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:generate:packagexmlfull":{"id":"hardis:org:generate:packagexmlfull","description":"Generates full org package.xml, including managed items","usage":"<%= command.id %> [--outputfile <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:generate:packagexmlfull","$ sfdx hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml","$ sfdx hardis:org:generate:packagexmlfull --targetusername nico@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"outputfile":{"name":"outputfile","type":"option","description":"Output package.xml file"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:purge:apexlog":{"id":"hardis:org:purge:apexlog","description":"Purge apex logs in selected org","usage":"<%= command.id %> [-z] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:purge:apexlog","$ sfdx hardis:org:purge:apexlog --targetusername nicolas.vuillamy@gmail.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"prompt":{"name":"prompt","type":"boolean","char":"z","description":"Prompt for confirmation (true by default, use --no-prompt to skip)","allowNo":true},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:purge:flow":{"id":"hardis:org:purge:flow","description":"Purge Obsolete flow versions to avoid the 50 max versions limit. Filters on Status and Name","usage":"<%= command.id %> [-z] [-n <string>] [-s <string>] [-f] [-r <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:purge:flow --targetusername nicolas.vuillamy@gmail.com\n Found 1 records:\n ID MASTERLABEL VERSIONNUMBER DESCRIPTION STATUS\n 30109000000kX7uAAE TestFlow 2 test flowwww Obsolete\n Are you sure you want to delete this list of records (y/n)?: y\n Successfully deleted record: 30109000000kX7uAAE.\n Deleted the following list of records:\n ID MASTERLABEL VERSIONNUMBER DESCRIPTION STATUS\n 30109000000kX7uAAE TestFlow 2 test flowwww Obsolete\n ","$ sfdx hardis:org:purge:flow --targetusername nicolas.vuillamy@gmail.com --status \"Obsolete,Draft,InvalidDraft --name TestFlow\"\n Found 4 records:\n ID MASTERLABEL VERSIONNUMBER DESCRIPTION STATUS\n 30109000000kX7uAAE TestFlow 2 test flowwww Obsolete\n 30109000000kX8EAAU TestFlow 6 test flowwww InvalidDraft\n 30109000000kX8AAAU TestFlow 5 test flowwww InvalidDraft\n 30109000000kX89AAE TestFlow 4 test flowwww Draft\n Are you sure you want to delete this list of records (y/n)?: n\n No record deleted\n "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"prompt":{"name":"prompt","type":"boolean","char":"z","description":"Prompt for confirmation (true by default, use --no-prompt to skip)","allowNo":true},"name":{"name":"name","type":"option","char":"n","description":"Filter according to Name criteria"},"status":{"name":"status","type":"option","char":"s","description":"Filter according to Status criteria"},"allowpurgefailure":{"name":"allowpurgefailure","type":"boolean","char":"f","description":"Allows purges to fail without exiting with 1. Use --no-allowpurgefailure to disable","allowNo":true},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"URL of org instance","default":"https://login.salesforce.com"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:packageconfig":{"id":"hardis:org:retrieve:packageconfig","description":"Retrieve package configuration from an org","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:packageconfig","sfdx hardis:org:retrieve:packageconfig -u myOrg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:test:apex":{"id":"hardis:org:test:apex","description":"Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 60 minutes\n","usage":"<%= command.id %> [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:test:apex"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"Level of tests to apply to validate deployment","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"RunLocalTests"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:user:activateinvalid":{"id":"hardis:org:user:activateinvalid","description":"Update sandbox users so their email is valid\n\n Example: replaces `toto@company.com.dev.invalid` with `toto@company.com.dev.invalid`\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d)\n","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:user:activateinvalid","$ sfdx hardis:org:user:activateinvalid --targetusername myuser@myorg.com","$ sfdx hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --targetusername myuser@myorg.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"profiles":{"name":"profiles","type":"option","char":"p","description":"Comma-separated list of profiles names that you want to reactive users assigned to and with a .invalid email"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:user:freeze":{"id":"hardis:org:user:freeze","description":"Mass freeze users in org before a maintenance or go live\n\nSee user guide in the following article\n\n<https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3>\n\n[](https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3)","usage":"<%= command.id %> [-n <string>] [-p <string>] [-e <string>] [-m <number>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:user:freeze","$ sfdx hardis:org:user:freeze --targetusername myuser@myorg.com","$ sfdx hardis:org:user:freeze --includeprofiles 'Standard'","$ sfdx hardis:org:user:freeze --excludeprofiles 'System Administrator,Some Other Profile'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"Filter according to Name criteria"},"includeprofiles":{"name":"includeprofiles","type":"option","char":"p","description":"List of profiles that you want to freeze, separated by commas"},"excludeprofiles":{"name":"excludeprofiles","type":"option","char":"e","description":"List of profiles that you want to NOT freeze, separated by commas"},"maxuserdisplay":{"name":"maxuserdisplay","type":"option","char":"m","description":"Maximum users to display in logs","default":100},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:user:unfreeze":{"id":"hardis:org:user:unfreeze","description":"Mass unfreeze users in org after a maintenance or go live\n\nSee user guide in the following article\n\n<https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3>\n\n[](https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3)","usage":"<%= command.id %> [-n <string>] [-p <string>] [-e <string>] [-m <number>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:user:unfreeze","$ sfdx hardis:org:user:unfreeze --targetusername myuser@myorg.com","$ sfdx hardis:org:user:unfreeze --includeprofiles 'Standard'","$ sfdx hardis:org:user:unfreeze --excludeprofiles 'System Administrator,Some Other Profile'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"Filter according to Name criteria"},"includeprofiles":{"name":"includeprofiles","type":"option","char":"p","description":"List of profiles that you want to unfreeze, separated by commas"},"excludeprofiles":{"name":"excludeprofiles","type":"option","char":"e","description":"List of profiles that you want to NOT unfreeze, separated by commas"},"maxuserdisplay":{"name":"maxuserdisplay","type":"option","char":"m","description":"Maximum users to display in logs","default":100},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:version:create":{"id":"hardis:package:version:create","description":"Create a new version of an unlocked package","usage":"<%= command.id %> [-d] [-p <string>] [-k <string>] [--deleteafter] [-i] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:version:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"package":{"name":"package","type":"option","char":"p","description":"Package identifier that you want to use to generate a new package version","default":null},"installkey":{"name":"installkey","type":"option","char":"k","description":"Package installation key","default":null},"deleteafter":{"name":"deleteafter","type":"boolean","description":"Delete package version after creating it","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"Install package version on default org after generation","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:version:list":{"id":"hardis:package:version:list","description":"List versions of unlocked package","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:version:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:version:promote":{"id":"hardis:package:version:promote","description":"Promote package(s) version(s): convert it from beta to released","usage":"<%= command.id %> [-d] [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:version:promote","$ sfdx hardis:package:version:promote --auto"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"auto":{"name":"auto","type":"boolean","char":"d","description":"Auto-detect which versions of which packages need to be promoted","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:audit:apiversion":{"id":"hardis:project:audit:apiversion","description":"Audit API version","usage":"<%= command.id %> [-m <number>] [-f] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:audit:apiversion"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"minimumapiversion":{"name":"minimumapiversion","type":"option","char":"m","description":"Minimum allowed API version","default":20},"failiferror":{"name":"failiferror","type":"boolean","char":"f","description":"Fails (exit code 1) if an error is found","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:audit:callincallout":{"id":"hardis:project:audit:callincallout","description":"Generate list of callIn and callouts from sfdx project","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:audit:callouts"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:audit:duplicatefiles":{"id":"hardis:project:audit:duplicatefiles","description":"Find duplicate files in sfdx folder (often from past @salesforce/cli bugs)","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:audit:duplicatefiles"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"path":{"name":"path","type":"option","char":"p","description":"Root path to check","default":"/home/runner/work/sfdx-hardis/sfdx-hardis"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:audit:remotesites":{"id":"hardis:project:audit:remotesites","description":"Generate list of remote sites","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:audit:remotesites"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:emptyitems":{"id":"hardis:project:clean:emptyitems","description":"Remove unwanted empty items within sfdx project sources","usage":"<%= command.id %> [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:emptyitems"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:hiddenitems":{"id":"hardis:project:clean:hiddenitems","description":"Remove unwanted hidden items within sfdx project sources","usage":"<%= command.id %> [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:hiddenitems"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:listviews":{"id":"hardis:project:clean:listviews","description":"Replace Mine by Everything in ListView, and log the replacements in sfdx-hardis.yml","usage":"<%= command.id %> [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:listviews"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:manageditems":{"id":"hardis:project:clean:manageditems","description":"Remove unwanted managed items within sfdx project sources","usage":"<%= command.id %> [-n <string>] [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:manageditems --namespace crta"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"namespace":{"name":"namespace","type":"option","char":"n","description":"Namespace to remove","default":""},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:minimizeprofiles":{"id":"hardis:project:clean:minimizeprofiles","description":"Remove all profile attributes that exist on Permission Sets\n\nIt is a bad practice to define on Profiles elements that can be defined on Permission Sets.\n\nSalesforce will deprecate such capability in Spring 26.\n\nDon't wait for that, and use minimizeProfiles cleaning to automatically remove from Profiles any permission that exists on a Permission Set !\n\nThe following XML tags are removed automatically:\n\n- classAccesses\n- customMetadataTypeAccesses\n- externalDataSourceAccesses\n- fieldPermissions\n- objectPermissions\n- pageAccesses\n- userPermissions (except on Admin Profile)\n\nYou can override this list by defining a property minimizeProfilesNodesToRemove in your .sfdx-hardis.yml config file.\n ","usage":"<%= command.id %> [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:minimizeprofiles"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:orgmissingitems":{"id":"hardis:project:clean:orgmissingitems","description":"Clean SFDX sources from items present neither in target org nor local package.xml","usage":"<%= command.id %> [-f <string>] [-p <string>] [-t <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:orgmissingitems"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"packagexmlfull":{"name":"packagexmlfull","type":"option","char":"p","description":"Path to packagexml used for cleaning.\nMust contain also standard CustomObject and CustomField elements.\nIf not provided, it will be generated from a remote org"},"packagexmltargetorg":{"name":"packagexmltargetorg","type":"option","char":"t","description":"Target org username or alias to build package.xml (sfdx must be authenticated).\nIf not provided, will be prompted to the user."},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:references":{"id":"hardis:project:clean:references","description":"Remove unwanted references within sfdx project sources","usage":"<%= command.id %> [-t <string>] [-c <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"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"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"type":{"name":"type","type":"option","char":"t","description":"Cleaning type","options":["all","caseentitlement","dashboards","datadotcom","destructivechanges","localfields","productrequest","entitlement"]},"config":{"name":"config","type":"option","char":"c","description":"Path to a JSON config file or a destructiveChanges.xml file"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:retrievefolders":{"id":"hardis:project:clean:retrievefolders","description":"Retrieve dashboards, documents and report folders in DX sources. Use -u ORGALIAS","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:retrievefolders"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:standarditems":{"id":"hardis:project:clean:standarditems","description":"Remove unwanted standard items within sfdx project sources","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:standarditems"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:systemdebug":{"id":"hardis:project:clean:systemdebug","description":"Clean System.debug() lines in APEX Code (classes and triggers)","usage":"<%= command.id %> [-f <string>] [--websocket <string>] [--skipauth] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:systemdebug"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false},"delete":{"name":"delete","type":"boolean","char":"d","description":"Delete lines with System.debug","allowNo":false}},"args":[]},"hardis:project:clean:xml":{"id":"hardis:project:clean:xml","description":"Remove XML elements using Glob patterns and XPath expressions\n \nThis can be very useful to avoid to always remove manually the same elements in the same XML file.\n\n- **globpattern** can be any glob pattern allowing to identify the XML files to update, for example `/**/*.flexipage-meta.xml`\n\n- **xpath** can be any xpath following the format `//ns:PARENT-TAG-NAME//ns:TAG-NAME[contains(text(),'TAG-VALUE')]`. If an element is found, the whole **PARENT-TAG-NAME** (with its subtree) will be removed.\n\n\n\nNote: If globpattern and xpath are not sent, elements defined in property **cleanXmlPatterns** in **.sfdx-hardis.yml** config file will be used\n \n ","usage":"<%= command.id %> [-f <string>] [-p <string> -x <string>] [-n <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:xml","$ sfdx hardis:project:clean:xml --globpattern \"/**/*.flexipage-meta.xml\" --xpath \"//ns:flexiPageRegions//ns:name[contains(text(),'dashboardName')]\""],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"globpattern":{"name":"globpattern","type":"option","char":"p","description":"Glob pattern to find files to clean. Ex: /**/*.flexipage-meta.xml"},"xpath":{"name":"xpath","type":"option","char":"x","description":"XPath to use to detect the elements to remove. Ex: //ns:flexiPageRegions//ns:name[contains(text(),'dashboardName')]"},"namespace":{"name":"namespace","type":"option","char":"n","description":"XML Namespace to use","default":"http://soap.sforce.com/2006/04/metadata"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:configure:auth":{"id":"hardis:project:configure:auth","description":"Configure authentication from git branch to target org","usage":"<%= command.id %> [-b] [-d] [--websocket <string>] [--skipauth] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:configure:auth"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"devhub":{"name":"devhub","type":"boolean","char":"b","description":"Configure project DevHub","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:convert:profilestopermsets":{"id":"hardis:project:convert:profilestopermsets","description":"Creates permission sets from existing profiles, with id PS_PROFILENAME","usage":"<%= command.id %> [-e <array>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:convert:profilestopermsets"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"except":{"name":"except","type":"option","char":"e","description":"List of filters","default":[]},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:fix:v53flexipages":{"id":"hardis:project:fix:v53flexipages","description":"Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:fix:v53flexipages"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"path":{"name":"path","type":"option","char":"p","description":"Root folder","default":"/home/runner/work/sfdx-hardis/sfdx-hardis"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:generate:gitdelta":{"id":"hardis:project:generate:gitdelta","description":"Generate package.xml git delta between 2 commits","usage":"<%= command.id %> [--branch <string>] [--fromcommit <string>] [--tocommit <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:generate:gitdelta"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"branch":{"name":"branch","type":"option","description":"Git branch to use to generate delta"},"fromcommit":{"name":"fromcommit","type":"option","description":"Hash of commit to start from"},"tocommit":{"name":"tocommit","type":"option","description":"Hash of commit to stop at"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:metadata:findduplicates":{"id":"hardis:project:metadata:findduplicates","description":"find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n","usage":"<%= command.id %> [-f <array>] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n","\n$ sfdx hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n","\n$ sfdx hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"files":{"name":"files","type":"option","char":"f","description":"XML metadata files path"},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:create":{"id":"hardis:scratch:pool:create","description":"Select a data storage service and configure information to build a scratch org pool\n\n Run the command, follow instruction, then you need to schedule a daily CI job for the pool maintenance:\n\n - Define CI ENV variable SCRATCH_ORG_POOL with value \"true\"\n\n - Call the following lines in the CI job:\n\n```shell\n sfdx hardis:auth:login --devhub\n sfdx hardis:scratch:pool:refresh\n```\n ","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:configure"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:localauth":{"id":"hardis:scratch:pool:localauth","description":"Calls the related storage service to request api keys and secrets that allows a local user to fetch a scratch org from scratch org pool","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:localauth"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:refresh":{"id":"hardis:scratch:pool:refresh","description":"Create enough scratch orgs to fill the pool","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:refresh"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:reset":{"id":"hardis:scratch:pool:reset","description":"Reset scratch org pool (delete all scratches in the pool)","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:refresh"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:view":{"id":"hardis:scratch:pool:view","description":"Displays all stored content of project scratch org pool if defined","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:view"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:analytics":{"id":"hardis:org:retrieve:sources:analytics","description":"Retrieve all CRM Analytics sources from an org, with workarounds for SFDX bugs","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:analytics"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:dx":{"id":"hardis:org:retrieve:sources:dx","description":"Retrieve Salesforce DX project from org","usage":"<%= command.id %> [-f <string>] [-t <string>] [-k <string>] [-m <string>] [-o] [-r <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:dx"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folder":{"name":"folder","type":"option","char":"f","description":"Folder","default":"."},"tempfolder":{"name":"tempfolder","type":"option","char":"t","description":"Temporary folder","default":"./tmp"},"keepmetadatatypes":{"name":"keepmetadatatypes","type":"option","char":"k","description":"Comma separated list of metadatas types that will be the only ones to be retrieved"},"filteredmetadatas":{"name":"filteredmetadatas","type":"option","char":"m","description":"Comma separated list of Metadatas keys to remove from PackageXml file"},"shape":{"name":"shape","type":"boolean","char":"o","description":"Updates project-scratch-def.json from org shape","allowNo":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"URL of org instance"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:dx2":{"id":"hardis:org:retrieve:sources:dx2","description":"Retrieve Salesforce DX project from org","usage":"<%= command.id %> [-x <string>] [-t <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:dx2"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"packagexml":{"name":"packagexml","type":"option","char":"x","description":"Path to package.xml file"},"template":{"name":"template","type":"option","char":"t","description":"sfdx-hardis package.xml Template name. ex: wave"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:metadata":{"id":"hardis:org:retrieve:sources:metadata","description":"Retrieve Salesforce DX project from org","usage":"<%= command.id %> [-f <string>] [-p <string>] [--includemanaged] [-r <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:metadata","$ SFDX_RETRIEVE_WAIT_MINUTES=200 sfdx hardis:org:retrieve:sources:metadata"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folder":{"name":"folder","type":"option","char":"f","description":"Folder","default":"."},"packagexml":{"name":"packagexml","type":"option","char":"p","description":"Path to package.xml manifest file"},"includemanaged":{"name":"includemanaged","type":"boolean","description":"Include items from managed packages","allowNo":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"URL of org instance"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:retrofit":{"id":"hardis:org:retrieve:sources:retrofit","description":"Retrieve changes from org link to a ref branch not present in sources\n\n This command need to be triggered from a branch that is connected to a SF org. It will then retrieve all changes not present in that branch sources, commit them and create a merge request against the default branch. If a merge request already exists, it will simply add a new commit.\n\n Define the following properties in **.sfdx-hardis.yml**\n\n - **productionBranch** : Name of the git branch that is corresponding to production org\n - **retrofitBranch** : Name of the git branch that will be used as merge request target\n\n List of metadata to retrieve can be set in three way, in order of priority :\n\n - `CI_SOURCES_TO_RETROFIT`: env variable (can be defined in CI context)\n - `sourcesToRetrofit` property in `.sfdx-hardis.yml`\n - Default list:\n\n - CompactLayout\n - CustomApplication\n - CustomField\n - CustomLabel\n - CustomLabels\n - CustomMetadata\n - CustomObject\n - CustomObjectTranslation\n - CustomTab\n - DuplicateRule\n - EmailTemplate\n - FlexiPage\n - GlobalValueSet\n - Layout\n - ListView\n - MatchingRules\n - PermissionSet\n - RecordType\n - StandardValueSet\n - Translations\n - ValidationRule\n\n You can also ignore some files even if they have been updated in production. To do that, define property **retrofitIgnoredFiles** in .sfdx-hardis.yml\n\n Example of full retrofit configuration:\n\n ```yaml\n productionBranch: master\n retrofitBranch: preprod\n retrofitIgnoredFiles:\n - force-app/main/default/applications/MyApp.app-meta.xml\n - force-app/main/default/applications/MyOtherApp.app-meta.xml\n - force-app/main/default/flexipages/MyFlexipageContainingDashboards.flexipage-meta.xml\n ```\n ","usage":"<%= command.id %> [--commit] [--commitmode updated|all] [--push] [--pushmode default|mergerequest] [--productionbranch <string>] [--retrofittargetbranch <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:retrofit","sfdx hardis:org:retrieve:sources:retrofit --productionbranch master --commit --commitmode updated","sfdx hardis:org:retrieve:sources:retrofit --productionbranch master --retrofitbranch preprod --commit --commitmode updated --push --pushmode mergerequest"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"commit":{"name":"commit","type":"boolean","description":"If true, a commit will be performed after the retrofit","allowNo":false},"commitmode":{"name":"commitmode","type":"option","description":"Defines if we commit all retrieved updates, or all updates including creations","helpValue":"(updated|all)","options":["updated","all"],"default":"updated"},"push":{"name":"push","type":"boolean","description":"If true, a push will be performed after the retrofit","allowNo":false},"pushmode":{"name":"pushmode","type":"option","description":"Defines if we send merge request options to git push arguments","helpValue":"(default|mergerequest)","options":["default","mergerequest"],"default":"default"},"productionbranch":{"name":"productionbranch","type":"option","description":"Name of the git branch corresponding to the org we want to perform the retrofit on.\nCan be defined in productionBranch property in .sfdx-hardis.yml"},"retrofittargetbranch":{"name":"retrofittargetbranch","type":"option","description":"Name of branch the merge request will have as target\nCan be defined in retrofitBranch property in .sfdx-hardis.yml"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:deploy:sources:dx":{"id":"hardis:project:deploy:sources:dx","description":"Deploy SFDX source to org, following deploymentPlan in .sfdx-hardis.yml\n\nIn case of errors, [tips to fix them](https://sfdx-hardis.cloudity.com/deployTips/) will be included within the error messages.\n\n### Quick Deploy\n\nIn case Pull Request comments are configured on the project, Quick Deploy will try to be used (equivalent to button Quick Deploy)\n\nIf you do not want to use QuickDeploy, define variable `SFDX_HARDIS_QUICK_DEPLOY=false`\n\n- [Gitlab merge requests notes config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-gitlab/)\n- [Azure PR comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/)\n\n### Dynamic deployment items / Overwrite management\n\nIf necessary,you can define the following files (that supports wildcards <members>*</members>):\n\n- `manifest/packageDeployOnce.xml`: Every element defined in this file will be deployed only if it is not existing yet in the target org (can be useful with ListView for example, if the client wants to update them directly in production org)\n- `manifest/packageXmlOnChange.xml`: Every element defined in this file will not be deployed if it already has a similar definition in target org (can be useful for SharingRules for example)\n\nSee [Overwrite management documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-overwrite/)\n\n### Deployment plan\n\nIf you need to deploy in multiple steps, you can define a property `deploymentPlan` in `.sfdx-hardis.yml`.\n\n- If a file `manifest/package.xml` is found, it will be placed with order 0 in the deployment plan\n\n- If a file `manifest/destructiveChanges.xml` is found, it will be executed as --postdestructivechanges\n\n- If env var `SFDX_HARDIS_DEPLOY_IGNORE_SPLIT_PACKAGES` is defined as `false` , split of package.xml will be applied\n\nExample:\n\n```yaml\ndeploymentPlan:\n packages:\n - label: Deploy Flow-Workflow\n packageXmlFile: manifest/splits/packageXmlFlowWorkflow.xml\n order: 6\n - label: Deploy SharingRules - Case\n packageXmlFile: manifest/splits/packageXmlSharingRulesCase.xml\n order: 30\n waitAfter: 30\n```\n\n### Packages installation\n\nYou can define a list of package to install during deployments using property `installedPackages`\n\n- If `INSTALL_PACKAGES_DURING_CHECK_DEPLOY` is defined as `true` (or `installPackagesDuringCheckDeploy: true` in `.sfdx-hardis.yml`), packages will be installed even if the command is called with `--check` mode\n- You can automatically update this property by listing all packages installed on an org using command `sfdx hardis:org:retrieve:packageconfig`\n\nExample:\n\n```yaml\ninstalledPackages:\n - Id: 0A35r0000009EtECAU\n SubscriberPackageId: 033i0000000LVMYAA4\n SubscriberPackageName: Marketing Cloud\n SubscriberPackageNamespace: et4ae5\n SubscriberPackageVersionId: 04t6S000000l11iQAA\n SubscriberPackageVersionName: Marketing Cloud\n SubscriberPackageVersionNumber: 236.0.0.2\n installOnScratchOrgs: true // true or false depending you want to install this package when creating a new scratch org\n installDuringDeployments: true // set as true to install package during a deployment using sfdx hardis:project:deploy:sources:dx\n installationkey: xxxxxxxxxxxxxxxxxxxx // if the package has a password, write it in this property\n - Id: 0A35r0000009F9CCAU\n SubscriberPackageId: 033b0000000Pf2AAAS\n SubscriberPackageName: Declarative Lookup Rollup Summaries Tool\n SubscriberPackageNamespace: dlrs\n SubscriberPackageVersionId: 04t5p000001BmLvAAK\n SubscriberPackageVersionName: Release\n SubscriberPackageVersionNumber: 2.15.0.9\n installOnScratchOrgs: true\n installDuringDeployments: true\n```\n\n### Automated fixes post deployments\n\n#### List view with scope Mine\n\nIf you defined a property **listViewsToSetToMine** in your .sfdx-hardis.yml, related ListViews will be set to Mine ( see command <https://sfdx-hardis.cloudity.com/hardis/org/fix/listviewmine/> )\n\nExample:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to fix ListViews with mine from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n\nIf you need to increase the deployment waiting time (force:source:deploy --wait arg), you can define env var SFDX_DEPLOY_WAIT_MINUTES\n ","usage":"<%= command.id %> [-c] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:deploy:sources:dx","$ sfdx hardis:project:deploy:sources:dx --check"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"check":{"name":"check","type":"boolean","char":"c","description":"Only checks the deployment, there is no impact on target org","allowNo":false},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"Level of tests to apply to validate deployment","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"RunLocalTests"},"packagexml":{"name":"packagexml","type":"option","char":"p","description":"Path to package.xml containing what you want to deploy in target org"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:deploy:sources:metadata":{"id":"hardis:project:deploy:sources:metadata","description":"Deploy metadatas to source org","usage":"<%= command.id %> [-c] [-x <string>] [-p <string>] [-f] [-k <string>] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:deploy:sources:metadata"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"check":{"name":"check","type":"boolean","char":"c","description":"Only checks the deployment, there is no impact on target org","allowNo":false},"deploydir":{"name":"deploydir","type":"option","char":"x","description":"Deploy directory","default":"."},"packagexml":{"name":"packagexml","type":"option","char":"p","description":"Path to package.xml file to deploy"},"filter":{"name":"filter","type":"boolean","char":"f","description":"Filter metadatas before deploying","allowNo":false},"destructivepackagexml":{"name":"destructivepackagexml","type":"option","char":"k","description":"Path to destructiveChanges.xml file to deploy"},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"Level of tests to apply to validate deployment","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"RunLocalTests"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]}}}
|
|
1
|
+
{"version":"4.2.3","commands":{"hardis:auth:login":{"id":"hardis:auth:login","description":"Login to salesforce org","usage":"<%= command.id %> [-r <string>] [-h] [-s] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:auth:login"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"URL of org instance"},"devhub":{"name":"devhub","type":"boolean","char":"h","description":"Also connect associated DevHub","allowNo":false},"scratchorg":{"name":"scratchorg","type":"boolean","char":"s","description":"Scratch org","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:cache:clear":{"id":"hardis:cache:clear","description":"Clear cache generated by sfdx-hardis","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:cache:clear"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:config:get":{"id":"hardis:config:get","description":"Returns sfdx-hardis project config for a given level","usage":"<%= command.id %> [-l <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:deploy:sources:metadata"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"level":{"name":"level","type":"option","char":"l","description":"project,branch or user","options":["project","branch","user"],"default":"project"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:lint:access":{"id":"hardis:lint:access","description":"Check if elements(apex class and field) are at least in one permission set","usage":"<%= command.id %> [-e <string>] [-i <string>] [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:lint:access","$ sfdx hardis:lint:access -e \"ApexClass:ClassA, CustomField:Account.CustomField\"","$ sfdx hardis:lint:access -i \"PermissionSet:permissionSetA, Profile\""],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"elementsignored":{"name":"elementsignored","type":"option","char":"e","description":"Ignore specific elements separated by commas","default":""},"ignorerights":{"name":"ignorerights","type":"option","char":"i","description":"Ignore permission sets or profiles","default":""},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:mdapi:deploy":{"id":"hardis:mdapi:deploy","description":"sfdx-hardis wrapper for sfdx force:mdapi:deploy that displays tips to solve deployment errors.\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_mdapi.htm#cli_reference_force_mdapi_deploy)\n","usage":"<%= command.id %> [-d <directory>] [-w <minutes>] [-q <id> | -l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g | -c] [-f <filepath>] [-s] [--soapdeploy] [--purgeondelete] [--debug] [--websocket <string>] [-u <string>] [--apiversion <string>] [--verbose] [--concise] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"checkonly":{"name":"checkonly","type":"boolean","char":"c","description":"checkOnly","allowNo":false},"deploydir":{"name":"deploydir","type":"option","char":"d","description":"deployDir"},"wait":{"name":"wait","type":"option","char":"w","description":"wait","default":{"quantity":0,"unit":0}},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"testLevel","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"NoTestRun"},"runtests":{"name":"runtests","type":"option","char":"r","description":"runTests","default":[]},"ignoreerrors":{"name":"ignoreerrors","type":"boolean","char":"o","description":"ignoreErrors","allowNo":false},"ignorewarnings":{"name":"ignorewarnings","type":"boolean","char":"g","description":"ignoreWarnings","allowNo":false},"validateddeployrequestid":{"name":"validateddeployrequestid","type":"option","char":"q","description":"validatedDeployRequestId"},"verbose":{"name":"verbose","type":"boolean","description":"verbose","allowNo":false},"zipfile":{"name":"zipfile","type":"option","char":"f","description":"zipFile"},"singlepackage":{"name":"singlepackage","type":"boolean","char":"s","description":"singlePackage","allowNo":false},"soapdeploy":{"name":"soapdeploy","type":"boolean","description":"soapDeploy","allowNo":false},"purgeondelete":{"name":"purgeondelete","type":"boolean","description":"purgeOnDelete","allowNo":false},"concise":{"name":"concise","type":"boolean","description":"concise","allowNo":false},"debug":{"name":"debug","type":"boolean","description":"debug","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"websocket"}},"args":[]},"hardis:misc:toml2csv":{"id":"hardis:misc:toml2csv","description":"Split TOML file into distinct CSV files","usage":"<%= command.id %> -f <string> [-t <string>] [-l <array>] [-s] [-o <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:misc:toml2csv --tomlfile 'D:/clients/toto/V1_full.txt' ","$ sfdx hardis:misc:toml2csv --skiptransfo --tomlfile 'D:/clients/toto/V1_full.txt' ","$ sfdx hardis:misc:toml2csv --skiptransfo --tomlfile 'D:/clients/toto/V1_full.txt' --outputdir 'C:/tmp/rrrr'","$ NODE_OPTIONS=--max_old_space_size=9096 sfdx hardis:misc:toml2csv --skiptransfo --tomlfile './input/V1.txt' --outputdir './output' --filtersections 'COMPTES,SOUS'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"tomlfile":{"name":"tomlfile","type":"option","char":"f","description":"Input TOML file path","required":true},"transfoconfig":{"name":"transfoconfig","type":"option","char":"t","description":"Path to JSON config file for mapping and transformation"},"filtersections":{"name":"filtersections","type":"option","char":"l","description":"List of sections to process (if not set, all sections will be processed)","default":[]},"skiptransfo":{"name":"skiptransfo","type":"boolean","char":"s","description":"Do not apply transformation to input data","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"o","description":"Output directory"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:connect":{"id":"hardis:org:connect","description":"Connect to an org without setting it as default username, then proposes to open the org in web browser\n ","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:connect"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:create":{"id":"hardis:org:create","description":"Create and initialize sandbox org","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:select":{"id":"hardis:org:select","description":"Interactive org selection for user","usage":"<%= command.id %> [-h] [-s] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:select"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"devhub":{"name":"devhub","type":"boolean","char":"h","description":"Also connect associated DevHub","allowNo":false},"scratch":{"name":"scratch","type":"boolean","char":"s","description":"Select scratch org related to default DevHub","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:create":{"id":"hardis:package:create","description":"Create a new package","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:install":{"id":"hardis:package:install","description":"Install a package in an org using its id (starting with **04t**)\n\nAssisted menu to propose to update `installedPackages` property in `.sfdx-hardis.yml`\n","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [-k <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:install"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"package":{"name":"package","type":"option","char":"p","description":"Package Version Id to install (04t...)"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"installationkey":{"name":"installationkey","type":"option","char":"k","description":"installation key for key-protected package (default: null)","default":null},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:mergexml":{"id":"hardis:package:mergexml","description":"Select and merge package.xml files","usage":"<%= command.id %> [-f <string>] [-p <string>] [-x <string>] [-r <string>] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:mergexml","$ sfdx hardis:package:mergexml --folder packages --pattern /**/*.xml --result myMergedPackage.xml","$ sfdx hardis:package:mergexml --packagexmls \"config/mypackage1.xml,config/mypackage2.xml,config/mypackage3.xml\" --result myMergedPackage.xml"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"manifest"},"packagexmls":{"name":"packagexmls","type":"option","char":"p","description":"Comma separated list of package.xml files to merge. Will be prompted to user if not provided"},"pattern":{"name":"pattern","type":"option","char":"x","description":"Name criteria to list package.xml files","default":"/**/*package*.xml"},"result":{"name":"result","type":"option","char":"r","description":"Result package.xml file name"},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:create":{"id":"hardis:project:create","description":"Create a new SFDX Project","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:lint":{"id":"hardis:project:lint","description":"Apply syntactic analysis (linters) on the repository sources, using Mega-Linter","usage":"<%= command.id %> [-f] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:lint","$ sfdx hardis:project:lint --fix"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"fix":{"name":"fix","type":"boolean","char":"f","description":"Apply linters fixes","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:create":{"id":"hardis:scratch:create","description":"Create and initialize a scratch org or a source-tracked sandbox (config can be defined using `config/.sfdx-hardis.yml`):\n\n- **Install packages**\n - Use property `installedPackages`\n- **Push sources**\n- **Assign permission sets**\n - Use property `initPermissionSets`\n- **Run apex initialization scripts**\n - Use property `scratchOrgInitApexScripts`\n- **Load data**\n - Use property `dataPackages`\n ","usage":"<%= command.id %> [-n] [-d] [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"forcenew":{"name":"forcenew","type":"boolean","char":"n","description":"If an existing scratch org exists, do not reuse it but create a new one","allowNo":false},"pool":{"name":"pool","type":"boolean","char":"d","description":"Creates the scratch org for a scratch org pool","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:delete":{"id":"hardis:scratch:delete","description":"Assisted menu to delete scratch orgs associated to a DevHub","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:delete"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pull":{"id":"hardis:scratch:pull","description":"This commands pulls the updates you performed in your scratch or sandbox org, into your local files\n\nThen, you probably want to stage and commit the files containing the updates you want to keep, as explained in this video.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Ik6whtflmfY\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n- Calls sfdx force:source:pull under the hood\n- If there are errors, proposes to automatically add erroneous item in `.forceignore`, then pull again\n- If you want to always retrieve sources like CustomApplication that are not always detected as updates by force:source:pull , you can define property **autoRetrieveWhenPull** in .sfdx-hardis.yml\n\nExample:\n```yaml\nautoRetrieveWhenPull:\n - CustomApplication:MyCustomApplication\n - CustomApplication:MyOtherCustomApplication\n - CustomApplication:MyThirdCustomApp\n```\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pull"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:push":{"id":"hardis:scratch:push","description":"Push local files to scratch org\n\nCalls `sfdx force:source:push` under the hood\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:push"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:source:deploy":{"id":"hardis:source:deploy","description":"sfdx-hardis wrapper for sfdx force:source:deploy that displays tips to solve deployment errors.\n\nAdditional to the base command wrapper: If using **--checkonly**, add options **--checkcoverage** and **--coverageformatters json-summary** to check that org coverage is > 75% (or value defined in .sfdx-hardis.yml property **apexTestsMinCoverageOrgWide**)\n\nYou can also have deployment results as pull request comments, on:\n\n- Gitlab (see [Gitlab integration configuration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-gitlab/))\n- Azure DevOps (see [Azure integration configuration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/))\n\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\nNotes:\n\n- You can disable coloring of errors in red by defining env variable SFDX_HARDIS_DEPLOY_ERR_COLORS=false\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_deploy)\n","usage":"<%= command.id %> [--soapdeploy] [-w <minutes>] [--predestructivechanges <filepath> ] [--postdestructivechanges <filepath> ] [-f [-t | | [-q <id> | -x <filepath> | -m <array> | -p <array> | -c | -l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g]]] [--resultsdir <directory>] [--coverageformatters <array>] [--junit] [--checkcoverage] [--debug] [--websocket <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:source:deploy -x manifest/package.xml --wait 60 --ignorewarnings --testlevel RunLocalTests --postdestructivechanges ./manifest/destructiveChanges.xml --targetusername nicolas.vuillamy@cloudity.com.sfdxhardis --checkonly --checkcoverage --verbose --coverageformatters json-summary"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"checkonly":{"name":"checkonly","type":"boolean","char":"c","description":"checkonly","allowNo":false},"soapdeploy":{"name":"soapdeploy","type":"boolean","description":"soapDeploy","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait","default":{"quantity":60,"unit":0}},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"testlevel","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"NoTestRun"},"runtests":{"name":"runtests","type":"option","char":"r","description":"runTests","default":[]},"ignoreerrors":{"name":"ignoreerrors","type":"boolean","char":"o","description":"ignoreErrors","allowNo":false},"ignorewarnings":{"name":"ignorewarnings","type":"boolean","char":"g","description":"ignoreWarnings","allowNo":false},"validateddeployrequestid":{"name":"validateddeployrequestid","type":"option","char":"q","description":"validateDeployRequestId"},"verbose":{"name":"verbose","type":"boolean","description":"verbose","allowNo":false},"metadata":{"name":"metadata","type":"option","char":"m","description":"metadata"},"sourcepath":{"name":"sourcepath","type":"option","char":"p","description":"sourcePath"},"manifest":{"name":"manifest","type":"option","char":"x","description":"flagsLong.manifest"},"predestructivechanges":{"name":"predestructivechanges","type":"option","description":"predestructivechanges"},"postdestructivechanges":{"name":"postdestructivechanges","type":"option","description":"postdestructivechanges"},"tracksource":{"name":"tracksource","type":"boolean","char":"t","description":"tracksource","allowNo":false},"forceoverwrite":{"name":"forceoverwrite","type":"boolean","char":"f","description":"forceoverwrite","allowNo":false},"resultsdir":{"name":"resultsdir","type":"option","description":"resultsdir"},"coverageformatters":{"name":"coverageformatters","type":"option","description":"coverageformatters"},"junit":{"name":"junit","type":"boolean","description":"junit","allowNo":false},"checkcoverage":{"name":"checkcoverage","type":"boolean","description":"Check Apex org coverage","allowNo":false},"debug":{"name":"debug","type":"boolean","description":"debug","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"websocket"}},"args":[]},"hardis:source:push":{"id":"hardis:source:push","description":"sfdx-hardis wrapper for sfdx force:source:push that displays tips to solve deployment errors.\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_push)\n","usage":"<%= command.id %> [-f] [-w <minutes>] [-g] [--debug] [--websocket <string>] [-u <string>] [--apiversion <string>] [--quiet] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"forceoverwrite":{"name":"forceoverwrite","type":"boolean","char":"f","description":"forceoverwrite","allowNo":false},"wait":{"name":"wait","type":"option","char":"w","description":"wait","default":{"quantity":60,"unit":0}},"ignorewarnings":{"name":"ignorewarnings","type":"boolean","char":"g","description":"ignorewarnings","allowNo":false},"quiet":{"name":"quiet","type":"boolean","description":"quiet","allowNo":false},"debug":{"name":"debug","type":"boolean","description":"debug","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"websocket"}},"args":[]},"hardis:source:retrieve":{"id":"hardis:source:retrieve","description":"sfdx-hardis wrapper for sfdx force:source:retrieve\n\n- If no retrieve constraint is sent, as assisted menu will request the list of metadatas to retrieve\n- If no org is selected , an assisted menu will request the user to choose one\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_retrieve)\n","usage":"<%= command.id %> [-p <array> | -x <filepath> | -m <array>] [-w <minutes>] [-n <array>] [-f -t] [-d] [--websocket <string>] [--skipauth] [-u <string>] [-a <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":[],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","char":"a","description":"override the api version used for api requests made by this command"},"sourcepath":{"name":"sourcepath","type":"option","char":"p","description":"sourcePath"},"wait":{"name":"wait","type":"option","char":"w","description":"wait"},"manifest":{"name":"manifest","type":"option","char":"x","description":"manifest"},"metadata":{"name":"metadata","type":"option","char":"m","description":"metadata"},"packagenames":{"name":"packagenames","type":"option","char":"n","description":"packagenames"},"tracksource":{"name":"tracksource","type":"boolean","char":"t","description":"tracksource","allowNo":false},"forceoverwrite":{"name":"forceoverwrite","type":"boolean","char":"f","description":"forceoverwrite","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"verbose","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"debugMode","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"websocket"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:new":{"id":"hardis:work:new","description":"Assisted menu to start working on a Salesforce task.\n\nAt the end of the command, it will allow you to work on either a scratch org or a sandbox, depending on your choices.\n\nUnder the hood, it can:\n\n- Make **git pull** to be up to date with target branch\n- Create **new git branch** with formatted name (you can override the choices using .sfdx-hardis.yml property **branchPrefixChoices**)\n- Create and initialize a scratch org or a source-tracked sandbox (config can be defined using `config/.sfdx-hardis.yml`):\n- (and for scratch org only for now):\n - **Install packages**\n - Use property `installedPackages`\n - **Push sources**\n - **Assign permission sets**\n - Use property `initPermissionSets`\n - **Run apex initialization scripts**\n - Use property `scratchOrgInitApexScripts`\n - **Load data**\n - Use property `dataPackages`\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:task:new"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:refresh":{"id":"hardis:work:refresh","description":"Make my local branch and my scratch org up to date with the most recent sources","usage":"<%= command.id %> [-n] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:refresh"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"nopull":{"name":"nopull","type":"boolean","char":"n","description":"No scratch pull before save (careful if you use that!)","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:resetselection":{"id":"hardis:work:resetselection","description":"Resets the selection that we want to add in the merge request\n\nCalls a soft git reset behind the hood \n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:resetsave"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:save":{"id":"hardis:work:save","description":"When a work task is completed, guide user to create a merge request\n\n- Generate package-xml diff using sfdx-git-delta\n- Automatically update `manifest/package.xml` and `manifest/destructiveChanges.xml` according to the committed updates\n- Automatically Clean XML files using `.sfdx-hardis.yml` properties\n - `autocleantypes`: List of auto-performed sources cleanings, available on command [hardis:project:clean:references](https://sfdx-hardis.cloudity.com/hardis/project/clean/references/)\n - `autoRemoveUserPermissions`: List of userPermission to automatically remove from profile metadatas\n\nExample:\n\n```yaml\nautoCleanTypes:\n - destructivechanges\n - datadotcom\n - minimizeProfiles\n - listViewsMine\nautoRemoveUserPermissions:\n - EnableCommunityAppLauncher\n - FieldServiceAccess\n - OmnichannelInventorySync\n - SendExternalEmailAvailable\n - UseOmnichannelInventoryAPIs\n - ViewDataLeakageEvents\n - ViewMLModels\n - ViewPlatformEvents\n - WorkCalibrationUser\n```\n\n- Push commit to server\n ","usage":"<%= command.id %> [-n] [-g] [-c] [--auto] [--targetbranch <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:task:save","$ sfdx hardis:work:task:save --nopull --nogit --noclean"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"nopull":{"name":"nopull","type":"boolean","char":"n","description":"No scratch pull before save","allowNo":false},"nogit":{"name":"nogit","type":"boolean","char":"g","description":"No automated git operations","allowNo":false},"noclean":{"name":"noclean","type":"boolean","char":"c","description":"No cleaning of local sources","allowNo":false},"auto":{"name":"auto","type":"boolean","description":"No user prompts (when called from CI for example)","allowNo":false},"targetbranch":{"name":"targetbranch","type":"option","description":"Name of the Merge Request target branch. Will be guessed or prompted if not provided."},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:work:ws":{"id":"hardis:work:ws","description":"Technical calls to WebSocket functions","usage":"<%= command.id %> [-e <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:work:ws --event refreshStatus"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"event":{"name":"event","type":"option","char":"e","description":"WebSocket event"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:doc:extract:permsetgroups":{"id":"hardis:doc:extract:permsetgroups","description":"Generate markdown files with project documentation","usage":"<%= command.id %> [-o <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:doc:extract:permsetgroups"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"outputfile":{"name":"outputfile","type":"option","char":"o","description":"Force the path and name of output report file. Must end with .csv"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:doc:plugin:generate":{"id":"hardis:doc:plugin:generate","description":"Generate Markdown documentation ready for HTML conversion with mkdocs\n\nAfter the first run, you need to update manually:\n\n- mkdocs.yml\n- .github/workflows/build-deploy-docs.yml\n- docs/javascripts/gtag.js , if you want Google Analytics tracking\n\nThen, activate Github pages, with \"gh_pages\" as target branch\n\nAt each merge into master/main branch, the GitHub Action build-deploy-docs will rebuild documentation and publish it in GitHub pages\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:doc:plugin:generate"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:configure:data":{"id":"hardis:org:configure:data","description":"Configure Data Export/Import with a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:configure:data"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:configure:files":{"id":"hardis:org:configure:files","description":"Configure export of file attachments from a Salesforce org\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:configure:files"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:configure:monitoring":{"id":"hardis:org:configure:monitoring","description":"Configure monitoring of an org","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:configure:monitoring"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:data:delete":{"id":"hardis:org:data:delete","description":"Delete data in org using sfdmu","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:data:delete"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"path":{"name":"path","type":"option","char":"p","description":"Path to the sfdmu workspace folder"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:data:export":{"id":"hardis:org:data:export","description":"Export data from an org using a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:data:export"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"path":{"name":"path","type":"option","char":"p","description":"Path to the sfdmu workspace folder"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:data:import":{"id":"hardis:org:data:import","description":"Import/Load data in an org using a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:data:import"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"path":{"name":"path","type":"option","char":"p","description":"Path to the sfdmu workspace folder"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:diagnose:legacyapi":{"id":"hardis:org:diagnose:legacyapi","description":"Checks if an org uses retired or someday retired API version\n\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238)\n\n","usage":"<%= command.id %> [-e <string>] [-l <number>] [-o <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:diagnose:legacyapi","$ sfdx hardis:org:diagnose:legacyapi -u hardis@myclient.com","$ sfdx hardis:org:diagnose:legacyapi --outputfile 'c:/path/to/folder/legacyapi.csv'","$ sfdx hardis:org:diagnose:legacyapi -u hardis@myclient.com --outputfile ./tmp/legacyapi.csv"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"eventtype":{"name":"eventtype","type":"option","char":"e","description":"Type of EventLogFile event to analyze","default":"ApiTotalUsage"},"limit":{"name":"limit","type":"option","char":"l","description":"Number of latest EventLogFile events to analyze","default":999},"outputfile":{"name":"outputfile","type":"option","char":"o","description":"Force the path and name of output report file. Must end with .csv"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:files:export":{"id":"hardis:org:files:export","description":"Export file attachments from a Salesforce org\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n","usage":"<%= command.id %> [-p <string>] [-c <number>] [-t <number>] [-s <number>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:files:export"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"path":{"name":"path","type":"option","char":"p","description":"Path to the file export project"},"chunksize":{"name":"chunksize","type":"option","char":"c","description":"Number of records to add in a chunk before it is processed","default":1000},"polltimeout":{"name":"polltimeout","type":"option","char":"t","description":"Timeout in MS for Bulk API calls","default":300000},"startchunknumber":{"name":"startchunknumber","type":"option","char":"s","description":"Chunk number to start from","default":0},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:fix:listviewmine":{"id":"hardis:org:fix:listviewmine","description":"Fix listviews whose scope Mine has been replaced by Everything\n\n[](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n","usage":"<%= command.id %> [-l <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:fix:listviewmine","$ sfdx hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"listviews":{"name":"listviews","type":"option","char":"l","description":"Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:generate:packagexmlfull":{"id":"hardis:org:generate:packagexmlfull","description":"Generates full org package.xml, including managed items","usage":"<%= command.id %> [--outputfile <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:generate:packagexmlfull","$ sfdx hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml","$ sfdx hardis:org:generate:packagexmlfull --targetusername nico@example.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"outputfile":{"name":"outputfile","type":"option","description":"Output package.xml file"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:purge:apexlog":{"id":"hardis:org:purge:apexlog","description":"Purge apex logs in selected org","usage":"<%= command.id %> [-z] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:purge:apexlog","$ sfdx hardis:org:purge:apexlog --targetusername nicolas.vuillamy@gmail.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"prompt":{"name":"prompt","type":"boolean","char":"z","description":"Prompt for confirmation (true by default, use --no-prompt to skip)","allowNo":true},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:purge:flow":{"id":"hardis:org:purge:flow","description":"Purge Obsolete flow versions to avoid the 50 max versions limit. Filters on Status and Name","usage":"<%= command.id %> [-z] [-n <string>] [-s <string>] [-f] [-r <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:purge:flow --targetusername nicolas.vuillamy@gmail.com\n Found 1 records:\n ID MASTERLABEL VERSIONNUMBER DESCRIPTION STATUS\n 30109000000kX7uAAE TestFlow 2 test flowwww Obsolete\n Are you sure you want to delete this list of records (y/n)?: y\n Successfully deleted record: 30109000000kX7uAAE.\n Deleted the following list of records:\n ID MASTERLABEL VERSIONNUMBER DESCRIPTION STATUS\n 30109000000kX7uAAE TestFlow 2 test flowwww Obsolete\n ","$ sfdx hardis:org:purge:flow --targetusername nicolas.vuillamy@gmail.com --status \"Obsolete,Draft,InvalidDraft --name TestFlow\"\n Found 4 records:\n ID MASTERLABEL VERSIONNUMBER DESCRIPTION STATUS\n 30109000000kX7uAAE TestFlow 2 test flowwww Obsolete\n 30109000000kX8EAAU TestFlow 6 test flowwww InvalidDraft\n 30109000000kX8AAAU TestFlow 5 test flowwww InvalidDraft\n 30109000000kX89AAE TestFlow 4 test flowwww Draft\n Are you sure you want to delete this list of records (y/n)?: n\n No record deleted\n "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"prompt":{"name":"prompt","type":"boolean","char":"z","description":"Prompt for confirmation (true by default, use --no-prompt to skip)","allowNo":true},"name":{"name":"name","type":"option","char":"n","description":"Filter according to Name criteria"},"status":{"name":"status","type":"option","char":"s","description":"Filter according to Status criteria"},"allowpurgefailure":{"name":"allowpurgefailure","type":"boolean","char":"f","description":"Allows purges to fail without exiting with 1. Use --no-allowpurgefailure to disable","allowNo":true},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"URL of org instance","default":"https://login.salesforce.com"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:packageconfig":{"id":"hardis:org:retrieve:packageconfig","description":"Retrieve package configuration from an org","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:packageconfig","sfdx hardis:org:retrieve:packageconfig -u myOrg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:test:apex":{"id":"hardis:org:test:apex","description":"Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 60 minutes\n","usage":"<%= command.id %> [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:test:apex"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"Level of tests to apply to validate deployment","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"RunLocalTests"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:user:activateinvalid":{"id":"hardis:org:user:activateinvalid","description":"Update sandbox users so their email is valid\n\n Example: replaces `toto@company.com.dev.invalid` with `toto@company.com.dev.invalid`\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d)\n","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:user:activateinvalid","$ sfdx hardis:org:user:activateinvalid --targetusername myuser@myorg.com","$ sfdx hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --targetusername myuser@myorg.com"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"profiles":{"name":"profiles","type":"option","char":"p","description":"Comma-separated list of profiles names that you want to reactive users assigned to and with a .invalid email"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:user:freeze":{"id":"hardis:org:user:freeze","description":"Mass freeze users in org before a maintenance or go live\n\nSee user guide in the following article\n\n<https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3>\n\n[](https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3)","usage":"<%= command.id %> [-n <string>] [-p <string>] [-e <string>] [-m <number>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:user:freeze","$ sfdx hardis:org:user:freeze --targetusername myuser@myorg.com","$ sfdx hardis:org:user:freeze --includeprofiles 'Standard'","$ sfdx hardis:org:user:freeze --excludeprofiles 'System Administrator,Some Other Profile'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"Filter according to Name criteria"},"includeprofiles":{"name":"includeprofiles","type":"option","char":"p","description":"List of profiles that you want to freeze, separated by commas"},"excludeprofiles":{"name":"excludeprofiles","type":"option","char":"e","description":"List of profiles that you want to NOT freeze, separated by commas"},"maxuserdisplay":{"name":"maxuserdisplay","type":"option","char":"m","description":"Maximum users to display in logs","default":100},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:user:unfreeze":{"id":"hardis:org:user:unfreeze","description":"Mass unfreeze users in org after a maintenance or go live\n\nSee user guide in the following article\n\n<https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3>\n\n[](https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3)","usage":"<%= command.id %> [-n <string>] [-p <string>] [-e <string>] [-m <number>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:user:unfreeze","$ sfdx hardis:org:user:unfreeze --targetusername myuser@myorg.com","$ sfdx hardis:org:user:unfreeze --includeprofiles 'Standard'","$ sfdx hardis:org:user:unfreeze --excludeprofiles 'System Administrator,Some Other Profile'"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"name":{"name":"name","type":"option","char":"n","description":"Filter according to Name criteria"},"includeprofiles":{"name":"includeprofiles","type":"option","char":"p","description":"List of profiles that you want to unfreeze, separated by commas"},"excludeprofiles":{"name":"excludeprofiles","type":"option","char":"e","description":"List of profiles that you want to NOT unfreeze, separated by commas"},"maxuserdisplay":{"name":"maxuserdisplay","type":"option","char":"m","description":"Maximum users to display in logs","default":100},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:version:create":{"id":"hardis:package:version:create","description":"Create a new version of an unlocked package","usage":"<%= command.id %> [-d] [-p <string>] [-k <string>] [--deleteafter] [-i] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:version:create"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"package":{"name":"package","type":"option","char":"p","description":"Package identifier that you want to use to generate a new package version","default":null},"installkey":{"name":"installkey","type":"option","char":"k","description":"Package installation key","default":null},"deleteafter":{"name":"deleteafter","type":"boolean","description":"Delete package version after creating it","allowNo":false},"install":{"name":"install","type":"boolean","char":"i","description":"Install package version on default org after generation","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:version:list":{"id":"hardis:package:version:list","description":"List versions of unlocked package","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:version:list"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:package:version:promote":{"id":"hardis:package:version:promote","description":"Promote package(s) version(s): convert it from beta to released","usage":"<%= command.id %> [-d] [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:package:version:promote","$ sfdx hardis:package:version:promote --auto"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"auto":{"name":"auto","type":"boolean","char":"d","description":"Auto-detect which versions of which packages need to be promoted","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:audit:apiversion":{"id":"hardis:project:audit:apiversion","description":"Audit API version","usage":"<%= command.id %> [-m <number>] [-f] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:audit:apiversion"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"minimumapiversion":{"name":"minimumapiversion","type":"option","char":"m","description":"Minimum allowed API version","default":20},"failiferror":{"name":"failiferror","type":"boolean","char":"f","description":"Fails (exit code 1) if an error is found","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:audit:callincallout":{"id":"hardis:project:audit:callincallout","description":"Generate list of callIn and callouts from sfdx project","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:audit:callouts"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:audit:duplicatefiles":{"id":"hardis:project:audit:duplicatefiles","description":"Find duplicate files in sfdx folder (often from past @salesforce/cli bugs)","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:audit:duplicatefiles"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"path":{"name":"path","type":"option","char":"p","description":"Root path to check","default":"/home/runner/work/sfdx-hardis/sfdx-hardis"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:audit:remotesites":{"id":"hardis:project:audit:remotesites","description":"Generate list of remote sites","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:audit:remotesites"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:emptyitems":{"id":"hardis:project:clean:emptyitems","description":"Remove unwanted empty items within sfdx project sources","usage":"<%= command.id %> [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:emptyitems"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:hiddenitems":{"id":"hardis:project:clean:hiddenitems","description":"Remove unwanted hidden items within sfdx project sources","usage":"<%= command.id %> [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:hiddenitems"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:listviews":{"id":"hardis:project:clean:listviews","description":"Replace Mine by Everything in ListView, and log the replacements in sfdx-hardis.yml","usage":"<%= command.id %> [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:listviews"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:manageditems":{"id":"hardis:project:clean:manageditems","description":"Remove unwanted managed items within sfdx project sources","usage":"<%= command.id %> [-n <string>] [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:manageditems --namespace crta"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"namespace":{"name":"namespace","type":"option","char":"n","description":"Namespace to remove","default":""},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:minimizeprofiles":{"id":"hardis:project:clean:minimizeprofiles","description":"Remove all profile attributes that exist on Permission Sets\n\nIt is a bad practice to define on Profiles elements that can be defined on Permission Sets.\n\nSalesforce will deprecate such capability in Spring 26.\n\nDon't wait for that, and use minimizeProfiles cleaning to automatically remove from Profiles any permission that exists on a Permission Set !\n\nThe following XML tags are removed automatically:\n\n- classAccesses\n- customMetadataTypeAccesses\n- externalDataSourceAccesses\n- fieldPermissions\n- objectPermissions\n- pageAccesses\n- userPermissions (except on Admin Profile)\n\nYou can override this list by defining a property minimizeProfilesNodesToRemove in your .sfdx-hardis.yml config file.\n ","usage":"<%= command.id %> [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:minimizeprofiles"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:orgmissingitems":{"id":"hardis:project:clean:orgmissingitems","description":"Clean SFDX sources from items present neither in target org nor local package.xml","usage":"<%= command.id %> [-f <string>] [-p <string>] [-t <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:orgmissingitems"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"packagexmlfull":{"name":"packagexmlfull","type":"option","char":"p","description":"Path to packagexml used for cleaning.\nMust contain also standard CustomObject and CustomField elements.\nIf not provided, it will be generated from a remote org"},"packagexmltargetorg":{"name":"packagexmltargetorg","type":"option","char":"t","description":"Target org username or alias to build package.xml (sfdx must be authenticated).\nIf not provided, will be prompted to the user."},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:references":{"id":"hardis:project:clean:references","description":"Remove unwanted references within sfdx project sources","usage":"<%= command.id %> [-t <string>] [-c <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"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"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"type":{"name":"type","type":"option","char":"t","description":"Cleaning type","options":["all","caseentitlement","dashboards","datadotcom","destructivechanges","localfields","productrequest","entitlement"]},"config":{"name":"config","type":"option","char":"c","description":"Path to a JSON config file or a destructiveChanges.xml file"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:retrievefolders":{"id":"hardis:project:clean:retrievefolders","description":"Retrieve dashboards, documents and report folders in DX sources. Use -u ORGALIAS","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:retrievefolders"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:standarditems":{"id":"hardis:project:clean:standarditems","description":"Remove unwanted standard items within sfdx project sources","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:standarditems"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:clean:systemdebug":{"id":"hardis:project:clean:systemdebug","description":"Clean System.debug() lines in APEX Code (classes and triggers)","usage":"<%= command.id %> [-f <string>] [--websocket <string>] [--skipauth] [-d] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:systemdebug"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false},"delete":{"name":"delete","type":"boolean","char":"d","description":"Delete lines with System.debug","allowNo":false}},"args":[]},"hardis:project:clean:xml":{"id":"hardis:project:clean:xml","description":"Remove XML elements using Glob patterns and XPath expressions\n \nThis can be very useful to avoid to always remove manually the same elements in the same XML file.\n\n- **globpattern** can be any glob pattern allowing to identify the XML files to update, for example `/**/*.flexipage-meta.xml`\n\n- **xpath** can be any xpath following the format `//ns:PARENT-TAG-NAME//ns:TAG-NAME[contains(text(),'TAG-VALUE')]`. If an element is found, the whole **PARENT-TAG-NAME** (with its subtree) will be removed.\n\n\n\nNote: If globpattern and xpath are not sent, elements defined in property **cleanXmlPatterns** in **.sfdx-hardis.yml** config file will be used\n \n ","usage":"<%= command.id %> [-f <string>] [-p <string> -x <string>] [-n <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:clean:xml","$ sfdx hardis:project:clean:xml --globpattern \"/**/*.flexipage-meta.xml\" --xpath \"//ns:flexiPageRegions//ns:name[contains(text(),'dashboardName')]\""],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"folder":{"name":"folder","type":"option","char":"f","description":"Root folder","default":"force-app"},"globpattern":{"name":"globpattern","type":"option","char":"p","description":"Glob pattern to find files to clean. Ex: /**/*.flexipage-meta.xml"},"xpath":{"name":"xpath","type":"option","char":"x","description":"XPath to use to detect the elements to remove. Ex: //ns:flexiPageRegions//ns:name[contains(text(),'dashboardName')]"},"namespace":{"name":"namespace","type":"option","char":"n","description":"XML Namespace to use","default":"http://soap.sforce.com/2006/04/metadata"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:configure:auth":{"id":"hardis:project:configure:auth","description":"Configure authentication from git branch to target org","usage":"<%= command.id %> [-b] [-d] [--websocket <string>] [--skipauth] [-v <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:configure:auth"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"devhub":{"name":"devhub","type":"boolean","char":"b","description":"Configure project DevHub","allowNo":false},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:convert:profilestopermsets":{"id":"hardis:project:convert:profilestopermsets","description":"Creates permission sets from existing profiles, with id PS_PROFILENAME","usage":"<%= command.id %> [-e <array>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:convert:profilestopermsets"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"except":{"name":"except","type":"option","char":"e","description":"List of filters","default":[]},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:fix:v53flexipages":{"id":"hardis:project:fix:v53flexipages","description":"Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json","usage":"<%= command.id %> [-p <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:fix:v53flexipages"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"path":{"name":"path","type":"option","char":"p","description":"Root folder","default":"/home/runner/work/sfdx-hardis/sfdx-hardis"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:generate:gitdelta":{"id":"hardis:project:generate:gitdelta","description":"Generate package.xml git delta between 2 commits","usage":"<%= command.id %> [--branch <string>] [--fromcommit <string>] [--tocommit <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:generate:gitdelta"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"branch":{"name":"branch","type":"option","description":"Git branch to use to generate delta"},"fromcommit":{"name":"fromcommit","type":"option","description":"Hash of commit to start from"},"tocommit":{"name":"tocommit","type":"option","description":"Hash of commit to stop at"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:metadata:findduplicates":{"id":"hardis:project:metadata:findduplicates","description":"find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n","usage":"<%= command.id %> [-f <array>] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n","\n$ sfdx hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n","\n$ sfdx hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"files":{"name":"files","type":"option","char":"f","description":"XML metadata files path"},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:create":{"id":"hardis:scratch:pool:create","description":"Select a data storage service and configure information to build a scratch org pool\n\n Run the command, follow instruction, then you need to schedule a daily CI job for the pool maintenance:\n\n - Define CI ENV variable SCRATCH_ORG_POOL with value \"true\"\n\n - Call the following lines in the CI job:\n\n```shell\n sfdx hardis:auth:login --devhub\n sfdx hardis:scratch:pool:refresh\n```\n ","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:configure"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:localauth":{"id":"hardis:scratch:pool:localauth","description":"Calls the related storage service to request api keys and secrets that allows a local user to fetch a scratch org from scratch org pool","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:localauth"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:refresh":{"id":"hardis:scratch:pool:refresh","description":"Create enough scratch orgs to fill the pool","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:refresh"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:reset":{"id":"hardis:scratch:pool:reset","description":"Reset scratch org pool (delete all scratches in the pool)","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:refresh"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:scratch:pool:view":{"id":"hardis:scratch:pool:view","description":"Displays all stored content of project scratch org pool if defined","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:scratch:pool:view"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetdevhubusername":{"name":"targetdevhubusername","type":"option","char":"v","description":"username or alias for the dev hub org; overrides default dev hub org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:analytics":{"id":"hardis:org:retrieve:sources:analytics","description":"Retrieve all CRM Analytics sources from an org, with workarounds for SFDX bugs","usage":"<%= command.id %> [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:analytics"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:dx":{"id":"hardis:org:retrieve:sources:dx","description":"Retrieve Salesforce DX project from org","usage":"<%= command.id %> [-f <string>] [-t <string>] [-k <string>] [-m <string>] [-o] [-r <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:dx"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folder":{"name":"folder","type":"option","char":"f","description":"Folder","default":"."},"tempfolder":{"name":"tempfolder","type":"option","char":"t","description":"Temporary folder","default":"./tmp"},"keepmetadatatypes":{"name":"keepmetadatatypes","type":"option","char":"k","description":"Comma separated list of metadatas types that will be the only ones to be retrieved"},"filteredmetadatas":{"name":"filteredmetadatas","type":"option","char":"m","description":"Comma separated list of Metadatas keys to remove from PackageXml file"},"shape":{"name":"shape","type":"boolean","char":"o","description":"Updates project-scratch-def.json from org shape","allowNo":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"URL of org instance"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:dx2":{"id":"hardis:org:retrieve:sources:dx2","description":"Retrieve Salesforce DX project from org","usage":"<%= command.id %> [-x <string>] [-t <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:dx2"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"packagexml":{"name":"packagexml","type":"option","char":"x","description":"Path to package.xml file"},"template":{"name":"template","type":"option","char":"t","description":"sfdx-hardis package.xml Template name. ex: wave"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:metadata":{"id":"hardis:org:retrieve:sources:metadata","description":"Retrieve Salesforce DX project from org","usage":"<%= command.id %> [-f <string>] [-p <string>] [--includemanaged] [-r <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:metadata","$ SFDX_RETRIEVE_WAIT_MINUTES=200 sfdx hardis:org:retrieve:sources:metadata"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"folder":{"name":"folder","type":"option","char":"f","description":"Folder","default":"."},"packagexml":{"name":"packagexml","type":"option","char":"p","description":"Path to package.xml manifest file"},"includemanaged":{"name":"includemanaged","type":"boolean","description":"Include items from managed packages","allowNo":false},"instanceurl":{"name":"instanceurl","type":"option","char":"r","description":"URL of org instance"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:org:retrieve:sources:retrofit":{"id":"hardis:org:retrieve:sources:retrofit","description":"Retrieve changes from org link to a ref branch not present in sources\n\n This command need to be triggered from a branch that is connected to a SF org. It will then retrieve all changes not present in that branch sources, commit them and create a merge request against the default branch. If a merge request already exists, it will simply add a new commit.\n\n Define the following properties in **.sfdx-hardis.yml**\n\n - **productionBranch** : Name of the git branch that is corresponding to production org\n - **retrofitBranch** : Name of the git branch that will be used as merge request target\n\n List of metadata to retrieve can be set in three way, in order of priority :\n\n - `CI_SOURCES_TO_RETROFIT`: env variable (can be defined in CI context)\n - `sourcesToRetrofit` property in `.sfdx-hardis.yml`\n - Default list:\n\n - CompactLayout\n - CustomApplication\n - CustomField\n - CustomLabel\n - CustomLabels\n - CustomMetadata\n - CustomObject\n - CustomObjectTranslation\n - CustomTab\n - DuplicateRule\n - EmailTemplate\n - FlexiPage\n - GlobalValueSet\n - Layout\n - ListView\n - MatchingRules\n - PermissionSet\n - RecordType\n - StandardValueSet\n - Translations\n - ValidationRule\n\n You can also ignore some files even if they have been updated in production. To do that, define property **retrofitIgnoredFiles** in .sfdx-hardis.yml\n\n Example of full retrofit configuration:\n\n ```yaml\n productionBranch: master\n retrofitBranch: preprod\n retrofitIgnoredFiles:\n - force-app/main/default/applications/MyApp.app-meta.xml\n - force-app/main/default/applications/MyOtherApp.app-meta.xml\n - force-app/main/default/flexipages/MyFlexipageContainingDashboards.flexipage-meta.xml\n ```\n ","usage":"<%= command.id %> [--commit] [--commitmode updated|all] [--push] [--pushmode default|mergerequest] [--productionbranch <string>] [--retrofittargetbranch <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:org:retrieve:sources:retrofit","sfdx hardis:org:retrieve:sources:retrofit --productionbranch master --commit --commitmode updated","sfdx hardis:org:retrieve:sources:retrofit --productionbranch master --retrofitbranch preprod --commit --commitmode updated --push --pushmode mergerequest"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"commit":{"name":"commit","type":"boolean","description":"If true, a commit will be performed after the retrofit","allowNo":false},"commitmode":{"name":"commitmode","type":"option","description":"Defines if we commit all retrieved updates, or all updates including creations","helpValue":"(updated|all)","options":["updated","all"],"default":"updated"},"push":{"name":"push","type":"boolean","description":"If true, a push will be performed after the retrofit","allowNo":false},"pushmode":{"name":"pushmode","type":"option","description":"Defines if we send merge request options to git push arguments","helpValue":"(default|mergerequest)","options":["default","mergerequest"],"default":"default"},"productionbranch":{"name":"productionbranch","type":"option","description":"Name of the git branch corresponding to the org we want to perform the retrofit on.\nCan be defined in productionBranch property in .sfdx-hardis.yml"},"retrofittargetbranch":{"name":"retrofittargetbranch","type":"option","description":"Name of branch the merge request will have as target\nCan be defined in retrofitBranch property in .sfdx-hardis.yml"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:deploy:sources:dx":{"id":"hardis:project:deploy:sources:dx","description":"Deploy SFDX source to org, following deploymentPlan in .sfdx-hardis.yml\n\nIn case of errors, [tips to fix them](https://sfdx-hardis.cloudity.com/deployTips/) will be included within the error messages.\n\n### Quick Deploy\n\nIn case Pull Request comments are configured on the project, Quick Deploy will try to be used (equivalent to button Quick Deploy)\n\nIf you do not want to use QuickDeploy, define variable `SFDX_HARDIS_QUICK_DEPLOY=false`\n\n- [Gitlab merge requests notes config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-gitlab/)\n- [Azure PR comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/)\n\n### Dynamic deployment items / Overwrite management\n\nIf necessary,you can define the following files (that supports wildcards <members>*</members>):\n\n- `manifest/packageDeployOnce.xml`: Every element defined in this file will be deployed only if it is not existing yet in the target org (can be useful with ListView for example, if the client wants to update them directly in production org)\n- `manifest/packageXmlOnChange.xml`: Every element defined in this file will not be deployed if it already has a similar definition in target org (can be useful for SharingRules for example)\n\nSee [Overwrite management documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-overwrite/)\n\n### Deployment plan\n\nIf you need to deploy in multiple steps, you can define a property `deploymentPlan` in `.sfdx-hardis.yml`.\n\n- If a file `manifest/package.xml` is found, it will be placed with order 0 in the deployment plan\n\n- If a file `manifest/destructiveChanges.xml` is found, it will be executed as --postdestructivechanges\n\n- If env var `SFDX_HARDIS_DEPLOY_IGNORE_SPLIT_PACKAGES` is defined as `false` , split of package.xml will be applied\n\nExample:\n\n```yaml\ndeploymentPlan:\n packages:\n - label: Deploy Flow-Workflow\n packageXmlFile: manifest/splits/packageXmlFlowWorkflow.xml\n order: 6\n - label: Deploy SharingRules - Case\n packageXmlFile: manifest/splits/packageXmlSharingRulesCase.xml\n order: 30\n waitAfter: 30\n```\n\n### Packages installation\n\nYou can define a list of package to install during deployments using property `installedPackages`\n\n- If `INSTALL_PACKAGES_DURING_CHECK_DEPLOY` is defined as `true` (or `installPackagesDuringCheckDeploy: true` in `.sfdx-hardis.yml`), packages will be installed even if the command is called with `--check` mode\n- You can automatically update this property by listing all packages installed on an org using command `sfdx hardis:org:retrieve:packageconfig`\n\nExample:\n\n```yaml\ninstalledPackages:\n - Id: 0A35r0000009EtECAU\n SubscriberPackageId: 033i0000000LVMYAA4\n SubscriberPackageName: Marketing Cloud\n SubscriberPackageNamespace: et4ae5\n SubscriberPackageVersionId: 04t6S000000l11iQAA\n SubscriberPackageVersionName: Marketing Cloud\n SubscriberPackageVersionNumber: 236.0.0.2\n installOnScratchOrgs: true // true or false depending you want to install this package when creating a new scratch org\n installDuringDeployments: true // set as true to install package during a deployment using sfdx hardis:project:deploy:sources:dx\n installationkey: xxxxxxxxxxxxxxxxxxxx // if the package has a password, write it in this property\n - Id: 0A35r0000009F9CCAU\n SubscriberPackageId: 033b0000000Pf2AAAS\n SubscriberPackageName: Declarative Lookup Rollup Summaries Tool\n SubscriberPackageNamespace: dlrs\n SubscriberPackageVersionId: 04t5p000001BmLvAAK\n SubscriberPackageVersionName: Release\n SubscriberPackageVersionNumber: 2.15.0.9\n installOnScratchOrgs: true\n installDuringDeployments: true\n```\n\n### Automated fixes post deployments\n\n#### List view with scope Mine\n\nIf you defined a property **listViewsToSetToMine** in your .sfdx-hardis.yml, related ListViews will be set to Mine ( see command <https://sfdx-hardis.cloudity.com/hardis/org/fix/listviewmine/> )\n\nExample:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to fix ListViews with mine from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n\nIf you need to increase the deployment waiting time (force:source:deploy --wait arg), you can define env var SFDX_DEPLOY_WAIT_MINUTES\n ","usage":"<%= command.id %> [-c] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:deploy:sources:dx","$ sfdx hardis:project:deploy:sources:dx --check"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"check":{"name":"check","type":"boolean","char":"c","description":"Only checks the deployment, there is no impact on target org","allowNo":false},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"Level of tests to apply to validate deployment","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"RunLocalTests"},"packagexml":{"name":"packagexml","type":"option","char":"p","description":"Path to package.xml containing what you want to deploy in target org"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]},"hardis:project:deploy:sources:metadata":{"id":"hardis:project:deploy:sources:metadata","description":"Deploy metadatas to source org","usage":"<%= command.id %> [-c] [-x <string>] [-p <string>] [-f] [-k <string>] [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-hardis","pluginType":"core","aliases":[],"examples":["$ sfdx hardis:project:deploy:sources:metadata"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"check":{"name":"check","type":"boolean","char":"c","description":"Only checks the deployment, there is no impact on target org","allowNo":false},"deploydir":{"name":"deploydir","type":"option","char":"x","description":"Deploy directory","default":"."},"packagexml":{"name":"packagexml","type":"option","char":"p","description":"Path to package.xml file to deploy"},"filter":{"name":"filter","type":"boolean","char":"f","description":"Filter metadatas before deploying","allowNo":false},"destructivepackagexml":{"name":"destructivepackagexml","type":"option","char":"k","description":"Path to destructiveChanges.xml file to deploy"},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"Level of tests to apply to validate deployment","helpValue":"(NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg)","options":["NoTestRun","RunSpecifiedTests","RunLocalTests","RunAllTestsInOrg"],"default":"RunLocalTests"},"debug":{"name":"debug","type":"boolean","char":"d","description":"Activate debug mode (more logs)","allowNo":false},"websocket":{"name":"websocket","type":"option","description":"Websocket host:port for VsCode SFDX Hardis UI integration"},"skipauth":{"name":"skipauth","type":"boolean","description":"Skip authentication check when a default username is required","allowNo":false}},"args":[]}}}
|