sfdx-hardis 5.17.3 → 5.17.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 +5 -0
- package/lib/commands/hardis/doc/mkdocs-to-cf.d.ts +31 -0
- package/lib/commands/hardis/doc/mkdocs-to-cf.js +222 -0
- package/lib/commands/hardis/doc/mkdocs-to-cf.js.map +1 -0
- package/lib/commands/hardis/doc/mkdocs-to-salesforce.d.ts +0 -2
- package/lib/commands/hardis/doc/mkdocs-to-salesforce.js +2 -30
- package/lib/commands/hardis/doc/mkdocs-to-salesforce.js.map +1 -1
- package/lib/commands/hardis/doc/project2markdown.js +1 -1
- package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
- package/lib/common/utils/docUtils.d.ts +2 -0
- package/lib/common/utils/docUtils.js +29 -1
- package/lib/common/utils/docUtils.js.map +1 -1
- package/oclif.lock +13 -0
- package/oclif.manifest.json +366 -278
- package/package.json +2 -1
package/oclif.manifest.json
CHANGED
|
@@ -57,13 +57,12 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:cache:clear": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
66
|
-
"CI=true sf hardis:auth:login"
|
|
65
|
+
"$ sf hardis:cache:clear"
|
|
67
66
|
],
|
|
68
67
|
"flags": {
|
|
69
68
|
"json": {
|
|
@@ -81,28 +80,6 @@
|
|
|
81
80
|
"multiple": false,
|
|
82
81
|
"type": "option"
|
|
83
82
|
},
|
|
84
|
-
"instanceurl": {
|
|
85
|
-
"char": "r",
|
|
86
|
-
"description": "URL of org instance",
|
|
87
|
-
"name": "instanceurl",
|
|
88
|
-
"hasDynamicHelp": false,
|
|
89
|
-
"multiple": false,
|
|
90
|
-
"type": "option"
|
|
91
|
-
},
|
|
92
|
-
"devhub": {
|
|
93
|
-
"char": "h",
|
|
94
|
-
"description": "Also connect associated DevHub",
|
|
95
|
-
"name": "devhub",
|
|
96
|
-
"allowNo": false,
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
},
|
|
99
|
-
"scratchorg": {
|
|
100
|
-
"char": "s",
|
|
101
|
-
"description": "Scratch org",
|
|
102
|
-
"name": "scratchorg",
|
|
103
|
-
"allowNo": false,
|
|
104
|
-
"type": "boolean"
|
|
105
|
-
},
|
|
106
83
|
"debug": {
|
|
107
84
|
"char": "d",
|
|
108
85
|
"description": "Activate debug mode (more logs)",
|
|
@@ -126,38 +103,39 @@
|
|
|
126
103
|
},
|
|
127
104
|
"hasDynamicHelp": false,
|
|
128
105
|
"hiddenAliases": [],
|
|
129
|
-
"id": "hardis:
|
|
106
|
+
"id": "hardis:cache:clear",
|
|
130
107
|
"pluginAlias": "sfdx-hardis",
|
|
131
108
|
"pluginName": "sfdx-hardis",
|
|
132
109
|
"pluginType": "core",
|
|
133
110
|
"strict": true,
|
|
134
111
|
"enableJsonFlag": true,
|
|
135
|
-
"title": "
|
|
112
|
+
"title": "Clear sfdx-hardis cache",
|
|
136
113
|
"requiresProject": false,
|
|
137
114
|
"isESM": true,
|
|
138
115
|
"relativePath": [
|
|
139
116
|
"lib",
|
|
140
117
|
"commands",
|
|
141
118
|
"hardis",
|
|
142
|
-
"
|
|
143
|
-
"
|
|
119
|
+
"cache",
|
|
120
|
+
"clear.js"
|
|
144
121
|
],
|
|
145
122
|
"aliasPermutations": [],
|
|
146
123
|
"permutations": [
|
|
147
|
-
"hardis:
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"hardis:
|
|
151
|
-
"
|
|
152
|
-
"
|
|
124
|
+
"hardis:cache:clear",
|
|
125
|
+
"cache:hardis:clear",
|
|
126
|
+
"cache:clear:hardis",
|
|
127
|
+
"hardis:clear:cache",
|
|
128
|
+
"clear:hardis:cache",
|
|
129
|
+
"clear:cache:hardis"
|
|
153
130
|
]
|
|
154
131
|
},
|
|
155
|
-
"hardis:
|
|
132
|
+
"hardis:auth:login": {
|
|
156
133
|
"aliases": [],
|
|
157
134
|
"args": {},
|
|
158
|
-
"description": "
|
|
135
|
+
"description": "Login to salesforce org",
|
|
159
136
|
"examples": [
|
|
160
|
-
"$ sf hardis:
|
|
137
|
+
"$ sf hardis:auth:login",
|
|
138
|
+
"CI=true sf hardis:auth:login"
|
|
161
139
|
],
|
|
162
140
|
"flags": {
|
|
163
141
|
"json": {
|
|
@@ -175,6 +153,28 @@
|
|
|
175
153
|
"multiple": false,
|
|
176
154
|
"type": "option"
|
|
177
155
|
},
|
|
156
|
+
"instanceurl": {
|
|
157
|
+
"char": "r",
|
|
158
|
+
"description": "URL of org instance",
|
|
159
|
+
"name": "instanceurl",
|
|
160
|
+
"hasDynamicHelp": false,
|
|
161
|
+
"multiple": false,
|
|
162
|
+
"type": "option"
|
|
163
|
+
},
|
|
164
|
+
"devhub": {
|
|
165
|
+
"char": "h",
|
|
166
|
+
"description": "Also connect associated DevHub",
|
|
167
|
+
"name": "devhub",
|
|
168
|
+
"allowNo": false,
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"scratchorg": {
|
|
172
|
+
"char": "s",
|
|
173
|
+
"description": "Scratch org",
|
|
174
|
+
"name": "scratchorg",
|
|
175
|
+
"allowNo": false,
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
178
178
|
"debug": {
|
|
179
179
|
"char": "d",
|
|
180
180
|
"description": "Activate debug mode (more logs)",
|
|
@@ -198,30 +198,30 @@
|
|
|
198
198
|
},
|
|
199
199
|
"hasDynamicHelp": false,
|
|
200
200
|
"hiddenAliases": [],
|
|
201
|
-
"id": "hardis:
|
|
201
|
+
"id": "hardis:auth:login",
|
|
202
202
|
"pluginAlias": "sfdx-hardis",
|
|
203
203
|
"pluginName": "sfdx-hardis",
|
|
204
204
|
"pluginType": "core",
|
|
205
205
|
"strict": true,
|
|
206
206
|
"enableJsonFlag": true,
|
|
207
|
-
"title": "
|
|
207
|
+
"title": "Login",
|
|
208
208
|
"requiresProject": false,
|
|
209
209
|
"isESM": true,
|
|
210
210
|
"relativePath": [
|
|
211
211
|
"lib",
|
|
212
212
|
"commands",
|
|
213
213
|
"hardis",
|
|
214
|
-
"
|
|
215
|
-
"
|
|
214
|
+
"auth",
|
|
215
|
+
"login.js"
|
|
216
216
|
],
|
|
217
217
|
"aliasPermutations": [],
|
|
218
218
|
"permutations": [
|
|
219
|
-
"hardis:
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
219
|
+
"hardis:auth:login",
|
|
220
|
+
"auth:hardis:login",
|
|
221
|
+
"auth:login:hardis",
|
|
222
|
+
"hardis:login:auth",
|
|
223
|
+
"login:hardis:auth",
|
|
224
|
+
"login:auth:hardis"
|
|
225
225
|
]
|
|
226
226
|
},
|
|
227
227
|
"hardis:config:get": {
|
|
@@ -405,6 +405,94 @@
|
|
|
405
405
|
"flow2markdown:doc:hardis"
|
|
406
406
|
]
|
|
407
407
|
},
|
|
408
|
+
"hardis:doc:mkdocs-to-cf": {
|
|
409
|
+
"aliases": [],
|
|
410
|
+
"args": {},
|
|
411
|
+
"description": "Generates MkDocs HTML pages and upload them to Cloudflare as a static pages\n\nThis command performs the following operations:\n\n- Generates MkDocs HTML pages (using locally installed mkdocs-material, or using mkdocs docker image)\n- Creates a Cloudflare pages app\n- Assigns a policy restricting access to the application\n- Opens the new WebSite in the default browser (only if not in CI context)\n\nNote: the documentation must have been previously generated using \"sf hardis:doc:project2markdown --with-history\"\n\nYou can:\n\n- Override default styles by customizing mkdocs.yml\n\nMore info on [Documentation section](https://sfdx-hardis.cloudity.com/salesforce-project-documentation/)\n\n\n| Variable | Description | Default |\n| :----------------------------------------- | :---------- | :-----: |\n| `CLOUDFLARE_EMAIL` | Cloudflare account email | <!--- Required --> |\n| `CLOUDFLARE_API_KEY` | Cloudflare API key | <!--- Required --> |\n| `CLOUDFLARE_ACCOUNT_ID` | Cloudflare account | <!--- Required --> |\n| `CLOUDFLARE_PROJECT_NAME` | Project name, that will also be used for site URL | Built from git branch name |\n| `CLOUDFLARE_DEFAULT_LOGIN_METHOD_TYPE` | Cloudflare default login method type | `onetimepin` |\n| `CLOUDFLARE_DEFAULT_ACCESS_EMAIL_DOMAIN` | Cloudflare default access email domain | `@cloudity.com` |\n\n",
|
|
412
|
+
"examples": [
|
|
413
|
+
"$ sf hardis:doc:mkdocs-to-cf",
|
|
414
|
+
"$ CLOUDFLARE_EMAIL=xxx@xxx.com CLOUDFLARE_API_TOKEN=zzzzzz CLOUDFLARE_ACCOUNT_ID=zzzzz sf hardis:doc:mkdocs-to-cf"
|
|
415
|
+
],
|
|
416
|
+
"flags": {
|
|
417
|
+
"json": {
|
|
418
|
+
"description": "Format output as json.",
|
|
419
|
+
"helpGroup": "GLOBAL",
|
|
420
|
+
"name": "json",
|
|
421
|
+
"allowNo": false,
|
|
422
|
+
"type": "boolean"
|
|
423
|
+
},
|
|
424
|
+
"flags-dir": {
|
|
425
|
+
"helpGroup": "GLOBAL",
|
|
426
|
+
"name": "flags-dir",
|
|
427
|
+
"summary": "Import flag values from a directory.",
|
|
428
|
+
"hasDynamicHelp": false,
|
|
429
|
+
"multiple": false,
|
|
430
|
+
"type": "option"
|
|
431
|
+
},
|
|
432
|
+
"debug": {
|
|
433
|
+
"char": "d",
|
|
434
|
+
"description": "Activate debug mode (more logs)",
|
|
435
|
+
"name": "debug",
|
|
436
|
+
"allowNo": false,
|
|
437
|
+
"type": "boolean"
|
|
438
|
+
},
|
|
439
|
+
"websocket": {
|
|
440
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
441
|
+
"name": "websocket",
|
|
442
|
+
"hasDynamicHelp": false,
|
|
443
|
+
"multiple": false,
|
|
444
|
+
"type": "option"
|
|
445
|
+
},
|
|
446
|
+
"skipauth": {
|
|
447
|
+
"description": "Skip authentication check when a default username is required",
|
|
448
|
+
"name": "skipauth",
|
|
449
|
+
"allowNo": false,
|
|
450
|
+
"type": "boolean"
|
|
451
|
+
},
|
|
452
|
+
"target-org": {
|
|
453
|
+
"aliases": [
|
|
454
|
+
"targetusername",
|
|
455
|
+
"u"
|
|
456
|
+
],
|
|
457
|
+
"char": "o",
|
|
458
|
+
"deprecateAliases": true,
|
|
459
|
+
"name": "target-org",
|
|
460
|
+
"noCacheDefault": true,
|
|
461
|
+
"required": true,
|
|
462
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
463
|
+
"hasDynamicHelp": true,
|
|
464
|
+
"multiple": false,
|
|
465
|
+
"type": "option"
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"hasDynamicHelp": true,
|
|
469
|
+
"hiddenAliases": [],
|
|
470
|
+
"id": "hardis:doc:mkdocs-to-cf",
|
|
471
|
+
"pluginAlias": "sfdx-hardis",
|
|
472
|
+
"pluginName": "sfdx-hardis",
|
|
473
|
+
"pluginType": "core",
|
|
474
|
+
"strict": true,
|
|
475
|
+
"enableJsonFlag": true,
|
|
476
|
+
"title": "MkDocs to Cloudflare",
|
|
477
|
+
"requiresProject": true,
|
|
478
|
+
"isESM": true,
|
|
479
|
+
"relativePath": [
|
|
480
|
+
"lib",
|
|
481
|
+
"commands",
|
|
482
|
+
"hardis",
|
|
483
|
+
"doc",
|
|
484
|
+
"mkdocs-to-cf.js"
|
|
485
|
+
],
|
|
486
|
+
"aliasPermutations": [],
|
|
487
|
+
"permutations": [
|
|
488
|
+
"hardis:doc:mkdocs-to-cf",
|
|
489
|
+
"doc:hardis:mkdocs-to-cf",
|
|
490
|
+
"doc:mkdocs-to-cf:hardis",
|
|
491
|
+
"hardis:mkdocs-to-cf:doc",
|
|
492
|
+
"mkdocs-to-cf:hardis:doc",
|
|
493
|
+
"mkdocs-to-cf:doc:hardis"
|
|
494
|
+
]
|
|
495
|
+
},
|
|
408
496
|
"hardis:doc:mkdocs-to-salesforce": {
|
|
409
497
|
"aliases": [],
|
|
410
498
|
"args": {},
|
|
@@ -708,11 +796,15 @@
|
|
|
708
796
|
"project2markdown:doc:hardis"
|
|
709
797
|
]
|
|
710
798
|
},
|
|
711
|
-
"hardis:
|
|
799
|
+
"hardis:lint:access": {
|
|
712
800
|
"aliases": [],
|
|
713
801
|
"args": {},
|
|
714
|
-
"description": "
|
|
715
|
-
"examples": [
|
|
802
|
+
"description": "Check if elements(apex class and field) are at least in one permission set\n \nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-missing-access/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
803
|
+
"examples": [
|
|
804
|
+
"$ sf hardis:lint:access",
|
|
805
|
+
"$ sf hardis:lint:access -e \"ApexClass:ClassA, CustomField:Account.CustomField\"",
|
|
806
|
+
"$ sf hardis:lint:access -i \"PermissionSet:permissionSetA, Profile\""
|
|
807
|
+
],
|
|
716
808
|
"flags": {
|
|
717
809
|
"json": {
|
|
718
810
|
"description": "Format output as json.",
|
|
@@ -729,249 +821,54 @@
|
|
|
729
821
|
"multiple": false,
|
|
730
822
|
"type": "option"
|
|
731
823
|
},
|
|
732
|
-
"
|
|
733
|
-
"char": "
|
|
734
|
-
"description": "
|
|
735
|
-
"name": "
|
|
736
|
-
"
|
|
737
|
-
"type": "boolean"
|
|
738
|
-
},
|
|
739
|
-
"deploydir": {
|
|
740
|
-
"char": "d",
|
|
741
|
-
"description": "deployDir",
|
|
742
|
-
"name": "deploydir",
|
|
824
|
+
"elementsignored": {
|
|
825
|
+
"char": "e",
|
|
826
|
+
"description": "Ignore specific elements separated by commas",
|
|
827
|
+
"name": "elementsignored",
|
|
828
|
+
"default": "",
|
|
743
829
|
"hasDynamicHelp": false,
|
|
744
830
|
"multiple": false,
|
|
745
831
|
"type": "option"
|
|
746
832
|
},
|
|
747
|
-
"
|
|
748
|
-
"char": "
|
|
749
|
-
"description": "
|
|
750
|
-
"name": "
|
|
751
|
-
"default":
|
|
833
|
+
"ignorerights": {
|
|
834
|
+
"char": "i",
|
|
835
|
+
"description": "Ignore permission sets or profiles",
|
|
836
|
+
"name": "ignorerights",
|
|
837
|
+
"default": "",
|
|
752
838
|
"hasDynamicHelp": false,
|
|
753
839
|
"multiple": false,
|
|
754
840
|
"type": "option"
|
|
755
841
|
},
|
|
756
|
-
"
|
|
757
|
-
"char": "
|
|
758
|
-
"description": "
|
|
759
|
-
"name": "
|
|
760
|
-
"default": "
|
|
842
|
+
"folder": {
|
|
843
|
+
"char": "f",
|
|
844
|
+
"description": "Root folder",
|
|
845
|
+
"name": "folder",
|
|
846
|
+
"default": "force-app",
|
|
761
847
|
"hasDynamicHelp": false,
|
|
762
848
|
"multiple": false,
|
|
763
|
-
"options": [
|
|
764
|
-
"NoTestRun",
|
|
765
|
-
"RunSpecifiedTests",
|
|
766
|
-
"RunLocalTests",
|
|
767
|
-
"RunAllTestsInOrg"
|
|
768
|
-
],
|
|
769
849
|
"type": "option"
|
|
770
850
|
},
|
|
771
|
-
"
|
|
772
|
-
"char": "
|
|
773
|
-
"description": "
|
|
774
|
-
"name": "
|
|
775
|
-
"default": [],
|
|
851
|
+
"outputfile": {
|
|
852
|
+
"char": "x",
|
|
853
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
854
|
+
"name": "outputfile",
|
|
776
855
|
"hasDynamicHelp": false,
|
|
777
|
-
"multiple":
|
|
856
|
+
"multiple": false,
|
|
778
857
|
"type": "option"
|
|
779
858
|
},
|
|
780
|
-
"
|
|
781
|
-
"
|
|
782
|
-
"
|
|
859
|
+
"debug": {
|
|
860
|
+
"char": "d",
|
|
861
|
+
"description": "Activate debug mode (more logs)",
|
|
862
|
+
"name": "debug",
|
|
783
863
|
"allowNo": false,
|
|
784
864
|
"type": "boolean"
|
|
785
865
|
},
|
|
786
|
-
"
|
|
787
|
-
"
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
"
|
|
791
|
-
"type": "
|
|
792
|
-
},
|
|
793
|
-
"validateddeployrequestid": {
|
|
794
|
-
"char": "q",
|
|
795
|
-
"description": "validatedDeployRequestId",
|
|
796
|
-
"exclusive": [
|
|
797
|
-
"testlevel",
|
|
798
|
-
"runtests",
|
|
799
|
-
"ignoreerrors",
|
|
800
|
-
"ignorewarnings",
|
|
801
|
-
"checkonly"
|
|
802
|
-
],
|
|
803
|
-
"name": "validateddeployrequestid",
|
|
804
|
-
"hasDynamicHelp": false,
|
|
805
|
-
"multiple": false,
|
|
806
|
-
"type": "option"
|
|
807
|
-
},
|
|
808
|
-
"verbose": {
|
|
809
|
-
"description": "verbose",
|
|
810
|
-
"name": "verbose",
|
|
811
|
-
"allowNo": false,
|
|
812
|
-
"type": "boolean"
|
|
813
|
-
},
|
|
814
|
-
"zipfile": {
|
|
815
|
-
"char": "f",
|
|
816
|
-
"description": "zipFile",
|
|
817
|
-
"name": "zipfile",
|
|
818
|
-
"hasDynamicHelp": false,
|
|
819
|
-
"multiple": false,
|
|
820
|
-
"type": "option"
|
|
821
|
-
},
|
|
822
|
-
"singlepackage": {
|
|
823
|
-
"char": "s",
|
|
824
|
-
"description": "singlePackage",
|
|
825
|
-
"name": "singlepackage",
|
|
826
|
-
"allowNo": false,
|
|
827
|
-
"type": "boolean"
|
|
828
|
-
},
|
|
829
|
-
"soapdeploy": {
|
|
830
|
-
"description": "soapDeploy",
|
|
831
|
-
"name": "soapdeploy",
|
|
832
|
-
"allowNo": false,
|
|
833
|
-
"type": "boolean"
|
|
834
|
-
},
|
|
835
|
-
"purgeondelete": {
|
|
836
|
-
"description": "purgeOnDelete",
|
|
837
|
-
"name": "purgeondelete",
|
|
838
|
-
"allowNo": false,
|
|
839
|
-
"type": "boolean"
|
|
840
|
-
},
|
|
841
|
-
"concise": {
|
|
842
|
-
"description": "concise",
|
|
843
|
-
"name": "concise",
|
|
844
|
-
"allowNo": false,
|
|
845
|
-
"type": "boolean"
|
|
846
|
-
},
|
|
847
|
-
"debug": {
|
|
848
|
-
"description": "debug",
|
|
849
|
-
"name": "debug",
|
|
850
|
-
"allowNo": false,
|
|
851
|
-
"type": "boolean"
|
|
852
|
-
},
|
|
853
|
-
"websocket": {
|
|
854
|
-
"description": "websocket",
|
|
855
|
-
"name": "websocket",
|
|
856
|
-
"hasDynamicHelp": false,
|
|
857
|
-
"multiple": false,
|
|
858
|
-
"type": "option"
|
|
859
|
-
},
|
|
860
|
-
"target-org": {
|
|
861
|
-
"aliases": [
|
|
862
|
-
"targetusername",
|
|
863
|
-
"u"
|
|
864
|
-
],
|
|
865
|
-
"char": "o",
|
|
866
|
-
"deprecateAliases": true,
|
|
867
|
-
"name": "target-org",
|
|
868
|
-
"noCacheDefault": true,
|
|
869
|
-
"required": true,
|
|
870
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
871
|
-
"hasDynamicHelp": true,
|
|
872
|
-
"multiple": false,
|
|
873
|
-
"type": "option"
|
|
874
|
-
}
|
|
875
|
-
},
|
|
876
|
-
"hasDynamicHelp": true,
|
|
877
|
-
"hiddenAliases": [],
|
|
878
|
-
"id": "hardis:mdapi:deploy",
|
|
879
|
-
"pluginAlias": "sfdx-hardis",
|
|
880
|
-
"pluginName": "sfdx-hardis",
|
|
881
|
-
"pluginType": "core",
|
|
882
|
-
"strict": true,
|
|
883
|
-
"enableJsonFlag": true,
|
|
884
|
-
"isESM": true,
|
|
885
|
-
"relativePath": [
|
|
886
|
-
"lib",
|
|
887
|
-
"commands",
|
|
888
|
-
"hardis",
|
|
889
|
-
"mdapi",
|
|
890
|
-
"deploy.js"
|
|
891
|
-
],
|
|
892
|
-
"aliasPermutations": [],
|
|
893
|
-
"permutations": [
|
|
894
|
-
"hardis:mdapi:deploy",
|
|
895
|
-
"mdapi:hardis:deploy",
|
|
896
|
-
"mdapi:deploy:hardis",
|
|
897
|
-
"hardis:deploy:mdapi",
|
|
898
|
-
"deploy:hardis:mdapi",
|
|
899
|
-
"deploy:mdapi:hardis"
|
|
900
|
-
]
|
|
901
|
-
},
|
|
902
|
-
"hardis:lint:access": {
|
|
903
|
-
"aliases": [],
|
|
904
|
-
"args": {},
|
|
905
|
-
"description": "Check if elements(apex class and field) are at least in one permission set\n \nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-missing-access/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
906
|
-
"examples": [
|
|
907
|
-
"$ sf hardis:lint:access",
|
|
908
|
-
"$ sf hardis:lint:access -e \"ApexClass:ClassA, CustomField:Account.CustomField\"",
|
|
909
|
-
"$ sf hardis:lint:access -i \"PermissionSet:permissionSetA, Profile\""
|
|
910
|
-
],
|
|
911
|
-
"flags": {
|
|
912
|
-
"json": {
|
|
913
|
-
"description": "Format output as json.",
|
|
914
|
-
"helpGroup": "GLOBAL",
|
|
915
|
-
"name": "json",
|
|
916
|
-
"allowNo": false,
|
|
917
|
-
"type": "boolean"
|
|
918
|
-
},
|
|
919
|
-
"flags-dir": {
|
|
920
|
-
"helpGroup": "GLOBAL",
|
|
921
|
-
"name": "flags-dir",
|
|
922
|
-
"summary": "Import flag values from a directory.",
|
|
923
|
-
"hasDynamicHelp": false,
|
|
924
|
-
"multiple": false,
|
|
925
|
-
"type": "option"
|
|
926
|
-
},
|
|
927
|
-
"elementsignored": {
|
|
928
|
-
"char": "e",
|
|
929
|
-
"description": "Ignore specific elements separated by commas",
|
|
930
|
-
"name": "elementsignored",
|
|
931
|
-
"default": "",
|
|
932
|
-
"hasDynamicHelp": false,
|
|
933
|
-
"multiple": false,
|
|
934
|
-
"type": "option"
|
|
935
|
-
},
|
|
936
|
-
"ignorerights": {
|
|
937
|
-
"char": "i",
|
|
938
|
-
"description": "Ignore permission sets or profiles",
|
|
939
|
-
"name": "ignorerights",
|
|
940
|
-
"default": "",
|
|
941
|
-
"hasDynamicHelp": false,
|
|
942
|
-
"multiple": false,
|
|
943
|
-
"type": "option"
|
|
944
|
-
},
|
|
945
|
-
"folder": {
|
|
946
|
-
"char": "f",
|
|
947
|
-
"description": "Root folder",
|
|
948
|
-
"name": "folder",
|
|
949
|
-
"default": "force-app",
|
|
950
|
-
"hasDynamicHelp": false,
|
|
951
|
-
"multiple": false,
|
|
952
|
-
"type": "option"
|
|
953
|
-
},
|
|
954
|
-
"outputfile": {
|
|
955
|
-
"char": "x",
|
|
956
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
957
|
-
"name": "outputfile",
|
|
958
|
-
"hasDynamicHelp": false,
|
|
959
|
-
"multiple": false,
|
|
960
|
-
"type": "option"
|
|
961
|
-
},
|
|
962
|
-
"debug": {
|
|
963
|
-
"char": "d",
|
|
964
|
-
"description": "Activate debug mode (more logs)",
|
|
965
|
-
"name": "debug",
|
|
966
|
-
"allowNo": false,
|
|
967
|
-
"type": "boolean"
|
|
968
|
-
},
|
|
969
|
-
"websocket": {
|
|
970
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
971
|
-
"name": "websocket",
|
|
972
|
-
"hasDynamicHelp": false,
|
|
973
|
-
"multiple": false,
|
|
974
|
-
"type": "option"
|
|
866
|
+
"websocket": {
|
|
867
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
868
|
+
"name": "websocket",
|
|
869
|
+
"hasDynamicHelp": false,
|
|
870
|
+
"multiple": false,
|
|
871
|
+
"type": "option"
|
|
975
872
|
},
|
|
976
873
|
"skipauth": {
|
|
977
874
|
"description": "Skip authentication check when a default username is required",
|
|
@@ -1337,6 +1234,197 @@
|
|
|
1337
1234
|
"unusedmetadatas:lint:hardis"
|
|
1338
1235
|
]
|
|
1339
1236
|
},
|
|
1237
|
+
"hardis:mdapi:deploy": {
|
|
1238
|
+
"aliases": [],
|
|
1239
|
+
"args": {},
|
|
1240
|
+
"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",
|
|
1241
|
+
"examples": [],
|
|
1242
|
+
"flags": {
|
|
1243
|
+
"json": {
|
|
1244
|
+
"description": "Format output as json.",
|
|
1245
|
+
"helpGroup": "GLOBAL",
|
|
1246
|
+
"name": "json",
|
|
1247
|
+
"allowNo": false,
|
|
1248
|
+
"type": "boolean"
|
|
1249
|
+
},
|
|
1250
|
+
"flags-dir": {
|
|
1251
|
+
"helpGroup": "GLOBAL",
|
|
1252
|
+
"name": "flags-dir",
|
|
1253
|
+
"summary": "Import flag values from a directory.",
|
|
1254
|
+
"hasDynamicHelp": false,
|
|
1255
|
+
"multiple": false,
|
|
1256
|
+
"type": "option"
|
|
1257
|
+
},
|
|
1258
|
+
"checkonly": {
|
|
1259
|
+
"char": "c",
|
|
1260
|
+
"description": "checkOnly",
|
|
1261
|
+
"name": "checkonly",
|
|
1262
|
+
"allowNo": false,
|
|
1263
|
+
"type": "boolean"
|
|
1264
|
+
},
|
|
1265
|
+
"deploydir": {
|
|
1266
|
+
"char": "d",
|
|
1267
|
+
"description": "deployDir",
|
|
1268
|
+
"name": "deploydir",
|
|
1269
|
+
"hasDynamicHelp": false,
|
|
1270
|
+
"multiple": false,
|
|
1271
|
+
"type": "option"
|
|
1272
|
+
},
|
|
1273
|
+
"wait": {
|
|
1274
|
+
"char": "w",
|
|
1275
|
+
"description": "wait",
|
|
1276
|
+
"name": "wait",
|
|
1277
|
+
"default": 120,
|
|
1278
|
+
"hasDynamicHelp": false,
|
|
1279
|
+
"multiple": false,
|
|
1280
|
+
"type": "option"
|
|
1281
|
+
},
|
|
1282
|
+
"testlevel": {
|
|
1283
|
+
"char": "l",
|
|
1284
|
+
"description": "testLevel",
|
|
1285
|
+
"name": "testlevel",
|
|
1286
|
+
"default": "NoTestRun",
|
|
1287
|
+
"hasDynamicHelp": false,
|
|
1288
|
+
"multiple": false,
|
|
1289
|
+
"options": [
|
|
1290
|
+
"NoTestRun",
|
|
1291
|
+
"RunSpecifiedTests",
|
|
1292
|
+
"RunLocalTests",
|
|
1293
|
+
"RunAllTestsInOrg"
|
|
1294
|
+
],
|
|
1295
|
+
"type": "option"
|
|
1296
|
+
},
|
|
1297
|
+
"runtests": {
|
|
1298
|
+
"char": "r",
|
|
1299
|
+
"description": "runTests",
|
|
1300
|
+
"name": "runtests",
|
|
1301
|
+
"default": [],
|
|
1302
|
+
"hasDynamicHelp": false,
|
|
1303
|
+
"multiple": true,
|
|
1304
|
+
"type": "option"
|
|
1305
|
+
},
|
|
1306
|
+
"ignoreerrors": {
|
|
1307
|
+
"description": "ignoreErrors",
|
|
1308
|
+
"name": "ignoreerrors",
|
|
1309
|
+
"allowNo": false,
|
|
1310
|
+
"type": "boolean"
|
|
1311
|
+
},
|
|
1312
|
+
"ignorewarnings": {
|
|
1313
|
+
"char": "g",
|
|
1314
|
+
"description": "ignoreWarnings",
|
|
1315
|
+
"name": "ignorewarnings",
|
|
1316
|
+
"allowNo": false,
|
|
1317
|
+
"type": "boolean"
|
|
1318
|
+
},
|
|
1319
|
+
"validateddeployrequestid": {
|
|
1320
|
+
"char": "q",
|
|
1321
|
+
"description": "validatedDeployRequestId",
|
|
1322
|
+
"exclusive": [
|
|
1323
|
+
"testlevel",
|
|
1324
|
+
"runtests",
|
|
1325
|
+
"ignoreerrors",
|
|
1326
|
+
"ignorewarnings",
|
|
1327
|
+
"checkonly"
|
|
1328
|
+
],
|
|
1329
|
+
"name": "validateddeployrequestid",
|
|
1330
|
+
"hasDynamicHelp": false,
|
|
1331
|
+
"multiple": false,
|
|
1332
|
+
"type": "option"
|
|
1333
|
+
},
|
|
1334
|
+
"verbose": {
|
|
1335
|
+
"description": "verbose",
|
|
1336
|
+
"name": "verbose",
|
|
1337
|
+
"allowNo": false,
|
|
1338
|
+
"type": "boolean"
|
|
1339
|
+
},
|
|
1340
|
+
"zipfile": {
|
|
1341
|
+
"char": "f",
|
|
1342
|
+
"description": "zipFile",
|
|
1343
|
+
"name": "zipfile",
|
|
1344
|
+
"hasDynamicHelp": false,
|
|
1345
|
+
"multiple": false,
|
|
1346
|
+
"type": "option"
|
|
1347
|
+
},
|
|
1348
|
+
"singlepackage": {
|
|
1349
|
+
"char": "s",
|
|
1350
|
+
"description": "singlePackage",
|
|
1351
|
+
"name": "singlepackage",
|
|
1352
|
+
"allowNo": false,
|
|
1353
|
+
"type": "boolean"
|
|
1354
|
+
},
|
|
1355
|
+
"soapdeploy": {
|
|
1356
|
+
"description": "soapDeploy",
|
|
1357
|
+
"name": "soapdeploy",
|
|
1358
|
+
"allowNo": false,
|
|
1359
|
+
"type": "boolean"
|
|
1360
|
+
},
|
|
1361
|
+
"purgeondelete": {
|
|
1362
|
+
"description": "purgeOnDelete",
|
|
1363
|
+
"name": "purgeondelete",
|
|
1364
|
+
"allowNo": false,
|
|
1365
|
+
"type": "boolean"
|
|
1366
|
+
},
|
|
1367
|
+
"concise": {
|
|
1368
|
+
"description": "concise",
|
|
1369
|
+
"name": "concise",
|
|
1370
|
+
"allowNo": false,
|
|
1371
|
+
"type": "boolean"
|
|
1372
|
+
},
|
|
1373
|
+
"debug": {
|
|
1374
|
+
"description": "debug",
|
|
1375
|
+
"name": "debug",
|
|
1376
|
+
"allowNo": false,
|
|
1377
|
+
"type": "boolean"
|
|
1378
|
+
},
|
|
1379
|
+
"websocket": {
|
|
1380
|
+
"description": "websocket",
|
|
1381
|
+
"name": "websocket",
|
|
1382
|
+
"hasDynamicHelp": false,
|
|
1383
|
+
"multiple": false,
|
|
1384
|
+
"type": "option"
|
|
1385
|
+
},
|
|
1386
|
+
"target-org": {
|
|
1387
|
+
"aliases": [
|
|
1388
|
+
"targetusername",
|
|
1389
|
+
"u"
|
|
1390
|
+
],
|
|
1391
|
+
"char": "o",
|
|
1392
|
+
"deprecateAliases": true,
|
|
1393
|
+
"name": "target-org",
|
|
1394
|
+
"noCacheDefault": true,
|
|
1395
|
+
"required": true,
|
|
1396
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1397
|
+
"hasDynamicHelp": true,
|
|
1398
|
+
"multiple": false,
|
|
1399
|
+
"type": "option"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
"hasDynamicHelp": true,
|
|
1403
|
+
"hiddenAliases": [],
|
|
1404
|
+
"id": "hardis:mdapi:deploy",
|
|
1405
|
+
"pluginAlias": "sfdx-hardis",
|
|
1406
|
+
"pluginName": "sfdx-hardis",
|
|
1407
|
+
"pluginType": "core",
|
|
1408
|
+
"strict": true,
|
|
1409
|
+
"enableJsonFlag": true,
|
|
1410
|
+
"isESM": true,
|
|
1411
|
+
"relativePath": [
|
|
1412
|
+
"lib",
|
|
1413
|
+
"commands",
|
|
1414
|
+
"hardis",
|
|
1415
|
+
"mdapi",
|
|
1416
|
+
"deploy.js"
|
|
1417
|
+
],
|
|
1418
|
+
"aliasPermutations": [],
|
|
1419
|
+
"permutations": [
|
|
1420
|
+
"hardis:mdapi:deploy",
|
|
1421
|
+
"mdapi:hardis:deploy",
|
|
1422
|
+
"mdapi:deploy:hardis",
|
|
1423
|
+
"hardis:deploy:mdapi",
|
|
1424
|
+
"deploy:hardis:mdapi",
|
|
1425
|
+
"deploy:mdapi:hardis"
|
|
1426
|
+
]
|
|
1427
|
+
},
|
|
1340
1428
|
"hardis:misc:purge-references": {
|
|
1341
1429
|
"aliases": [],
|
|
1342
1430
|
"args": {},
|
|
@@ -14201,5 +14289,5 @@
|
|
|
14201
14289
|
]
|
|
14202
14290
|
}
|
|
14203
14291
|
},
|
|
14204
|
-
"version": "5.17.
|
|
14292
|
+
"version": "5.17.4"
|
|
14205
14293
|
}
|