diff --git a/CHANGELOG.md b/CHANGELOG.md
index f60e84408..837398fd9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,8 @@
Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`
+- Update documentation
+
## [4.6.4] 2023-09-28
- hardis:work:save : Fix issue when there is an empty commit because of pre-commit hooks
diff --git a/README.md b/README.md
index 4f2c2c4df..0e165dae1 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,9 @@ It will allow you to:
[![VsCode SFDX Hardis](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/extension-demo.gif)](https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-sfdx-hardis)
-
+_See Dreamforce presentation_
+
+[![See Dreamforce presentation](https://img.youtube.com/vi/o0Mm9F07UFs/0.jpg)](https://www.youtube.com/watch?v=o0Mm9F07UFs)
## Installation
@@ -989,7 +991,7 @@ DESCRIPTION
- listViewsMine
```
- - Example of sfdx-hardis.yml property `listViewsToSetToMine`:
+- Example of sfdx-hardis.yml property `listViewsToSetToMine`:
```yaml
listViewsToSetToMine:
@@ -1001,7 +1003,7 @@ DESCRIPTION
- "force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml"
```
- - If manually written, this could also be:
+- If manually written, this could also be:
```yaml
listViewsToSetToMine:
@@ -1013,7 +1015,7 @@ DESCRIPTION
- "Account:MyActivePartners"
```
- Troubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your
+ Troubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your
dockerfile:
```dockerfile
@@ -1037,8 +1039,8 @@ Generates full org package.xml, including managed items
```
USAGE
- $ sfdx hardis:org:generate:packagexmlfull [--outputfile ] [-d] [--websocket ] [--skipauth] [-u
- ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:org:generate:packagexmlfull [--outputfile ] [-d] [--websocket ] [--skipauth] [-u
+ ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1077,7 +1079,7 @@ Purge apex logs in selected org
```
USAGE
- $ sfdx hardis:org:purge:apexlog [-z] [-d] [--websocket ] [--skipauth] [-u ] [--apiversion ]
+ $ sfdx hardis:org:purge:apexlog [-z] [-d] [--websocket ] [--skipauth] [-u ] [--apiversion ]
[--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1116,8 +1118,8 @@ Purge Obsolete flow versions to avoid the 50 max versions limit. Filters on Stat
```
USAGE
- $ sfdx hardis:org:purge:flow [-z] [-n ] [-s ] [-f] [-r ] [-d] [--websocket ]
- [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:org:purge:flow [-z] [-n ] [-s ] [-f] [-r ] [-d] [--websocket ]
+ [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1166,7 +1168,7 @@ EXAMPLES
ID MASTERLABEL VERSIONNUMBER DESCRIPTION STATUS
30109000000kX7uAAE TestFlow 2 test flowwww Obsolete
- $ sfdx hardis:org:purge:flow --targetusername nicolas.vuillamy@gmail.com --status "Obsolete,Draft,InvalidDraft --name
+ $ sfdx hardis:org:purge:flow --targetusername nicolas.vuillamy@gmail.com --status "Obsolete,Draft,InvalidDraft --name
TestFlow"
Found 4 records:
ID MASTERLABEL VERSIONNUMBER DESCRIPTION STATUS
@@ -1186,7 +1188,7 @@ Retrieve package configuration from an org
```
USAGE
- $ sfdx hardis:org:retrieve:packageconfig [-d] [--websocket ] [--skipauth] [-u ] [--apiversion
+ $ sfdx hardis:org:retrieve:packageconfig [-d] [--websocket ] [--skipauth] [-u ] [--apiversion
] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1222,7 +1224,7 @@ Retrieve all CRM Analytics sources from an org, with workarounds for SFDX bugs
```
USAGE
- $ sfdx hardis:org:retrieve:sources:analytics [-d] [--websocket ] [--skipauth] [-u ] [--apiversion
+ $ sfdx hardis:org:retrieve:sources:analytics [-d] [--websocket ] [--skipauth] [-u ] [--apiversion
] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1257,8 +1259,8 @@ Retrieve Salesforce DX project from org
```
USAGE
- $ sfdx hardis:org:retrieve:sources:dx [-f ] [-t ] [-k ] [-m ] [-o] [-r ] [-d]
- [--websocket ] [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:org:retrieve:sources:dx [-f ] [-t ] [-k ] [-m ] [-o] [-r ] [-d]
+ [--websocket ] [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1308,8 +1310,8 @@ Retrieve Salesforce DX project from org
```
USAGE
- $ sfdx hardis:org:retrieve:sources:dx2 [-x ] [-t ] [-d] [--websocket ] [--skipauth] [-u
- ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:org:retrieve:sources:dx2 [-x ] [-t ] [-d] [--websocket ] [--skipauth] [-u
+ ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1349,8 +1351,8 @@ Retrieve Salesforce DX project from org
```
USAGE
- $ sfdx hardis:org:retrieve:sources:metadata [-f ] [-p ] [--includemanaged] [-r ] [-d]
- [--websocket ] [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:org:retrieve:sources:metadata [-f ] [-p ] [--includemanaged] [-r ] [-d]
+ [--websocket ] [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1391,9 +1393,9 @@ Retrieve changes from org link to a ref branch not present in sources
```
USAGE
- $ sfdx hardis:org:retrieve:sources:retrofit [--commit] [--commitmode updated|all] [--push] [--pushmode
- default|mergerequest] [--productionbranch ] [--retrofittargetbranch ] [-d] [--websocket ]
- [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:org:retrieve:sources:retrofit [--commit] [--commitmode updated|all] [--push] [--pushmode
+ default|mergerequest] [--productionbranch ] [--retrofittargetbranch ] [-d] [--websocket ]
+ [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1442,8 +1444,8 @@ OPTIONS
Hardis UI integration
DESCRIPTION
- 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
+ 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.
Define the following properties in **.sfdx-hardis.yml**
@@ -1496,7 +1498,7 @@ DESCRIPTION
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
+ sfdx hardis:org:retrieve:sources:retrofit --productionbranch master --retrofitbranch preprod --commit --commitmode
updated --push --pushmode mergerequest
```
@@ -1508,7 +1510,7 @@ Interactive org selection for user
```
USAGE
- $ sfdx hardis:org:select [-h] [-s] [-d] [--websocket ] [--skipauth] [--json] [--loglevel
+ $ sfdx hardis:org:select [-h] [-s] [-d] [--websocket ] [--skipauth] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1541,8 +1543,8 @@ Run apex tests in Salesforce org
```
USAGE
- $ sfdx hardis:org:test:apex [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket
- ] [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:org:test:apex [-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg] [-d] [--websocket
+ ] [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1572,8 +1574,8 @@ OPTIONS
DESCRIPTION
If following configuration is defined, it will fail if apex coverage target is not reached:
- - Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`
- - Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`
+- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`
+- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`
You can override env var SFDX_TEST_WAIT_MINUTES to wait more than 60 minutes
@@ -1589,7 +1591,7 @@ Update sandbox users so their email is valid
```
USAGE
- $ sfdx hardis:org:user:activateinvalid [-p ] [-d] [--websocket ] [--skipauth] [-u ]
+ $ sfdx hardis:org:user:activateinvalid [-p ] [-d] [--websocket ] [--skipauth] [-u ]
[--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1622,14 +1624,14 @@ DESCRIPTION
See article below
- [![Reactivate all the sandbox users with .invalid emails in 3
+ [![Reactivate all the sandbox users with .invalid emails in 3
clicks](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-email.jpg)](https://
nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d)
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
+ $ sfdx hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --targetusername
myuser@myorg.com
```
@@ -1641,8 +1643,8 @@ Mass freeze users in org before a maintenance or go live
```
USAGE
- $ sfdx hardis:org:user:freeze [-n ] [-p ] [-e ] [-m ] [-d] [--websocket ]
- [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:org:user:freeze [-n ] [-p ] [-e ] [-m ] [-d] [--websocket ]
+ [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1681,7 +1683,7 @@ DESCRIPTION
- [![How to freeze / unfreeze users during a Salesforce
+ [![How to freeze / unfreeze users during a Salesforce
deployment](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-freeze.jpg)](https://med
ium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3)
@@ -1700,8 +1702,8 @@ Mass unfreeze users in org after a maintenance or go live
```
USAGE
- $ sfdx hardis:org:user:unfreeze [-n ] [-p ] [-e ] [-m ] [-d] [--websocket ]
- [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:org:user:unfreeze [-n ] [-p ] [-e ] [-m ] [-d] [--websocket ]
+ [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1740,7 +1742,7 @@ DESCRIPTION
- [![How to freeze / unfreeze users during a Salesforce
+ [![How to freeze / unfreeze users during a Salesforce
deployment](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-freeze.jpg)](https://med
ium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3)
@@ -1759,7 +1761,7 @@ Create a new package
```
USAGE
- $ sfdx hardis:package:create [-d] [--websocket ] [--skipauth] [-v ] [--apiversion ] [--json]
+ $ sfdx hardis:package:create [-d] [--websocket ] [--skipauth] [-v ] [--apiversion ] [--json]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1794,7 +1796,7 @@ Install a package in an org using its id (starting with **04t**)
```
USAGE
- $ sfdx hardis:package:install [-p ] [-d] [--websocket ] [-k ] [--skipauth] [-u ]
+ $ sfdx hardis:package:install [-p ] [-d] [--websocket ] [-k ] [--skipauth] [-u ]
[--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1838,7 +1840,7 @@ Select and merge package.xml files
```
USAGE
- $ sfdx hardis:package:mergexml [-f ] [-p ] [-x ] [-r ] [--websocket ]
+ $ sfdx hardis:package:mergexml [-f ] [-p ] [-x ] [-r ] [--websocket ]
[--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1850,7 +1852,7 @@ OPTIONS
-r, --result=result Result package.xml file name
- -x, --pattern=pattern [default: /**/*package*.xml] Name
+ -x, --pattern=pattern [default: /**/_package_.xml] Name
criteria to list package.xml files
--json format output as json
@@ -1867,7 +1869,7 @@ OPTIONS
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"
+ $ sfdx hardis:package:mergexml --packagexmls "config/mypackage1.xml,config/mypackage2.xml,config/mypackage3.xml"
--result myMergedPackage.xml
```
@@ -1879,8 +1881,8 @@ Create a new version of an unlocked package
```
USAGE
- $ sfdx hardis:package:version:create [-d] [-p ] [-k ] [--deleteafter] [-i] [--websocket ]
- [--skipauth] [-v ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:package:version:create [-d] [-p ] [-k ] [--deleteafter] [-i] [--websocket ]
+ [--skipauth] [-v ] [--apiversion ] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1927,7 +1929,7 @@ List versions of unlocked package
```
USAGE
- $ sfdx hardis:package:version:list [-d] [--websocket ] [--skipauth] [-v ] [--apiversion ]
+ $ sfdx hardis:package:version:list [-d] [--websocket ] [--skipauth] [-v ] [--apiversion ]
[--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -1962,7 +1964,7 @@ Promote package(s) version(s): convert it from beta to released
```
USAGE
- $ sfdx hardis:package:version:promote [-d] [-d] [--websocket ] [--skipauth] [-v ] [--apiversion
+ $ sfdx hardis:package:version:promote [-d] [-d] [--websocket ] [--skipauth] [-v ] [--apiversion
] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2001,7 +2003,7 @@ Audit API version
```
USAGE
- $ sfdx hardis:project:audit:apiversion [-m ] [-f] [-d] [--websocket ] [--skipauth] [--json]
+ $ sfdx hardis:project:audit:apiversion [-m ] [-f] [-d] [--websocket ] [--skipauth] [--json]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2036,7 +2038,7 @@ Generate list of callIn and callouts from sfdx project
```
USAGE
- $ sfdx hardis:project:audit:callincallout [-d] [--websocket ] [--skipauth] [--json] [--loglevel
+ $ sfdx hardis:project:audit:callincallout [-d] [--websocket ] [--skipauth] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2096,7 +2098,7 @@ Generate list of remote sites
```
USAGE
- $ sfdx hardis:project:audit:remotesites [-d] [--websocket ] [--skipauth] [--json] [--loglevel
+ $ sfdx hardis:project:audit:remotesites [-d] [--websocket ] [--skipauth] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2124,7 +2126,7 @@ Remove unwanted empty items within sfdx project sources
```
USAGE
- $ sfdx hardis:project:clean:emptyitems [-f ] [-d] [--websocket ] [--skipauth] [--json] [--loglevel
+ $ sfdx hardis:project:clean:emptyitems [-f ] [-d] [--websocket ] [--skipauth] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2153,7 +2155,7 @@ Remove unwanted hidden items within sfdx project sources
```
USAGE
- $ sfdx hardis:project:clean:hiddenitems [-f ] [-d] [--websocket ] [--skipauth] [--json] [--loglevel
+ $ sfdx hardis:project:clean:hiddenitems [-f ] [-d] [--websocket ] [--skipauth] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2182,7 +2184,7 @@ Replace Mine by Everything in ListView, and log the replacements in sfdx-hardis.
```
USAGE
- $ sfdx hardis:project:clean:listviews [-f ] [-d] [--websocket ] [--skipauth] [--json] [--loglevel
+ $ sfdx hardis:project:clean:listviews [-f ] [-d] [--websocket ] [--skipauth] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2241,7 +2243,7 @@ Remove all profile attributes that exist on Permission Sets
```
USAGE
- $ sfdx hardis:project:clean:minimizeprofiles [-f ] [-d] [--websocket ] [--skipauth] [--json]
+ $ sfdx hardis:project:clean:minimizeprofiles [-f ] [-d] [--websocket ] [--skipauth] [--json]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2263,18 +2265,18 @@ DESCRIPTION
Salesforce will deprecate such capability in Spring 26.
- Don't wait for that, and use minimizeProfiles cleaning to automatically remove from Profiles any permission that
+ Don't wait for that, and use minimizeProfiles cleaning to automatically remove from Profiles any permission that
exists on a Permission Set !
The following XML tags are removed automatically:
- - classAccesses
- - customMetadataTypeAccesses
- - externalDataSourceAccesses
- - fieldPermissions
- - objectPermissions
- - pageAccesses
- - userPermissions (except on Admin Profile)
+- classAccesses
+- customMetadataTypeAccesses
+- externalDataSourceAccesses
+- fieldPermissions
+- objectPermissions
+- pageAccesses
+- userPermissions (except on Admin Profile)
You can override this list by defining a property minimizeProfilesNodesToRemove in your .sfdx-hardis.yml config file.
@@ -2290,7 +2292,7 @@ Clean SFDX sources from items present neither in target org nor local package.xm
```
USAGE
- $ sfdx hardis:project:clean:orgmissingitems [-f ] [-p ] [-t ] [-d] [--websocket ]
+ $ sfdx hardis:project:clean:orgmissingitems [-f ] [-p ] [-t ] [-d] [--websocket ]
[--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2333,7 +2335,7 @@ Remove unwanted references within sfdx project sources
```
USAGE
- $ sfdx hardis:project:clean:references [-t ] [-c ] [-d] [--websocket ] [--skipauth] [--json]
+ $ sfdx hardis:project:clean:references [-t ] [-c ] [-d] [--websocket ] [--skipauth] [--json]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2373,7 +2375,7 @@ Retrieve dashboards, documents and report folders in DX sources. Use -u ORGALIAS
```
USAGE
- $ sfdx hardis:project:clean:retrievefolders [-d] [--websocket ] [--skipauth] [-u ] [--apiversion
+ $ sfdx hardis:project:clean:retrievefolders [-d] [--websocket ] [--skipauth] [-u ] [--apiversion
] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2408,7 +2410,7 @@ Remove unwanted standard items within sfdx project sources
```
USAGE
- $ sfdx hardis:project:clean:standarditems [-d] [--websocket ] [--skipauth] [--json] [--loglevel
+ $ sfdx hardis:project:clean:standarditems [-d] [--websocket ] [--skipauth] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2436,7 +2438,7 @@ Clean System.debug() lines in APEX Code (classes and triggers)
```
USAGE
- $ sfdx hardis:project:clean:systemdebug [-f ] [--websocket ] [--skipauth] [-d] [--json] [--loglevel
+ $ sfdx hardis:project:clean:systemdebug [-f ] [--websocket ] [--skipauth] [-d] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2465,7 +2467,7 @@ Remove XML elements using Glob patterns and XPath expressions
```
USAGE
- $ sfdx hardis:project:clean:xml [-f ] [-p -x ] [-n ] [-d] [--websocket ]
+ $ sfdx hardis:project:clean:xml [-f ] [-p -x ] [-n ] [-d] [--websocket ]
[--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2497,13 +2499,13 @@ OPTIONS
DESCRIPTION
This can be very useful to avoid to always remove manually the same elements in the same XML file.
- - **globpattern** can be any glob pattern allowing to identify the XML files to update, for example
+- **globpattern** can be any glob pattern allowing to identify the XML files to update, for example
`/**/*.flexipage-meta.xml`
- - **xpath** can be any xpath following the format `//ns:PARENT-TAG-NAME//ns:TAG-NAME[contains(text(),'TAG-VALUE')]`.
+- **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.
- ![How to build cleaning
+ ![How to build cleaning
XPath](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/doc-clean-xml.jpg)
Note: If globpattern and xpath are not sent, elements defined in property **cleanXmlPatterns** in **.sfdx-hardis.yml**
@@ -2511,7 +2513,7 @@ DESCRIPTION
EXAMPLES
$ sfdx hardis:project:clean:xml
- $ sfdx hardis:project:clean:xml --globpattern "/**/*.flexipage-meta.xml" --xpath
+ $ sfdx hardis:project:clean:xml --globpattern "/**/*.flexipage-meta.xml" --xpath
"//ns:flexiPageRegions//ns:name[contains(text(),'dashboardName')]"
```
@@ -2523,7 +2525,7 @@ Configure authentication from git branch to target org
```
USAGE
- $ sfdx hardis:project:configure:auth [-b] [-d] [--websocket ] [--skipauth] [-v ] [-u ]
+ $ sfdx hardis:project:configure:auth [-b] [-d] [--websocket ] [--skipauth] [-v ] [-u ]
[--apiversion ] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2562,7 +2564,7 @@ Creates permission sets from existing profiles, with id PS_PROFILENAME
```
USAGE
- $ sfdx hardis:project:convert:profilestopermsets [-e ] [-d] [--websocket ] [--skipauth] [--json]
+ $ sfdx hardis:project:convert:profilestopermsets [-e ] [-d] [--websocket ] [--skipauth] [--json]
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2591,7 +2593,7 @@ Create a new SFDX Project
```
USAGE
- $ sfdx hardis:project:create [-d] [--websocket ] [--skipauth] [--json] [--loglevel
+ $ sfdx hardis:project:create [-d] [--websocket ] [--skipauth] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
@@ -2619,9 +2621,9 @@ Deploy SFDX source to org, following deploymentPlan in .sfdx-hardis.yml
```
USAGE
- $ sfdx hardis:project:deploy:sources:dx [-c] [-l
- NoTestRun|RunSpecifiedTests|RunRepositoryTests|RunLocalTests|RunAllTestsInOrg] [-r ] [-p ] [-d]
- [--websocket ] [--skipauth] [-u ] [--apiversion ] [--json] [--loglevel
+ $ sfdx hardis:project:deploy:sources:dx [-c] [-l
+ NoTestRun|RunSpecifiedTests|RunRepositoryTests|RunLocalTests|RunAllTestsInOrg] [-r ] [-p ] [-d]
+ [--websocket