sfdx-hardis 2.78.2 → 2.78.4
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 +9 -0
- package/README.md +231 -82
- package/lib/commands/hardis/org/retrieve/packageconfig.js +1 -1
- package/lib/commands/hardis/org/retrieve/packageconfig.js.map +1 -1
- package/lib/commands/hardis/org/retrieve/sources/retrofit.d.ts +22 -0
- package/lib/commands/hardis/org/retrieve/sources/retrofit.js +140 -0
- package/lib/commands/hardis/org/retrieve/sources/retrofit.js.map +1 -0
- package/lib/commands/hardis/project/deploy/sources/dx.js +59 -6
- package/lib/commands/hardis/project/deploy/sources/dx.js.map +1 -1
- package/lib/commands/hardis/work/save.js +23 -3
- package/lib/commands/hardis/work/save.js.map +1 -1
- package/lib/common/utils/index.js +3 -2
- package/lib/common/utils/index.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,7 +15,13 @@
|
|
|
15
15
|
|
|
16
16
|
Toolbox for Salesforce DX, by [Hardis-Group](https://www.hardis-group.com/en/services-solutions/services/integration/salesforce-consulting-and-integration)
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
It will allow you to:
|
|
19
|
+
|
|
20
|
+
- Easily automate development & configuration in scratch orgs or sandbox orgs
|
|
21
|
+
- Smart deploy from CI/CD pipelines
|
|
22
|
+
- Do with simple commands what could be done manually in minutes/hours
|
|
23
|
+
|
|
24
|
+
[**Please see the full list of commands in Online documentation**](https://hardisgroupcom.github.io/sfdx-hardis)
|
|
19
25
|
|
|
20
26
|
**sfdx-hardis** partially relies on the following SFDX Open-Source packages
|
|
21
27
|
|
|
@@ -82,9 +88,13 @@ To do that, you need to configure authentication. This will create/update:
|
|
|
82
88
|
- Connected App (uploaded to org via metadata api)
|
|
83
89
|
- SFDX_CLIENT_ID variable (manually set in a CI variable)
|
|
84
90
|
|
|
85
|
-
###
|
|
91
|
+
### Initialize a Hardis-style sfdx-project
|
|
92
|
+
|
|
93
|
+
Run `sfdx hardis:project:create` and follow instructions
|
|
94
|
+
|
|
95
|
+
### Configure authentication for CI jobs
|
|
86
96
|
|
|
87
|
-
You need [openssl](https://www.openssl.org/) installed on your computer
|
|
97
|
+
You need [openssl](https://www.openssl.org/) installed on your computer (available in `Git bash`)
|
|
88
98
|
|
|
89
99
|
Run the following command and follow instructions
|
|
90
100
|
|
|
@@ -98,7 +108,7 @@ Alternative for DevHub
|
|
|
98
108
|
sfdx hardis:project:configure:auth --devhub
|
|
99
109
|
```
|
|
100
110
|
|
|
101
|
-
### Authentication
|
|
111
|
+
### Authentication within CI jobs
|
|
102
112
|
|
|
103
113
|
Call **sfdx hardis:login** at the root of the repository where you configured authentication
|
|
104
114
|
|
|
@@ -127,6 +137,22 @@ You can define hooks using env variables:
|
|
|
127
137
|
|
|
128
138
|
Ex: `MS_TEAMS_WEBHOOK_URL_CRITICAL=https://mycompany.webhook.office.com/webhookb2/f49c28c6-d10b-412c-b961-fge456bd@c1a7fa9b-90b3-49ab-b5e2-345HG88c/IncomingWebhook/b43c20SDSGFG56712d848bc1cebb17/53ee2e22-a867-4e74-868a-F3fs3935`
|
|
129
139
|
|
|
140
|
+
## Articles
|
|
141
|
+
|
|
142
|
+
Here are some articles with examples of use of [sfdx-hardis](https://hardisgroupcom.github.io/sfdx-hardis/)
|
|
143
|
+
|
|
144
|
+
- English
|
|
145
|
+
- [Handle Salesforce API versions Deprecation like a pro](https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238)
|
|
146
|
+
- [How to mass download notes and attachments files from a Salesforce org](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)
|
|
147
|
+
- [How to freeze / unfreeze users during a Salesforce deployment](https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3)
|
|
148
|
+
- [How to detect bad words in Salesforce records using SFDX Data Loader and sfdx-hardis](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)
|
|
149
|
+
- [Reactivate all the sandbox users with .invalid emails in 3 clicks](https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d)
|
|
150
|
+
|
|
151
|
+
- French
|
|
152
|
+
- [Versions d'API Salesforce décommissionnées: Que faire ?](https://leblog.hardis-group.com/portfolio/versions-dapi-salesforce-decommissionnees-que-faire/)
|
|
153
|
+
- [Exporter en masse les fichiers d’une org Salesforce](https://leblog.hardis-group.com/portfolio/exporter-en-masse-les-fichiers-dune-org-salesforce/)
|
|
154
|
+
- [Suspendre l’accès aux utilisateurs lors d’une mise en production Salesforce](https://leblog.hardis-group.com/portfolio/suspendre-lacces-aux-utilisateurs-lors-dune-mise-en-production-salesforce/)
|
|
155
|
+
|
|
130
156
|
## Contributing
|
|
131
157
|
|
|
132
158
|
Anyone is welcome to contribute to this sfdx-hardis
|
|
@@ -179,6 +205,7 @@ Anyone is welcome to contribute to this sfdx-hardis
|
|
|
179
205
|
* [`sfdx hardis:org:retrieve:sources:dx [-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]`](#sfdx-hardisorgretrievesourcesdx--f-string--t-string--k-string--m-string--o--r-string--d---websocket-string---skipauth--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
180
206
|
* [`sfdx hardis:org:retrieve:sources:dx2 [-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]`](#sfdx-hardisorgretrievesourcesdx2--x-string--t-string--d---websocket-string---skipauth--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
181
207
|
* [`sfdx hardis:org:retrieve:sources:metadata [-f <string>] [-p <string>] [-r <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisorgretrievesourcesmetadata--f-string--p-string--r-string--d---websocket-string---skipauth--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
208
|
+
* [`sfdx hardis:org:retrieve:sources:retrofit [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisorgretrievesourcesretrofit--d---websocket-string--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
182
209
|
* [`sfdx hardis:org:select [-h] [-s] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisorgselect--h--s--d---websocket-string---skipauth---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
183
210
|
* [`sfdx hardis:org:test:apex [-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]`](#sfdx-hardisorgtestapex--l-notestrunrunspecifiedtestsrunlocaltestsrunalltestsinorg--d---websocket-string---skipauth--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
184
211
|
* [`sfdx hardis:org:user:activateinvalid [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-hardisorguseractivateinvalid--p-string--d---websocket-string---skipauth--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal)
|
|
@@ -256,7 +283,7 @@ EXAMPLE
|
|
|
256
283
|
$ sfdx hardis:auth:login
|
|
257
284
|
```
|
|
258
285
|
|
|
259
|
-
_See code: [lib/commands/hardis/auth/login.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
286
|
+
_See code: [lib/commands/hardis/auth/login.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/auth/login.js)_
|
|
260
287
|
|
|
261
288
|
## `sfdx hardis:config:get [-l <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
262
289
|
|
|
@@ -288,7 +315,7 @@ EXAMPLE
|
|
|
288
315
|
$ sfdx hardis:project:deploy:sources:metadata
|
|
289
316
|
```
|
|
290
317
|
|
|
291
|
-
_See code: [lib/commands/hardis/config/get.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
318
|
+
_See code: [lib/commands/hardis/config/get.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/config/get.js)_
|
|
292
319
|
|
|
293
320
|
## `sfdx hardis:doc:plugin:generate [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
294
321
|
|
|
@@ -328,7 +355,7 @@ EXAMPLE
|
|
|
328
355
|
$ sfdx hardis:doc:plugin:generate
|
|
329
356
|
```
|
|
330
357
|
|
|
331
|
-
_See code: [lib/commands/hardis/doc/plugin/generate.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
358
|
+
_See code: [lib/commands/hardis/doc/plugin/generate.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/doc/plugin/generate.js)_
|
|
332
359
|
|
|
333
360
|
## `sfdx hardis:mdapi:deploy [-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]`
|
|
334
361
|
|
|
@@ -383,7 +410,7 @@ DESCRIPTION
|
|
|
383
410
|
rce_mdapi.htm#cli_reference_force_mdapi_deploy)
|
|
384
411
|
```
|
|
385
412
|
|
|
386
|
-
_See code: [lib/commands/hardis/mdapi/deploy.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
413
|
+
_See code: [lib/commands/hardis/mdapi/deploy.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/mdapi/deploy.js)_
|
|
387
414
|
|
|
388
415
|
## `sfdx hardis:misc:toml2csv -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]`
|
|
389
416
|
|
|
@@ -436,7 +463,7 @@ EXAMPLES
|
|
|
436
463
|
--outputdir './output' --filtersections 'COMPTES,SOUS'
|
|
437
464
|
```
|
|
438
465
|
|
|
439
|
-
_See code: [lib/commands/hardis/misc/toml2csv.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
466
|
+
_See code: [lib/commands/hardis/misc/toml2csv.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/misc/toml2csv.js)_
|
|
440
467
|
|
|
441
468
|
## `sfdx hardis:org:configure:data [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
442
469
|
|
|
@@ -464,7 +491,7 @@ EXAMPLE
|
|
|
464
491
|
$ sfdx hardis:org:configure:data
|
|
465
492
|
```
|
|
466
493
|
|
|
467
|
-
_See code: [lib/commands/hardis/org/configure/data.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
494
|
+
_See code: [lib/commands/hardis/org/configure/data.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/configure/data.js)_
|
|
468
495
|
|
|
469
496
|
## `sfdx hardis:org:configure:files [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
470
497
|
|
|
@@ -492,7 +519,7 @@ EXAMPLE
|
|
|
492
519
|
$ sfdx hardis:org:configure:files
|
|
493
520
|
```
|
|
494
521
|
|
|
495
|
-
_See code: [lib/commands/hardis/org/configure/files.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
522
|
+
_See code: [lib/commands/hardis/org/configure/files.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/configure/files.js)_
|
|
496
523
|
|
|
497
524
|
## `sfdx hardis:org:configure:monitoring [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
498
525
|
|
|
@@ -527,7 +554,7 @@ EXAMPLE
|
|
|
527
554
|
$ sfdx hardis:org:configure:monitoring
|
|
528
555
|
```
|
|
529
556
|
|
|
530
|
-
_See code: [lib/commands/hardis/org/configure/monitoring.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
557
|
+
_See code: [lib/commands/hardis/org/configure/monitoring.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/configure/monitoring.js)_
|
|
531
558
|
|
|
532
559
|
## `sfdx hardis:org:connect [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
533
560
|
|
|
@@ -555,7 +582,7 @@ EXAMPLE
|
|
|
555
582
|
$ sfdx hardis:org:connect
|
|
556
583
|
```
|
|
557
584
|
|
|
558
|
-
_See code: [lib/commands/hardis/org/connect.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
585
|
+
_See code: [lib/commands/hardis/org/connect.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/connect.js)_
|
|
559
586
|
|
|
560
587
|
## `sfdx hardis:org:create [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
561
588
|
|
|
@@ -590,7 +617,7 @@ EXAMPLE
|
|
|
590
617
|
$ sfdx hardis:org:create
|
|
591
618
|
```
|
|
592
619
|
|
|
593
|
-
_See code: [lib/commands/hardis/org/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
620
|
+
_See code: [lib/commands/hardis/org/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/create.js)_
|
|
594
621
|
|
|
595
622
|
## `sfdx hardis:org:data:delete [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
596
623
|
|
|
@@ -626,7 +653,7 @@ EXAMPLE
|
|
|
626
653
|
$ sfdx hardis:org:data:delete
|
|
627
654
|
```
|
|
628
655
|
|
|
629
|
-
_See code: [lib/commands/hardis/org/data/delete.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
656
|
+
_See code: [lib/commands/hardis/org/data/delete.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/data/delete.js)_
|
|
630
657
|
|
|
631
658
|
## `sfdx hardis:org:data:export [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
632
659
|
|
|
@@ -662,7 +689,7 @@ EXAMPLE
|
|
|
662
689
|
$ sfdx hardis:org:data:export
|
|
663
690
|
```
|
|
664
691
|
|
|
665
|
-
_See code: [lib/commands/hardis/org/data/export.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
692
|
+
_See code: [lib/commands/hardis/org/data/export.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/data/export.js)_
|
|
666
693
|
|
|
667
694
|
## `sfdx hardis:org:data:import [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
668
695
|
|
|
@@ -698,7 +725,7 @@ EXAMPLE
|
|
|
698
725
|
$ sfdx hardis:org:data:import
|
|
699
726
|
```
|
|
700
727
|
|
|
701
|
-
_See code: [lib/commands/hardis/org/data/import.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
728
|
+
_See code: [lib/commands/hardis/org/data/import.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/data/import.js)_
|
|
702
729
|
|
|
703
730
|
## `sfdx hardis:org:diagnose:legacyapi [-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]`
|
|
704
731
|
|
|
@@ -769,7 +796,7 @@ EXAMPLES
|
|
|
769
796
|
$ sfdx hardis:org:diagnose:legacyapi -u hardis@myclient.com --outputfile ./tmp/legacyapi.csv
|
|
770
797
|
```
|
|
771
798
|
|
|
772
|
-
_See code: [lib/commands/hardis/org/diagnose/legacyapi.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
799
|
+
_See code: [lib/commands/hardis/org/diagnose/legacyapi.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/diagnose/legacyapi.js)_
|
|
773
800
|
|
|
774
801
|
## `sfdx hardis:org:files:export [-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]`
|
|
775
802
|
|
|
@@ -816,7 +843,7 @@ EXAMPLE
|
|
|
816
843
|
$ sfdx hardis:org:files:export
|
|
817
844
|
```
|
|
818
845
|
|
|
819
|
-
_See code: [lib/commands/hardis/org/files/export.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
846
|
+
_See code: [lib/commands/hardis/org/files/export.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/files/export.js)_
|
|
820
847
|
|
|
821
848
|
## `sfdx hardis:org:purge:apexlog [-z] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
822
849
|
|
|
@@ -855,7 +882,7 @@ EXAMPLES
|
|
|
855
882
|
$ sfdx hardis:org:purge:apexlog --targetusername nicolas.vuillamy@gmail.com
|
|
856
883
|
```
|
|
857
884
|
|
|
858
|
-
_See code: [lib/commands/hardis/org/purge/apexlog.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
885
|
+
_See code: [lib/commands/hardis/org/purge/apexlog.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/purge/apexlog.js)_
|
|
859
886
|
|
|
860
887
|
## `sfdx hardis:org:purge:flow [-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]`
|
|
861
888
|
|
|
@@ -926,7 +953,7 @@ EXAMPLES
|
|
|
926
953
|
No record deleted
|
|
927
954
|
```
|
|
928
955
|
|
|
929
|
-
_See code: [lib/commands/hardis/org/purge/flow.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
956
|
+
_See code: [lib/commands/hardis/org/purge/flow.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/purge/flow.js)_
|
|
930
957
|
|
|
931
958
|
## `sfdx hardis:org:retrieve:packageconfig [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
932
959
|
|
|
@@ -957,11 +984,12 @@ OPTIONS
|
|
|
957
984
|
--websocket=websocket Websocket host:port for VsCode SFDX
|
|
958
985
|
Hardis UI integration
|
|
959
986
|
|
|
960
|
-
|
|
987
|
+
EXAMPLES
|
|
961
988
|
$ sfdx hardis:org:retrieve:packageconfig
|
|
989
|
+
sfdx hardis:org:retrieve:packageconfig -u myOrg
|
|
962
990
|
```
|
|
963
991
|
|
|
964
|
-
_See code: [lib/commands/hardis/org/retrieve/packageconfig.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
992
|
+
_See code: [lib/commands/hardis/org/retrieve/packageconfig.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/retrieve/packageconfig.js)_
|
|
965
993
|
|
|
966
994
|
## `sfdx hardis:org:retrieve:sources:dx [-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]`
|
|
967
995
|
|
|
@@ -1012,7 +1040,7 @@ EXAMPLE
|
|
|
1012
1040
|
$ sfdx hardis:org:retrieve:sources:dx
|
|
1013
1041
|
```
|
|
1014
1042
|
|
|
1015
|
-
_See code: [lib/commands/hardis/org/retrieve/sources/dx.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1043
|
+
_See code: [lib/commands/hardis/org/retrieve/sources/dx.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/retrieve/sources/dx.js)_
|
|
1016
1044
|
|
|
1017
1045
|
## `sfdx hardis:org:retrieve:sources:dx2 [-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]`
|
|
1018
1046
|
|
|
@@ -1053,7 +1081,7 @@ EXAMPLE
|
|
|
1053
1081
|
$ sfdx hardis:org:retrieve:sources:dx2
|
|
1054
1082
|
```
|
|
1055
1083
|
|
|
1056
|
-
_See code: [lib/commands/hardis/org/retrieve/sources/dx2.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1084
|
+
_See code: [lib/commands/hardis/org/retrieve/sources/dx2.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/retrieve/sources/dx2.js)_
|
|
1057
1085
|
|
|
1058
1086
|
## `sfdx hardis:org:retrieve:sources:metadata [-f <string>] [-p <string>] [-r <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1059
1087
|
|
|
@@ -1092,7 +1120,51 @@ EXAMPLE
|
|
|
1092
1120
|
$ sfdx hardis:org:retrieve:sources:metadata
|
|
1093
1121
|
```
|
|
1094
1122
|
|
|
1095
|
-
_See code: [lib/commands/hardis/org/retrieve/sources/metadata.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1123
|
+
_See code: [lib/commands/hardis/org/retrieve/sources/metadata.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/retrieve/sources/metadata.js)_
|
|
1124
|
+
|
|
1125
|
+
## `sfdx hardis:org:retrieve:sources:retrofit [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1126
|
+
|
|
1127
|
+
Retrieve changes from org link to a ref branch not present in sources
|
|
1128
|
+
|
|
1129
|
+
```
|
|
1130
|
+
USAGE
|
|
1131
|
+
$ sfdx hardis:org:retrieve:sources:retrofit [-d] [--websocket <string>] [-u <string>] [--apiversion <string>] [--json]
|
|
1132
|
+
[--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
|
|
1133
|
+
|
|
1134
|
+
OPTIONS
|
|
1135
|
+
-d, --debug Activate debug mode (more logs)
|
|
1136
|
+
|
|
1137
|
+
-u, --targetusername=targetusername username or alias for the target
|
|
1138
|
+
org; overrides default target org
|
|
1139
|
+
|
|
1140
|
+
--apiversion=apiversion override the api version used for
|
|
1141
|
+
api requests made by this command
|
|
1142
|
+
|
|
1143
|
+
--json format output as json
|
|
1144
|
+
|
|
1145
|
+
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
|
|
1146
|
+
this command invocation
|
|
1147
|
+
|
|
1148
|
+
--websocket=websocket Websocket host:port for VsCode SFDX
|
|
1149
|
+
Hardis UI integration
|
|
1150
|
+
|
|
1151
|
+
DESCRIPTION
|
|
1152
|
+
This command need to be triggered from a branch that is connected to a SF org. It will then retrieve
|
|
1153
|
+
all changes not present in that branch sources, commit them and create a merge request against the default
|
|
1154
|
+
branch. If a merge request already exists, it will simply add a new commit.
|
|
1155
|
+
|
|
1156
|
+
List of metadata to retrieve can be set in three way, in order of priority :
|
|
1157
|
+
- "CI_SOURCES_TO_RETROFIT": variable set for CI context
|
|
1158
|
+
- "sourcesToRetrofit": variable set in .sfdx-hardis.yml
|
|
1159
|
+
- Or default list: CompactLayout, CustomApplication, CustomField, CustomLabel, CustomLabels, CustomMetadata,
|
|
1160
|
+
CustomObject, CustomTab, DuplicateRule, EmailTemplate, FlexiPage, GlobalValueSet, Layout, ListView, MatchingRules,
|
|
1161
|
+
PermissionSet, RecordType, StandardValueSet, ValidationRule
|
|
1162
|
+
|
|
1163
|
+
EXAMPLE
|
|
1164
|
+
$ sfdx hardis:org:retrieve:sources:retrofit
|
|
1165
|
+
```
|
|
1166
|
+
|
|
1167
|
+
_See code: [lib/commands/hardis/org/retrieve/sources/retrofit.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/retrieve/sources/retrofit.js)_
|
|
1096
1168
|
|
|
1097
1169
|
## `sfdx hardis:org:select [-h] [-s] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1098
1170
|
|
|
@@ -1125,7 +1197,7 @@ EXAMPLE
|
|
|
1125
1197
|
$ sfdx hardis:org:select
|
|
1126
1198
|
```
|
|
1127
1199
|
|
|
1128
|
-
_See code: [lib/commands/hardis/org/select.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1200
|
+
_See code: [lib/commands/hardis/org/select.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/select.js)_
|
|
1129
1201
|
|
|
1130
1202
|
## `sfdx hardis:org:test:apex [-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]`
|
|
1131
1203
|
|
|
@@ -1165,7 +1237,7 @@ EXAMPLE
|
|
|
1165
1237
|
$ sfdx hardis:org:test:apex
|
|
1166
1238
|
```
|
|
1167
1239
|
|
|
1168
|
-
_See code: [lib/commands/hardis/org/test/apex.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1240
|
+
_See code: [lib/commands/hardis/org/test/apex.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/test/apex.js)_
|
|
1169
1241
|
|
|
1170
1242
|
## `sfdx hardis:org:user:activateinvalid [-p <string>] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1171
1243
|
|
|
@@ -1211,7 +1283,7 @@ EXAMPLES
|
|
|
1211
1283
|
myuser@myorg.com
|
|
1212
1284
|
```
|
|
1213
1285
|
|
|
1214
|
-
_See code: [lib/commands/hardis/org/user/activateinvalid.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1286
|
+
_See code: [lib/commands/hardis/org/user/activateinvalid.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/user/activateinvalid.js)_
|
|
1215
1287
|
|
|
1216
1288
|
## `sfdx hardis:org:user:freeze [-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]`
|
|
1217
1289
|
|
|
@@ -1266,7 +1338,7 @@ EXAMPLES
|
|
|
1266
1338
|
$ sfdx hardis:org:user:freeze --excludeprofiles 'System Administrator,Some Other Profile'
|
|
1267
1339
|
```
|
|
1268
1340
|
|
|
1269
|
-
_See code: [lib/commands/hardis/org/user/freeze.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1341
|
+
_See code: [lib/commands/hardis/org/user/freeze.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/user/freeze.js)_
|
|
1270
1342
|
|
|
1271
1343
|
## `sfdx hardis:org:user:unfreeze [-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]`
|
|
1272
1344
|
|
|
@@ -1321,7 +1393,7 @@ EXAMPLES
|
|
|
1321
1393
|
$ sfdx hardis:org:user:unfreeze --excludeprofiles 'System Administrator,Some Other Profile'
|
|
1322
1394
|
```
|
|
1323
1395
|
|
|
1324
|
-
_See code: [lib/commands/hardis/org/user/unfreeze.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1396
|
+
_See code: [lib/commands/hardis/org/user/unfreeze.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/org/user/unfreeze.js)_
|
|
1325
1397
|
|
|
1326
1398
|
## `sfdx hardis:package:create [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1327
1399
|
|
|
@@ -1356,7 +1428,7 @@ EXAMPLE
|
|
|
1356
1428
|
$ sfdx hardis:package:create
|
|
1357
1429
|
```
|
|
1358
1430
|
|
|
1359
|
-
_See code: [lib/commands/hardis/package/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1431
|
+
_See code: [lib/commands/hardis/package/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/package/create.js)_
|
|
1360
1432
|
|
|
1361
1433
|
## `sfdx hardis:package:install [-p <string>] [-d] [--websocket <string>] [-k <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1362
1434
|
|
|
@@ -1394,7 +1466,7 @@ EXAMPLE
|
|
|
1394
1466
|
$ sfdx hardis:package:install
|
|
1395
1467
|
```
|
|
1396
1468
|
|
|
1397
|
-
_See code: [lib/commands/hardis/package/install.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1469
|
+
_See code: [lib/commands/hardis/package/install.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/package/install.js)_
|
|
1398
1470
|
|
|
1399
1471
|
## `sfdx hardis:package:version:create [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1400
1472
|
|
|
@@ -1429,7 +1501,7 @@ EXAMPLE
|
|
|
1429
1501
|
$ sfdx hardis:package:version:create
|
|
1430
1502
|
```
|
|
1431
1503
|
|
|
1432
|
-
_See code: [lib/commands/hardis/package/version/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1504
|
+
_See code: [lib/commands/hardis/package/version/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/package/version/create.js)_
|
|
1433
1505
|
|
|
1434
1506
|
## `sfdx hardis:package:version:list [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1435
1507
|
|
|
@@ -1464,7 +1536,7 @@ EXAMPLE
|
|
|
1464
1536
|
$ sfdx hardis:package:version:list
|
|
1465
1537
|
```
|
|
1466
1538
|
|
|
1467
|
-
_See code: [lib/commands/hardis/package/version/list.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1539
|
+
_See code: [lib/commands/hardis/package/version/list.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/package/version/list.js)_
|
|
1468
1540
|
|
|
1469
1541
|
## `sfdx hardis:package:version:promote [-d] [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1470
1542
|
|
|
@@ -1503,7 +1575,7 @@ EXAMPLES
|
|
|
1503
1575
|
$ sfdx hardis:package:version:promote --auto
|
|
1504
1576
|
```
|
|
1505
1577
|
|
|
1506
|
-
_See code: [lib/commands/hardis/package/version/promote.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1578
|
+
_See code: [lib/commands/hardis/package/version/promote.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/package/version/promote.js)_
|
|
1507
1579
|
|
|
1508
1580
|
## `sfdx hardis:project:audit:apiversion [-m <number>] [-f] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1509
1581
|
|
|
@@ -1538,7 +1610,7 @@ EXAMPLE
|
|
|
1538
1610
|
$ sfdx hardis:project:audit:apiversion
|
|
1539
1611
|
```
|
|
1540
1612
|
|
|
1541
|
-
_See code: [lib/commands/hardis/project/audit/apiversion.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1613
|
+
_See code: [lib/commands/hardis/project/audit/apiversion.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/audit/apiversion.js)_
|
|
1542
1614
|
|
|
1543
1615
|
## `sfdx hardis:project:audit:callincallout [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1544
1616
|
|
|
@@ -1566,7 +1638,7 @@ EXAMPLE
|
|
|
1566
1638
|
$ sfdx hardis:project:audit:callouts
|
|
1567
1639
|
```
|
|
1568
1640
|
|
|
1569
|
-
_See code: [lib/commands/hardis/project/audit/callincallout.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1641
|
+
_See code: [lib/commands/hardis/project/audit/callincallout.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/audit/callincallout.js)_
|
|
1570
1642
|
|
|
1571
1643
|
## `sfdx hardis:project:audit:duplicatefiles [-p <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1572
1644
|
|
|
@@ -1599,7 +1671,7 @@ EXAMPLE
|
|
|
1599
1671
|
$ sfdx hardis:project:audit:duplicatefiles
|
|
1600
1672
|
```
|
|
1601
1673
|
|
|
1602
|
-
_See code: [lib/commands/hardis/project/audit/duplicatefiles.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1674
|
+
_See code: [lib/commands/hardis/project/audit/duplicatefiles.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/audit/duplicatefiles.js)_
|
|
1603
1675
|
|
|
1604
1676
|
## `sfdx hardis:project:audit:remotesites [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1605
1677
|
|
|
@@ -1627,7 +1699,7 @@ EXAMPLE
|
|
|
1627
1699
|
$ sfdx hardis:project:audit:remotesites
|
|
1628
1700
|
```
|
|
1629
1701
|
|
|
1630
|
-
_See code: [lib/commands/hardis/project/audit/remotesites.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1702
|
+
_See code: [lib/commands/hardis/project/audit/remotesites.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/audit/remotesites.js)_
|
|
1631
1703
|
|
|
1632
1704
|
## `sfdx hardis:project:clean:emptyitems [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1633
1705
|
|
|
@@ -1656,7 +1728,7 @@ EXAMPLE
|
|
|
1656
1728
|
$ sfdx hardis:project:clean:emptyitems
|
|
1657
1729
|
```
|
|
1658
1730
|
|
|
1659
|
-
_See code: [lib/commands/hardis/project/clean/emptyitems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1731
|
+
_See code: [lib/commands/hardis/project/clean/emptyitems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/clean/emptyitems.js)_
|
|
1660
1732
|
|
|
1661
1733
|
## `sfdx hardis:project:clean:hiddenitems [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1662
1734
|
|
|
@@ -1685,7 +1757,7 @@ EXAMPLE
|
|
|
1685
1757
|
$ sfdx hardis:project:clean:hiddenitems
|
|
1686
1758
|
```
|
|
1687
1759
|
|
|
1688
|
-
_See code: [lib/commands/hardis/project/clean/hiddenitems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1760
|
+
_See code: [lib/commands/hardis/project/clean/hiddenitems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/clean/hiddenitems.js)_
|
|
1689
1761
|
|
|
1690
1762
|
## `sfdx hardis:project:clean:listviews [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1691
1763
|
|
|
@@ -1714,7 +1786,7 @@ EXAMPLE
|
|
|
1714
1786
|
$ sfdx hardis:project:clean:listviews
|
|
1715
1787
|
```
|
|
1716
1788
|
|
|
1717
|
-
_See code: [lib/commands/hardis/project/clean/listviews.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1789
|
+
_See code: [lib/commands/hardis/project/clean/listviews.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/clean/listviews.js)_
|
|
1718
1790
|
|
|
1719
1791
|
## `sfdx hardis:project:clean:manageditems [-n <string>] [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1720
1792
|
|
|
@@ -1744,7 +1816,7 @@ EXAMPLE
|
|
|
1744
1816
|
$ sfdx hardis:project:clean:manageditems --namespace crta
|
|
1745
1817
|
```
|
|
1746
1818
|
|
|
1747
|
-
_See code: [lib/commands/hardis/project/clean/manageditems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1819
|
+
_See code: [lib/commands/hardis/project/clean/manageditems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/clean/manageditems.js)_
|
|
1748
1820
|
|
|
1749
1821
|
## `sfdx hardis:project:clean:minimizeprofiles [-f <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1750
1822
|
|
|
@@ -1773,7 +1845,7 @@ EXAMPLE
|
|
|
1773
1845
|
$ sfdx hardis:project:clean:minimizeprofiles
|
|
1774
1846
|
```
|
|
1775
1847
|
|
|
1776
|
-
_See code: [lib/commands/hardis/project/clean/minimizeprofiles.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1848
|
+
_See code: [lib/commands/hardis/project/clean/minimizeprofiles.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/clean/minimizeprofiles.js)_
|
|
1777
1849
|
|
|
1778
1850
|
## `sfdx hardis:project:clean:orgmissingitems [-f <string>] [-p <string>] [-t <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1779
1851
|
|
|
@@ -1816,7 +1888,7 @@ EXAMPLE
|
|
|
1816
1888
|
$ sfdx hardis:project:clean:orgmissingitems
|
|
1817
1889
|
```
|
|
1818
1890
|
|
|
1819
|
-
_See code: [lib/commands/hardis/project/clean/orgmissingitems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1891
|
+
_See code: [lib/commands/hardis/project/clean/orgmissingitems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/clean/orgmissingitems.js)_
|
|
1820
1892
|
|
|
1821
1893
|
## `sfdx hardis:project:clean:references [-t <string>] [-c <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1822
1894
|
|
|
@@ -1864,7 +1936,7 @@ EXAMPLES
|
|
|
1864
1936
|
$ sfdx hardis:project:clean:references --config ./somefolder/myDestructivePackage.xml
|
|
1865
1937
|
```
|
|
1866
1938
|
|
|
1867
|
-
_See code: [lib/commands/hardis/project/clean/references.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1939
|
+
_See code: [lib/commands/hardis/project/clean/references.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/clean/references.js)_
|
|
1868
1940
|
|
|
1869
1941
|
## `sfdx hardis:project:clean:retrievefolders [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1870
1942
|
|
|
@@ -1899,7 +1971,7 @@ EXAMPLE
|
|
|
1899
1971
|
$ sfdx hardis:project:clean:retrievefolders
|
|
1900
1972
|
```
|
|
1901
1973
|
|
|
1902
|
-
_See code: [lib/commands/hardis/project/clean/retrievefolders.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
1974
|
+
_See code: [lib/commands/hardis/project/clean/retrievefolders.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/clean/retrievefolders.js)_
|
|
1903
1975
|
|
|
1904
1976
|
## `sfdx hardis:project:clean:standarditems [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1905
1977
|
|
|
@@ -1927,7 +1999,7 @@ EXAMPLE
|
|
|
1927
1999
|
$ sfdx hardis:project:clean:standarditems
|
|
1928
2000
|
```
|
|
1929
2001
|
|
|
1930
|
-
_See code: [lib/commands/hardis/project/clean/standarditems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2002
|
+
_See code: [lib/commands/hardis/project/clean/standarditems.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/clean/standarditems.js)_
|
|
1931
2003
|
|
|
1932
2004
|
## `sfdx hardis:project:configure:auth [-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]`
|
|
1933
2005
|
|
|
@@ -1966,7 +2038,7 @@ EXAMPLE
|
|
|
1966
2038
|
$ sfdx hardis:project:configure:auth
|
|
1967
2039
|
```
|
|
1968
2040
|
|
|
1969
|
-
_See code: [lib/commands/hardis/project/configure/auth.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2041
|
+
_See code: [lib/commands/hardis/project/configure/auth.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/configure/auth.js)_
|
|
1970
2042
|
|
|
1971
2043
|
## `sfdx hardis:project:convert:profilestopermsets [-e <array>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
1972
2044
|
|
|
@@ -1995,7 +2067,7 @@ EXAMPLE
|
|
|
1995
2067
|
$ sfdx hardis:project:convert:profilestopermsets
|
|
1996
2068
|
```
|
|
1997
2069
|
|
|
1998
|
-
_See code: [lib/commands/hardis/project/convert/profilestopermsets.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2070
|
+
_See code: [lib/commands/hardis/project/convert/profilestopermsets.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/convert/profilestopermsets.js)_
|
|
1999
2071
|
|
|
2000
2072
|
## `sfdx hardis:project:create [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2001
2073
|
|
|
@@ -2030,7 +2102,7 @@ EXAMPLE
|
|
|
2030
2102
|
$ sfdx hardis:project:create
|
|
2031
2103
|
```
|
|
2032
2104
|
|
|
2033
|
-
_See code: [lib/commands/hardis/project/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2105
|
+
_See code: [lib/commands/hardis/project/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/create.js)_
|
|
2034
2106
|
|
|
2035
2107
|
## `sfdx hardis:project:deploy:sources:dx [-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]`
|
|
2036
2108
|
|
|
@@ -2073,24 +2145,81 @@ OPTIONS
|
|
|
2073
2145
|
Hardis UI integration
|
|
2074
2146
|
|
|
2075
2147
|
DESCRIPTION
|
|
2076
|
-
|
|
2148
|
+
## Dynamic deployment items
|
|
2149
|
+
|
|
2150
|
+
If necessary,you can define the following files (that supports wildcards <members>*</members>):
|
|
2077
2151
|
|
|
2078
|
-
- manifest/packageDeployOnce.xml
|
|
2152
|
+
- `manifest/packageDeployOnce.xml`: Every element defined in this file will be deployed only if it is not existing yet
|
|
2079
2153
|
in the target org (can be useful with ListView for example, if the client wants to update them directly in production
|
|
2080
2154
|
org)
|
|
2081
|
-
- manifest/packageXmlOnChange.xml
|
|
2082
|
-
definition in target org (can be useful for SharingRules for example)
|
|
2155
|
+
- `manifest/packageXmlOnChange.xml`: Every element defined in this file will not be deployed if it already has a
|
|
2156
|
+
similar definition in target org (can be useful for SharingRules for example)
|
|
2157
|
+
|
|
2158
|
+
## Deployment plan
|
|
2159
|
+
|
|
2160
|
+
If you need to deploy in multiple steps, you can define a property `deploymentPlan` in `.sfdx-hardis.yml`.
|
|
2083
2161
|
|
|
2084
|
-
|
|
2162
|
+
- If a file `manifest/package.xml` is found, it will be placed with order 0 in the deployment plan
|
|
2085
2163
|
|
|
2086
|
-
-
|
|
2087
|
-
|
|
2164
|
+
- If a file `manifest/destructiveChanges.xml` is found, it will be executed as --postdestructivechanges
|
|
2165
|
+
|
|
2166
|
+
- If env var `SFDX_HARDIS_DEPLOY_IGNORE_SPLIT_PACKAGES` is defined as `true` , split of package.xml will be ignored
|
|
2167
|
+
|
|
2168
|
+
Example:
|
|
2169
|
+
|
|
2170
|
+
```yaml
|
|
2171
|
+
deploymentPlan:
|
|
2172
|
+
packages:
|
|
2173
|
+
- label: Deploy Flow-Workflow
|
|
2174
|
+
packageXmlFile: manifest/splits/packageXmlFlowWorkflow.xml
|
|
2175
|
+
order: 6
|
|
2176
|
+
- label: Deploy SharingRules - Case
|
|
2177
|
+
packageXmlFile: manifest/splits/packageXmlSharingRulesCase.xml
|
|
2178
|
+
order: 30
|
|
2179
|
+
waitAfter: 30
|
|
2180
|
+
```
|
|
2181
|
+
|
|
2182
|
+
## Packages installation
|
|
2183
|
+
|
|
2184
|
+
You can define a list of package to install during deployments using property `installedPackages`
|
|
2185
|
+
|
|
2186
|
+
- If `INSTALL_PACKAGES_DURING_CHECK_DEPLOY` is defined as `true` (or `installPackagesDuringCheckDeploy: true` in
|
|
2187
|
+
`.sfdx-hardis.yml`), packages will be installed even if the command is called with `--check` mode
|
|
2188
|
+
- You can automatically update this property by listing all packages installed on an org using command `sfdx
|
|
2189
|
+
hardis:org:retrieve:packageconfig`
|
|
2190
|
+
|
|
2191
|
+
Example:
|
|
2192
|
+
|
|
2193
|
+
```yaml
|
|
2194
|
+
installedPackages:
|
|
2195
|
+
- Id: 0A35r0000009EtECAU
|
|
2196
|
+
SubscriberPackageId: 033i0000000LVMYAA4
|
|
2197
|
+
SubscriberPackageName: Marketing Cloud
|
|
2198
|
+
SubscriberPackageNamespace: et4ae5
|
|
2199
|
+
SubscriberPackageVersionId: 04t6S000000l11iQAA
|
|
2200
|
+
SubscriberPackageVersionName: Marketing Cloud
|
|
2201
|
+
SubscriberPackageVersionNumber: 236.0.0.2
|
|
2202
|
+
installOnScratchOrgs: true // true or false depending you want to install this package when
|
|
2203
|
+
creating a new scratch org
|
|
2204
|
+
installDuringDeployments: true // set as true to install package during a deployment using sfdx
|
|
2205
|
+
hardis:project:deploy:sources:dx
|
|
2206
|
+
installationkey: xxxxxxxxxxxxxxxxxxxx // if the package has a password, write it in this property
|
|
2207
|
+
- Id: 0A35r0000009F9CCAU
|
|
2208
|
+
SubscriberPackageId: 033b0000000Pf2AAAS
|
|
2209
|
+
SubscriberPackageName: Declarative Lookup Rollup Summaries Tool
|
|
2210
|
+
SubscriberPackageNamespace: dlrs
|
|
2211
|
+
SubscriberPackageVersionId: 04t5p000001BmLvAAK
|
|
2212
|
+
SubscriberPackageVersionName: Release
|
|
2213
|
+
SubscriberPackageVersionNumber: 2.15.0.9
|
|
2214
|
+
installOnScratchOrgs: true
|
|
2215
|
+
installDuringDeployments: true
|
|
2216
|
+
```
|
|
2088
2217
|
|
|
2089
2218
|
EXAMPLE
|
|
2090
2219
|
$ sfdx hardis:project:deploy:sources:dx
|
|
2091
2220
|
```
|
|
2092
2221
|
|
|
2093
|
-
_See code: [lib/commands/hardis/project/deploy/sources/dx.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2222
|
+
_See code: [lib/commands/hardis/project/deploy/sources/dx.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/deploy/sources/dx.js)_
|
|
2094
2223
|
|
|
2095
2224
|
## `sfdx hardis:project:deploy:sources:metadata [-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]`
|
|
2096
2225
|
|
|
@@ -2142,7 +2271,7 @@ EXAMPLE
|
|
|
2142
2271
|
$ sfdx hardis:project:deploy:sources:metadata
|
|
2143
2272
|
```
|
|
2144
2273
|
|
|
2145
|
-
_See code: [lib/commands/hardis/project/deploy/sources/metadata.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2274
|
+
_See code: [lib/commands/hardis/project/deploy/sources/metadata.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/deploy/sources/metadata.js)_
|
|
2146
2275
|
|
|
2147
2276
|
## `sfdx hardis:project:fix:v53flexipages [-p <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2148
2277
|
|
|
@@ -2178,7 +2307,7 @@ EXAMPLE
|
|
|
2178
2307
|
$ sfdx hardis:project:fix:v53flexipages
|
|
2179
2308
|
```
|
|
2180
2309
|
|
|
2181
|
-
_See code: [lib/commands/hardis/project/fix/v53flexipages.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2310
|
+
_See code: [lib/commands/hardis/project/fix/v53flexipages.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/fix/v53flexipages.js)_
|
|
2182
2311
|
|
|
2183
2312
|
## `sfdx hardis:project:generate:gitdelta [--branch <string>] [--fromcommit <string>] [--tocommit <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2184
2313
|
|
|
@@ -2211,7 +2340,7 @@ EXAMPLE
|
|
|
2211
2340
|
$ sfdx hardis:project:generate:gitdelta
|
|
2212
2341
|
```
|
|
2213
2342
|
|
|
2214
|
-
_See code: [lib/commands/hardis/project/generate/gitdelta.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2343
|
+
_See code: [lib/commands/hardis/project/generate/gitdelta.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/generate/gitdelta.js)_
|
|
2215
2344
|
|
|
2216
2345
|
## `sfdx hardis:project:lint [-f] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2217
2346
|
|
|
@@ -2248,7 +2377,7 @@ EXAMPLES
|
|
|
2248
2377
|
$ sfdx hardis:project:lint --fix
|
|
2249
2378
|
```
|
|
2250
2379
|
|
|
2251
|
-
_See code: [lib/commands/hardis/project/lint.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2380
|
+
_See code: [lib/commands/hardis/project/lint.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/project/lint.js)_
|
|
2252
2381
|
|
|
2253
2382
|
## `sfdx hardis:scratch:create [-n] [-d] [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2254
2383
|
|
|
@@ -2289,7 +2418,7 @@ EXAMPLE
|
|
|
2289
2418
|
$ sfdx hardis:scratch:create
|
|
2290
2419
|
```
|
|
2291
2420
|
|
|
2292
|
-
_See code: [lib/commands/hardis/scratch/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2421
|
+
_See code: [lib/commands/hardis/scratch/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/scratch/create.js)_
|
|
2293
2422
|
|
|
2294
2423
|
## `sfdx hardis:scratch:delete [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2295
2424
|
|
|
@@ -2324,7 +2453,7 @@ EXAMPLE
|
|
|
2324
2453
|
$ sfdx hardis:scratch:delete
|
|
2325
2454
|
```
|
|
2326
2455
|
|
|
2327
|
-
_See code: [lib/commands/hardis/scratch/delete.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2456
|
+
_See code: [lib/commands/hardis/scratch/delete.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/scratch/delete.js)_
|
|
2328
2457
|
|
|
2329
2458
|
## `sfdx hardis:scratch:pool:create [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2330
2459
|
|
|
@@ -2371,7 +2500,7 @@ EXAMPLE
|
|
|
2371
2500
|
$ sfdx hardis:scratch:pool:configure
|
|
2372
2501
|
```
|
|
2373
2502
|
|
|
2374
|
-
_See code: [lib/commands/hardis/scratch/pool/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2503
|
+
_See code: [lib/commands/hardis/scratch/pool/create.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/scratch/pool/create.js)_
|
|
2375
2504
|
|
|
2376
2505
|
## `sfdx hardis:scratch:pool:localauth [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2377
2506
|
|
|
@@ -2406,7 +2535,7 @@ EXAMPLE
|
|
|
2406
2535
|
$ sfdx hardis:scratch:pool:localauth
|
|
2407
2536
|
```
|
|
2408
2537
|
|
|
2409
|
-
_See code: [lib/commands/hardis/scratch/pool/localauth.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2538
|
+
_See code: [lib/commands/hardis/scratch/pool/localauth.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/scratch/pool/localauth.js)_
|
|
2410
2539
|
|
|
2411
2540
|
## `sfdx hardis:scratch:pool:refresh [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2412
2541
|
|
|
@@ -2441,7 +2570,7 @@ EXAMPLE
|
|
|
2441
2570
|
$ sfdx hardis:scratch:pool:refresh
|
|
2442
2571
|
```
|
|
2443
2572
|
|
|
2444
|
-
_See code: [lib/commands/hardis/scratch/pool/refresh.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2573
|
+
_See code: [lib/commands/hardis/scratch/pool/refresh.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/scratch/pool/refresh.js)_
|
|
2445
2574
|
|
|
2446
2575
|
## `sfdx hardis:scratch:pool:reset [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2447
2576
|
|
|
@@ -2476,7 +2605,7 @@ EXAMPLE
|
|
|
2476
2605
|
$ sfdx hardis:scratch:pool:refresh
|
|
2477
2606
|
```
|
|
2478
2607
|
|
|
2479
|
-
_See code: [lib/commands/hardis/scratch/pool/reset.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2608
|
+
_See code: [lib/commands/hardis/scratch/pool/reset.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/scratch/pool/reset.js)_
|
|
2480
2609
|
|
|
2481
2610
|
## `sfdx hardis:scratch:pool:view [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2482
2611
|
|
|
@@ -2511,7 +2640,7 @@ EXAMPLE
|
|
|
2511
2640
|
$ sfdx hardis:scratch:pool:view
|
|
2512
2641
|
```
|
|
2513
2642
|
|
|
2514
|
-
_See code: [lib/commands/hardis/scratch/pool/view.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2643
|
+
_See code: [lib/commands/hardis/scratch/pool/view.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/scratch/pool/view.js)_
|
|
2515
2644
|
|
|
2516
2645
|
## `sfdx hardis:scratch:pull [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2517
2646
|
|
|
@@ -2546,7 +2675,7 @@ EXAMPLE
|
|
|
2546
2675
|
$ sfdx hardis:scratch:pull
|
|
2547
2676
|
```
|
|
2548
2677
|
|
|
2549
|
-
_See code: [lib/commands/hardis/scratch/pull.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2678
|
+
_See code: [lib/commands/hardis/scratch/pull.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/scratch/pull.js)_
|
|
2550
2679
|
|
|
2551
2680
|
## `sfdx hardis:scratch:push [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2552
2681
|
|
|
@@ -2581,7 +2710,7 @@ EXAMPLE
|
|
|
2581
2710
|
$ sfdx hardis:scratch:push
|
|
2582
2711
|
```
|
|
2583
2712
|
|
|
2584
|
-
_See code: [lib/commands/hardis/scratch/push.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2713
|
+
_See code: [lib/commands/hardis/scratch/push.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/scratch/push.js)_
|
|
2585
2714
|
|
|
2586
2715
|
## `sfdx hardis:source:deploy [--soapdeploy] [-w <minutes>] [-q <id> | -x <filepath> | -m <array> | -p <array> | -c | -l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg | -r <array> | -o | -g] [--predestructivechanges <filepath> ] [--postdestructivechanges <filepath> ] [--debug] [--websocket <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2587
2716
|
|
|
@@ -2637,7 +2766,7 @@ DESCRIPTION
|
|
|
2637
2766
|
rce_source.htm#cli_reference_force_source_deploy)
|
|
2638
2767
|
```
|
|
2639
2768
|
|
|
2640
|
-
_See code: [lib/commands/hardis/source/deploy.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2769
|
+
_See code: [lib/commands/hardis/source/deploy.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/source/deploy.js)_
|
|
2641
2770
|
|
|
2642
2771
|
## `sfdx hardis:source:push [-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]`
|
|
2643
2772
|
|
|
@@ -2677,7 +2806,7 @@ DESCRIPTION
|
|
|
2677
2806
|
rce_source.htm#cli_reference_force_source_push)
|
|
2678
2807
|
```
|
|
2679
2808
|
|
|
2680
|
-
_See code: [lib/commands/hardis/source/push.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2809
|
+
_See code: [lib/commands/hardis/source/push.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/source/push.js)_
|
|
2681
2810
|
|
|
2682
2811
|
## `sfdx hardis:work:new [-d] [--websocket <string>] [--skipauth] [-v <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2683
2812
|
|
|
@@ -2712,7 +2841,7 @@ EXAMPLE
|
|
|
2712
2841
|
$ sfdx hardis:work:task:new
|
|
2713
2842
|
```
|
|
2714
2843
|
|
|
2715
|
-
_See code: [lib/commands/hardis/work/new.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2844
|
+
_See code: [lib/commands/hardis/work/new.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/work/new.js)_
|
|
2716
2845
|
|
|
2717
2846
|
## `sfdx hardis:work:refresh [-n] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2718
2847
|
|
|
@@ -2750,7 +2879,7 @@ EXAMPLE
|
|
|
2750
2879
|
$ sfdx hardis:work:refresh
|
|
2751
2880
|
```
|
|
2752
2881
|
|
|
2753
|
-
_See code: [lib/commands/hardis/work/refresh.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2882
|
+
_See code: [lib/commands/hardis/work/refresh.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/work/refresh.js)_
|
|
2754
2883
|
|
|
2755
2884
|
## `sfdx hardis:work:resetselection [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2756
2885
|
|
|
@@ -2785,7 +2914,7 @@ EXAMPLE
|
|
|
2785
2914
|
$ sfdx hardis:work:resetsave
|
|
2786
2915
|
```
|
|
2787
2916
|
|
|
2788
|
-
_See code: [lib/commands/hardis/work/resetselection.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2917
|
+
_See code: [lib/commands/hardis/work/resetselection.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/work/resetselection.js)_
|
|
2789
2918
|
|
|
2790
2919
|
## `sfdx hardis:work:save [-n] [-g] [-c] [-d] [--websocket <string>] [--skipauth] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2791
2920
|
|
|
@@ -2822,15 +2951,35 @@ OPTIONS
|
|
|
2822
2951
|
DESCRIPTION
|
|
2823
2952
|
Some properties can be defined in .sfdx-hardis.yml
|
|
2824
2953
|
|
|
2825
|
-
|
|
2826
|
-
|
|
2954
|
+
- autocleantypes: List of auto-performed sources cleanings, available on command hardis:project:clean:references
|
|
2955
|
+
- autoRemoveUserPermissions: List of userPermission to automatically remove from profile metadatas
|
|
2956
|
+
|
|
2957
|
+
Example:
|
|
2958
|
+
|
|
2959
|
+
```yaml
|
|
2960
|
+
autoCleanTypes:
|
|
2961
|
+
- destructivechanges
|
|
2962
|
+
- datadotcom
|
|
2963
|
+
- minimizeProfiles
|
|
2964
|
+
- listViewsMine
|
|
2965
|
+
autoRemoveUserPermissions:
|
|
2966
|
+
- EnableCommunityAppLauncher
|
|
2967
|
+
- FieldServiceAccess
|
|
2968
|
+
- OmnichannelInventorySync
|
|
2969
|
+
- SendExternalEmailAvailable
|
|
2970
|
+
- UseOmnichannelInventoryAPIs
|
|
2971
|
+
- ViewDataLeakageEvents
|
|
2972
|
+
- ViewMLModels
|
|
2973
|
+
- ViewPlatformEvents
|
|
2974
|
+
- WorkCalibrationUser
|
|
2975
|
+
```
|
|
2827
2976
|
|
|
2828
2977
|
EXAMPLES
|
|
2829
2978
|
$ sfdx hardis:work:task:save
|
|
2830
2979
|
$ sfdx hardis:work:task:save --nopull --nogit --noclean
|
|
2831
2980
|
```
|
|
2832
2981
|
|
|
2833
|
-
_See code: [lib/commands/hardis/work/save.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
2982
|
+
_See code: [lib/commands/hardis/work/save.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/work/save.js)_
|
|
2834
2983
|
|
|
2835
2984
|
## `sfdx hardis:work:ws [-e <string>] [-d] [--websocket <string>] [--skipauth] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`
|
|
2836
2985
|
|
|
@@ -2859,5 +3008,5 @@ EXAMPLE
|
|
|
2859
3008
|
$ sfdx hardis:work:ws --event refreshStatus
|
|
2860
3009
|
```
|
|
2861
3010
|
|
|
2862
|
-
_See code: [lib/commands/hardis/work/ws.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.
|
|
3011
|
+
_See code: [lib/commands/hardis/work/ws.js](https://github.com/hardisgroupcom/sfdx-hardis/blob/v2.78.4/lib/commands/hardis/work/ws.js)_
|
|
2863
3012
|
<!-- commandsstop -->
|