sfdx-hardis 5.43.3 → 5.43.5
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 -1
- package/lib/commands/hardis/org/monitor/backup.js +3 -3
- package/lib/commands/hardis/org/monitor/backup.js.map +1 -1
- package/lib/commands/hardis/work/save.js +2 -2
- package/lib/commands/hardis/work/save.js.map +1 -1
- package/lib/common/metadata-utils/index.js +3 -3
- package/lib/common/metadata-utils/index.js.map +1 -1
- package/lib/common/utils/deployUtils.js +14 -6
- package/lib/common/utils/deployUtils.js.map +1 -1
- package/lib/common/utils/filesUtils.js +3 -3
- package/lib/common/utils/filesUtils.js.map +1 -1
- package/lib/common/utils/index.js +2 -2
- package/lib/common/utils/index.js.map +1 -1
- package/lib/common/utils/projectUtils.js +2 -2
- package/lib/common/utils/projectUtils.js.map +1 -1
- package/lib/common/utils/xmlUtils.js +2 -2
- package/lib/common/utils/xmlUtils.js.map +1 -1
- package/lib/config/index.d.ts +1 -1
- package/lib/config/index.js +4 -2
- package/lib/config/index.js.map +1 -1
- package/oclif.manifest.json +977 -977
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -57,101 +57,6 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:auth:login": {
|
|
61
|
-
"aliases": [],
|
|
62
|
-
"args": {},
|
|
63
|
-
"description": "\nLogins to a Salesforce org from CI/CD workflows.\n\nWill use the variables and files defined by configuration commands:\n\n- CI/CD repos: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n- Monitoring repos: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n\nIf you have a technical org (for example to call Agentforce from another org, you can define variable SFDX_AUTH_URL_TECHNICAL_ORG and it will authenticate it with alias TECHNICAL_ORG)\n\nYou can get SFDX_AUTH_URL_TECHNICAL_ORG value by running the command: `sf org display --verbose --json` and copy the value of the field `sfdxAuthUrl` in the output.\n",
|
|
64
|
-
"examples": [
|
|
65
|
-
"$ sf hardis:auth:login",
|
|
66
|
-
"CI=true sf hardis:auth:login"
|
|
67
|
-
],
|
|
68
|
-
"flags": {
|
|
69
|
-
"json": {
|
|
70
|
-
"description": "Format output as json.",
|
|
71
|
-
"helpGroup": "GLOBAL",
|
|
72
|
-
"name": "json",
|
|
73
|
-
"allowNo": false,
|
|
74
|
-
"type": "boolean"
|
|
75
|
-
},
|
|
76
|
-
"flags-dir": {
|
|
77
|
-
"helpGroup": "GLOBAL",
|
|
78
|
-
"name": "flags-dir",
|
|
79
|
-
"summary": "Import flag values from a directory.",
|
|
80
|
-
"hasDynamicHelp": false,
|
|
81
|
-
"multiple": false,
|
|
82
|
-
"type": "option"
|
|
83
|
-
},
|
|
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
|
-
"debug": {
|
|
107
|
-
"char": "d",
|
|
108
|
-
"description": "Activate debug mode (more logs)",
|
|
109
|
-
"name": "debug",
|
|
110
|
-
"allowNo": false,
|
|
111
|
-
"type": "boolean"
|
|
112
|
-
},
|
|
113
|
-
"websocket": {
|
|
114
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
115
|
-
"name": "websocket",
|
|
116
|
-
"hasDynamicHelp": false,
|
|
117
|
-
"multiple": false,
|
|
118
|
-
"type": "option"
|
|
119
|
-
},
|
|
120
|
-
"skipauth": {
|
|
121
|
-
"description": "Skip authentication check when a default username is required",
|
|
122
|
-
"name": "skipauth",
|
|
123
|
-
"allowNo": false,
|
|
124
|
-
"type": "boolean"
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
"hasDynamicHelp": false,
|
|
128
|
-
"hiddenAliases": [],
|
|
129
|
-
"id": "hardis:auth:login",
|
|
130
|
-
"pluginAlias": "sfdx-hardis",
|
|
131
|
-
"pluginName": "sfdx-hardis",
|
|
132
|
-
"pluginType": "core",
|
|
133
|
-
"strict": true,
|
|
134
|
-
"enableJsonFlag": true,
|
|
135
|
-
"title": "Login",
|
|
136
|
-
"requiresProject": false,
|
|
137
|
-
"isESM": true,
|
|
138
|
-
"relativePath": [
|
|
139
|
-
"lib",
|
|
140
|
-
"commands",
|
|
141
|
-
"hardis",
|
|
142
|
-
"auth",
|
|
143
|
-
"login.js"
|
|
144
|
-
],
|
|
145
|
-
"aliasPermutations": [],
|
|
146
|
-
"permutations": [
|
|
147
|
-
"hardis:auth:login",
|
|
148
|
-
"auth:hardis:login",
|
|
149
|
-
"auth:login:hardis",
|
|
150
|
-
"hardis:login:auth",
|
|
151
|
-
"login:hardis:auth",
|
|
152
|
-
"login:auth:hardis"
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
60
|
"hardis:cache:clear": {
|
|
156
61
|
"aliases": [],
|
|
157
62
|
"args": {},
|
|
@@ -310,14 +215,13 @@
|
|
|
310
215
|
"get:config:hardis"
|
|
311
216
|
]
|
|
312
217
|
},
|
|
313
|
-
"hardis:
|
|
218
|
+
"hardis:auth:login": {
|
|
314
219
|
"aliases": [],
|
|
315
220
|
"args": {},
|
|
316
|
-
"description": "
|
|
221
|
+
"description": "\nLogins to a Salesforce org from CI/CD workflows.\n\nWill use the variables and files defined by configuration commands:\n\n- CI/CD repos: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n- Monitoring repos: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n\nIf you have a technical org (for example to call Agentforce from another org, you can define variable SFDX_AUTH_URL_TECHNICAL_ORG and it will authenticate it with alias TECHNICAL_ORG)\n\nYou can get SFDX_AUTH_URL_TECHNICAL_ORG value by running the command: `sf org display --verbose --json` and copy the value of the field `sfdxAuthUrl` in the output.\n",
|
|
317
222
|
"examples": [
|
|
318
|
-
"$ sf hardis:
|
|
319
|
-
"
|
|
320
|
-
"$ sf hardis:lint:access -i \"PermissionSet:permissionSetA, Profile\""
|
|
223
|
+
"$ sf hardis:auth:login",
|
|
224
|
+
"CI=true sf hardis:auth:login"
|
|
321
225
|
],
|
|
322
226
|
"flags": {
|
|
323
227
|
"json": {
|
|
@@ -335,40 +239,27 @@
|
|
|
335
239
|
"multiple": false,
|
|
336
240
|
"type": "option"
|
|
337
241
|
},
|
|
338
|
-
"
|
|
339
|
-
"char": "
|
|
340
|
-
"description": "
|
|
341
|
-
"name": "
|
|
342
|
-
"default": "",
|
|
343
|
-
"hasDynamicHelp": false,
|
|
344
|
-
"multiple": false,
|
|
345
|
-
"type": "option"
|
|
346
|
-
},
|
|
347
|
-
"ignorerights": {
|
|
348
|
-
"char": "i",
|
|
349
|
-
"description": "Ignore permission sets or profiles",
|
|
350
|
-
"name": "ignorerights",
|
|
351
|
-
"default": "",
|
|
242
|
+
"instanceurl": {
|
|
243
|
+
"char": "r",
|
|
244
|
+
"description": "URL of org instance",
|
|
245
|
+
"name": "instanceurl",
|
|
352
246
|
"hasDynamicHelp": false,
|
|
353
247
|
"multiple": false,
|
|
354
248
|
"type": "option"
|
|
355
249
|
},
|
|
356
|
-
"
|
|
357
|
-
"char": "
|
|
358
|
-
"description": "
|
|
359
|
-
"name": "
|
|
360
|
-
"
|
|
361
|
-
"
|
|
362
|
-
"multiple": false,
|
|
363
|
-
"type": "option"
|
|
250
|
+
"devhub": {
|
|
251
|
+
"char": "h",
|
|
252
|
+
"description": "Also connect associated DevHub",
|
|
253
|
+
"name": "devhub",
|
|
254
|
+
"allowNo": false,
|
|
255
|
+
"type": "boolean"
|
|
364
256
|
},
|
|
365
|
-
"
|
|
366
|
-
"char": "
|
|
367
|
-
"description": "
|
|
368
|
-
"name": "
|
|
369
|
-
"
|
|
370
|
-
"
|
|
371
|
-
"type": "option"
|
|
257
|
+
"scratchorg": {
|
|
258
|
+
"char": "s",
|
|
259
|
+
"description": "Scratch org",
|
|
260
|
+
"name": "scratchorg",
|
|
261
|
+
"allowNo": false,
|
|
262
|
+
"type": "boolean"
|
|
372
263
|
},
|
|
373
264
|
"debug": {
|
|
374
265
|
"char": "d",
|
|
@@ -389,86 +280,44 @@
|
|
|
389
280
|
"name": "skipauth",
|
|
390
281
|
"allowNo": false,
|
|
391
282
|
"type": "boolean"
|
|
392
|
-
},
|
|
393
|
-
"target-org": {
|
|
394
|
-
"aliases": [
|
|
395
|
-
"targetusername",
|
|
396
|
-
"u"
|
|
397
|
-
],
|
|
398
|
-
"char": "o",
|
|
399
|
-
"deprecateAliases": true,
|
|
400
|
-
"name": "target-org",
|
|
401
|
-
"noCacheDefault": true,
|
|
402
|
-
"summary": "Username or alias of the target org.",
|
|
403
|
-
"hasDynamicHelp": true,
|
|
404
|
-
"multiple": false,
|
|
405
|
-
"type": "option"
|
|
406
283
|
}
|
|
407
284
|
},
|
|
408
|
-
"hasDynamicHelp":
|
|
285
|
+
"hasDynamicHelp": false,
|
|
409
286
|
"hiddenAliases": [],
|
|
410
|
-
"id": "hardis:
|
|
287
|
+
"id": "hardis:auth:login",
|
|
411
288
|
"pluginAlias": "sfdx-hardis",
|
|
412
289
|
"pluginName": "sfdx-hardis",
|
|
413
290
|
"pluginType": "core",
|
|
414
291
|
"strict": true,
|
|
415
292
|
"enableJsonFlag": true,
|
|
416
|
-
"title": "
|
|
417
|
-
"
|
|
418
|
-
"requiresProject": true,
|
|
419
|
-
"sourceElements": [
|
|
420
|
-
{
|
|
421
|
-
"regex": "/**/*.cls",
|
|
422
|
-
"type": "ApexClass",
|
|
423
|
-
"xmlField": "apexClass",
|
|
424
|
-
"xmlChildren": "classAccesses",
|
|
425
|
-
"xmlAccessField": "enabled",
|
|
426
|
-
"ignore": {
|
|
427
|
-
"all": false,
|
|
428
|
-
"elements": []
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"regex": "/**/objects/**/fields/*__c.field-meta.xml",
|
|
433
|
-
"type": "CustomField",
|
|
434
|
-
"xmlField": "field",
|
|
435
|
-
"xmlChildren": "fieldPermissions",
|
|
436
|
-
"xmlAccessField": "readable",
|
|
437
|
-
"ignore": {
|
|
438
|
-
"all": false,
|
|
439
|
-
"elements": []
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
],
|
|
443
|
-
"messages": {
|
|
444
|
-
"header": "Check if elements(apex class and field) are at least in one permission set",
|
|
445
|
-
"allElementsHaveRights": "All elements are included in at least one Permission set or Profile",
|
|
446
|
-
"someElementsDontHaveRights": "Some elements are not included in at least one Permission set or Profile"
|
|
447
|
-
},
|
|
293
|
+
"title": "Login",
|
|
294
|
+
"requiresProject": false,
|
|
448
295
|
"isESM": true,
|
|
449
296
|
"relativePath": [
|
|
450
297
|
"lib",
|
|
451
298
|
"commands",
|
|
452
299
|
"hardis",
|
|
453
|
-
"
|
|
454
|
-
"
|
|
300
|
+
"auth",
|
|
301
|
+
"login.js"
|
|
455
302
|
],
|
|
456
303
|
"aliasPermutations": [],
|
|
457
304
|
"permutations": [
|
|
458
|
-
"hardis:
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"hardis:
|
|
462
|
-
"
|
|
463
|
-
"
|
|
305
|
+
"hardis:auth:login",
|
|
306
|
+
"auth:hardis:login",
|
|
307
|
+
"auth:login:hardis",
|
|
308
|
+
"hardis:login:auth",
|
|
309
|
+
"login:hardis:auth",
|
|
310
|
+
"login:auth:hardis"
|
|
464
311
|
]
|
|
465
312
|
},
|
|
466
|
-
"hardis:
|
|
313
|
+
"hardis:doc:fieldusage": {
|
|
467
314
|
"aliases": [],
|
|
468
315
|
"args": {},
|
|
469
|
-
"description": "
|
|
316
|
+
"description": "\n Retrieves custom field usage from metadata dependencies for specified sObjects.\n \n ",
|
|
470
317
|
"examples": [
|
|
471
|
-
"$ sf hardis:
|
|
318
|
+
"$ sf hardis:doc:fieldusage",
|
|
319
|
+
"$ sf hardis:doc:fieldusage --sObjects Account,Contact,Opportunity",
|
|
320
|
+
"$ sf hardis:doc:fieldusage --target-org myOrgAlias --sObjects CustomObject__c"
|
|
472
321
|
],
|
|
473
322
|
"flags": {
|
|
474
323
|
"json": {
|
|
@@ -486,34 +335,6 @@
|
|
|
486
335
|
"multiple": false,
|
|
487
336
|
"type": "option"
|
|
488
337
|
},
|
|
489
|
-
"debug": {
|
|
490
|
-
"char": "d",
|
|
491
|
-
"description": "Activate debug mode (more logs)",
|
|
492
|
-
"name": "debug",
|
|
493
|
-
"allowNo": false,
|
|
494
|
-
"type": "boolean"
|
|
495
|
-
},
|
|
496
|
-
"outputfile": {
|
|
497
|
-
"char": "f",
|
|
498
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
499
|
-
"name": "outputfile",
|
|
500
|
-
"hasDynamicHelp": false,
|
|
501
|
-
"multiple": false,
|
|
502
|
-
"type": "option"
|
|
503
|
-
},
|
|
504
|
-
"websocket": {
|
|
505
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
506
|
-
"name": "websocket",
|
|
507
|
-
"hasDynamicHelp": false,
|
|
508
|
-
"multiple": false,
|
|
509
|
-
"type": "option"
|
|
510
|
-
},
|
|
511
|
-
"skipauth": {
|
|
512
|
-
"description": "Skip authentication check when a default username is required",
|
|
513
|
-
"name": "skipauth",
|
|
514
|
-
"allowNo": false,
|
|
515
|
-
"type": "boolean"
|
|
516
|
-
},
|
|
517
338
|
"target-org": {
|
|
518
339
|
"aliases": [
|
|
519
340
|
"targetusername",
|
|
@@ -523,47 +344,57 @@
|
|
|
523
344
|
"deprecateAliases": true,
|
|
524
345
|
"name": "target-org",
|
|
525
346
|
"noCacheDefault": true,
|
|
526
|
-
"
|
|
347
|
+
"required": true,
|
|
348
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
527
349
|
"hasDynamicHelp": true,
|
|
528
350
|
"multiple": false,
|
|
529
351
|
"type": "option"
|
|
352
|
+
},
|
|
353
|
+
"sObjects": {
|
|
354
|
+
"char": "s",
|
|
355
|
+
"description": "Comma-separated list of sObjects to filter",
|
|
356
|
+
"name": "sObjects",
|
|
357
|
+
"required": false,
|
|
358
|
+
"hasDynamicHelp": false,
|
|
359
|
+
"multiple": false,
|
|
360
|
+
"type": "option"
|
|
530
361
|
}
|
|
531
362
|
},
|
|
532
363
|
"hasDynamicHelp": true,
|
|
533
364
|
"hiddenAliases": [],
|
|
534
|
-
"id": "hardis:
|
|
365
|
+
"id": "hardis:doc:fieldusage",
|
|
535
366
|
"pluginAlias": "sfdx-hardis",
|
|
536
367
|
"pluginName": "sfdx-hardis",
|
|
537
368
|
"pluginType": "core",
|
|
538
369
|
"strict": true,
|
|
539
370
|
"enableJsonFlag": true,
|
|
540
|
-
"title": "check inactive metadatas",
|
|
541
|
-
"supportsDevhubUsername": false,
|
|
542
|
-
"requiresProject": true,
|
|
543
371
|
"isESM": true,
|
|
544
372
|
"relativePath": [
|
|
545
373
|
"lib",
|
|
546
374
|
"commands",
|
|
547
375
|
"hardis",
|
|
548
|
-
"
|
|
549
|
-
"
|
|
376
|
+
"doc",
|
|
377
|
+
"fieldusage.js"
|
|
550
378
|
],
|
|
551
379
|
"aliasPermutations": [],
|
|
552
380
|
"permutations": [
|
|
553
|
-
"hardis:
|
|
554
|
-
"
|
|
555
|
-
"
|
|
556
|
-
"hardis:
|
|
557
|
-
"
|
|
558
|
-
"
|
|
381
|
+
"hardis:doc:fieldusage",
|
|
382
|
+
"doc:hardis:fieldusage",
|
|
383
|
+
"doc:fieldusage:hardis",
|
|
384
|
+
"hardis:fieldusage:doc",
|
|
385
|
+
"fieldusage:hardis:doc",
|
|
386
|
+
"fieldusage:doc:hardis"
|
|
559
387
|
]
|
|
560
388
|
},
|
|
561
|
-
"hardis:
|
|
389
|
+
"hardis:doc:flow2markdown": {
|
|
562
390
|
"aliases": [],
|
|
563
391
|
"args": {},
|
|
564
|
-
"description": "
|
|
392
|
+
"description": "Generates a markdown documentation from a Flow file\n \nIf [AI integration](https://sfdx-hardis.cloudity.com/salesforce-ai-setup/) is configured, documentation will contain a summary of the Flow. \n ",
|
|
565
393
|
"examples": [
|
|
566
|
-
"$ sf hardis:
|
|
394
|
+
"$ sf hardis:doc:flow2markdown",
|
|
395
|
+
"$ sf hardis:doc:flow2markdown --inputfile force-app/main/default/flows/MyFlow.flow-meta.xml",
|
|
396
|
+
"$ sf hardis:doc:flow2markdown --pdf",
|
|
397
|
+
"$ sf hardis:doc:flow2markdown --inputfile force-app/main/default/flows/MyFlow.flow-meta.xml --pdf"
|
|
567
398
|
],
|
|
568
399
|
"flags": {
|
|
569
400
|
"json": {
|
|
@@ -581,21 +412,41 @@
|
|
|
581
412
|
"multiple": false,
|
|
582
413
|
"type": "option"
|
|
583
414
|
},
|
|
584
|
-
"
|
|
585
|
-
"char": "
|
|
586
|
-
"description": "
|
|
587
|
-
"name": "
|
|
588
|
-
"
|
|
589
|
-
"
|
|
415
|
+
"inputfile": {
|
|
416
|
+
"char": "x",
|
|
417
|
+
"description": "Path to Flow metadata file. If not specified, the command will prompt the user",
|
|
418
|
+
"name": "inputfile",
|
|
419
|
+
"hasDynamicHelp": false,
|
|
420
|
+
"multiple": false,
|
|
421
|
+
"type": "option"
|
|
590
422
|
},
|
|
591
423
|
"outputfile": {
|
|
592
424
|
"char": "f",
|
|
593
|
-
"description": "Force the path and name of output
|
|
425
|
+
"description": "Force the path and name of output markdown file. Must end with .md",
|
|
594
426
|
"name": "outputfile",
|
|
595
427
|
"hasDynamicHelp": false,
|
|
596
428
|
"multiple": false,
|
|
597
429
|
"type": "option"
|
|
598
430
|
},
|
|
431
|
+
"with-history": {
|
|
432
|
+
"description": "Generate a markdown file with the history diff of the Flow",
|
|
433
|
+
"name": "with-history",
|
|
434
|
+
"allowNo": false,
|
|
435
|
+
"type": "boolean"
|
|
436
|
+
},
|
|
437
|
+
"pdf": {
|
|
438
|
+
"description": "Also generate the documentation in PDF format",
|
|
439
|
+
"name": "pdf",
|
|
440
|
+
"allowNo": false,
|
|
441
|
+
"type": "boolean"
|
|
442
|
+
},
|
|
443
|
+
"debug": {
|
|
444
|
+
"char": "d",
|
|
445
|
+
"description": "Activate debug mode (more logs)",
|
|
446
|
+
"name": "debug",
|
|
447
|
+
"allowNo": false,
|
|
448
|
+
"type": "boolean"
|
|
449
|
+
},
|
|
599
450
|
"websocket": {
|
|
600
451
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
601
452
|
"name": "websocket",
|
|
@@ -626,39 +477,38 @@
|
|
|
626
477
|
},
|
|
627
478
|
"hasDynamicHelp": true,
|
|
628
479
|
"hiddenAliases": [],
|
|
629
|
-
"id": "hardis:
|
|
480
|
+
"id": "hardis:doc:flow2markdown",
|
|
630
481
|
"pluginAlias": "sfdx-hardis",
|
|
631
482
|
"pluginName": "sfdx-hardis",
|
|
632
483
|
"pluginType": "core",
|
|
633
484
|
"strict": true,
|
|
634
485
|
"enableJsonFlag": true,
|
|
635
|
-
"title": "
|
|
636
|
-
"
|
|
637
|
-
"requiresProject": true,
|
|
486
|
+
"title": "Flow to Markdown",
|
|
487
|
+
"requiresProject": false,
|
|
638
488
|
"isESM": true,
|
|
639
489
|
"relativePath": [
|
|
640
490
|
"lib",
|
|
641
491
|
"commands",
|
|
642
492
|
"hardis",
|
|
643
|
-
"
|
|
644
|
-
"
|
|
493
|
+
"doc",
|
|
494
|
+
"flow2markdown.js"
|
|
645
495
|
],
|
|
646
496
|
"aliasPermutations": [],
|
|
647
497
|
"permutations": [
|
|
648
|
-
"hardis:
|
|
649
|
-
"
|
|
650
|
-
"
|
|
651
|
-
"hardis:
|
|
652
|
-
"
|
|
653
|
-
"
|
|
498
|
+
"hardis:doc:flow2markdown",
|
|
499
|
+
"doc:hardis:flow2markdown",
|
|
500
|
+
"doc:flow2markdown:hardis",
|
|
501
|
+
"hardis:flow2markdown:doc",
|
|
502
|
+
"flow2markdown:hardis:doc",
|
|
503
|
+
"flow2markdown:doc:hardis"
|
|
654
504
|
]
|
|
655
505
|
},
|
|
656
|
-
"hardis:
|
|
506
|
+
"hardis:doc:mkdocs-to-cf": {
|
|
657
507
|
"aliases": [],
|
|
658
508
|
"args": {},
|
|
659
|
-
"description": "
|
|
509
|
+
"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_TOKEN` | Cloudflare API token | <!--- 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| `CLOUDFLARE_EXTRA_ACCESS_POLICY_ID_LIST` | Policies to assign to every application access | <!--- Optional --> |\n\n",
|
|
660
510
|
"examples": [
|
|
661
|
-
"$ sf hardis:
|
|
511
|
+
"$ sf hardis:doc:mkdocs-to-cf"
|
|
662
512
|
],
|
|
663
513
|
"flags": {
|
|
664
514
|
"json": {
|
|
@@ -683,14 +533,6 @@
|
|
|
683
533
|
"allowNo": false,
|
|
684
534
|
"type": "boolean"
|
|
685
535
|
},
|
|
686
|
-
"outputfile": {
|
|
687
|
-
"char": "f",
|
|
688
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
689
|
-
"name": "outputfile",
|
|
690
|
-
"hasDynamicHelp": false,
|
|
691
|
-
"multiple": false,
|
|
692
|
-
"type": "option"
|
|
693
|
-
},
|
|
694
536
|
"websocket": {
|
|
695
537
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
696
538
|
"name": "websocket",
|
|
@@ -703,59 +545,42 @@
|
|
|
703
545
|
"name": "skipauth",
|
|
704
546
|
"allowNo": false,
|
|
705
547
|
"type": "boolean"
|
|
706
|
-
},
|
|
707
|
-
"target-org": {
|
|
708
|
-
"aliases": [
|
|
709
|
-
"targetusername",
|
|
710
|
-
"u"
|
|
711
|
-
],
|
|
712
|
-
"char": "o",
|
|
713
|
-
"deprecateAliases": true,
|
|
714
|
-
"name": "target-org",
|
|
715
|
-
"noCacheDefault": true,
|
|
716
|
-
"summary": "Username or alias of the target org.",
|
|
717
|
-
"hasDynamicHelp": true,
|
|
718
|
-
"multiple": false,
|
|
719
|
-
"type": "option"
|
|
720
548
|
}
|
|
721
549
|
},
|
|
722
|
-
"hasDynamicHelp":
|
|
550
|
+
"hasDynamicHelp": false,
|
|
723
551
|
"hiddenAliases": [],
|
|
724
|
-
"id": "hardis:
|
|
552
|
+
"id": "hardis:doc:mkdocs-to-cf",
|
|
725
553
|
"pluginAlias": "sfdx-hardis",
|
|
726
554
|
"pluginName": "sfdx-hardis",
|
|
727
555
|
"pluginType": "core",
|
|
728
556
|
"strict": true,
|
|
729
557
|
"enableJsonFlag": true,
|
|
730
|
-
"title": "
|
|
731
|
-
"supportsDevhubUsername": false,
|
|
558
|
+
"title": "MkDocs to Cloudflare",
|
|
732
559
|
"requiresProject": true,
|
|
733
560
|
"isESM": true,
|
|
734
561
|
"relativePath": [
|
|
735
562
|
"lib",
|
|
736
563
|
"commands",
|
|
737
564
|
"hardis",
|
|
738
|
-
"
|
|
739
|
-
"
|
|
565
|
+
"doc",
|
|
566
|
+
"mkdocs-to-cf.js"
|
|
740
567
|
],
|
|
741
568
|
"aliasPermutations": [],
|
|
742
569
|
"permutations": [
|
|
743
|
-
"hardis:
|
|
744
|
-
"
|
|
745
|
-
"
|
|
746
|
-
"hardis:
|
|
747
|
-
"
|
|
748
|
-
"
|
|
570
|
+
"hardis:doc:mkdocs-to-cf",
|
|
571
|
+
"doc:hardis:mkdocs-to-cf",
|
|
572
|
+
"doc:mkdocs-to-cf:hardis",
|
|
573
|
+
"hardis:mkdocs-to-cf:doc",
|
|
574
|
+
"mkdocs-to-cf:hardis:doc",
|
|
575
|
+
"mkdocs-to-cf:doc:hardis"
|
|
749
576
|
]
|
|
750
577
|
},
|
|
751
|
-
"hardis:doc:
|
|
578
|
+
"hardis:doc:mkdocs-to-salesforce": {
|
|
752
579
|
"aliases": [],
|
|
753
580
|
"args": {},
|
|
754
|
-
"description": "\n
|
|
581
|
+
"description": "Generates MkDocs HTML pages and upload them to Salesforce as a static resource\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 Static Resource, a VisualForce page and a Custom Tab metadata\n- Upload the metadatas to the default org\n- Opens the Custom Tab 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- Specify the type of documentation to generate (CICD or Monitoring) using the --type flag. Default is CICD.\n- Override default styles by customizing mkdocs.yml\n\nMore info on [Documentation section](https://sfdx-hardis.cloudity.com/salesforce-project-documentation/)\n",
|
|
755
582
|
"examples": [
|
|
756
|
-
"$ sf hardis:doc:
|
|
757
|
-
"$ sf hardis:doc:fieldusage --sObjects Account,Contact,Opportunity",
|
|
758
|
-
"$ sf hardis:doc:fieldusage --target-org myOrgAlias --sObjects CustomObject__c"
|
|
583
|
+
"$ sf hardis:doc:mkdocs-to-salesforce"
|
|
759
584
|
],
|
|
760
585
|
"flags": {
|
|
761
586
|
"json": {
|
|
@@ -773,6 +598,39 @@
|
|
|
773
598
|
"multiple": false,
|
|
774
599
|
"type": "option"
|
|
775
600
|
},
|
|
601
|
+
"type": {
|
|
602
|
+
"char": "t",
|
|
603
|
+
"description": "Type of the documentation to generate. Default is \"all\"",
|
|
604
|
+
"name": "type",
|
|
605
|
+
"default": "CICD",
|
|
606
|
+
"hasDynamicHelp": false,
|
|
607
|
+
"multiple": false,
|
|
608
|
+
"options": [
|
|
609
|
+
"CICD",
|
|
610
|
+
"Monitoring"
|
|
611
|
+
],
|
|
612
|
+
"type": "option"
|
|
613
|
+
},
|
|
614
|
+
"debug": {
|
|
615
|
+
"char": "d",
|
|
616
|
+
"description": "Activate debug mode (more logs)",
|
|
617
|
+
"name": "debug",
|
|
618
|
+
"allowNo": false,
|
|
619
|
+
"type": "boolean"
|
|
620
|
+
},
|
|
621
|
+
"websocket": {
|
|
622
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
623
|
+
"name": "websocket",
|
|
624
|
+
"hasDynamicHelp": false,
|
|
625
|
+
"multiple": false,
|
|
626
|
+
"type": "option"
|
|
627
|
+
},
|
|
628
|
+
"skipauth": {
|
|
629
|
+
"description": "Skip authentication check when a default username is required",
|
|
630
|
+
"name": "skipauth",
|
|
631
|
+
"allowNo": false,
|
|
632
|
+
"type": "boolean"
|
|
633
|
+
},
|
|
776
634
|
"target-org": {
|
|
777
635
|
"aliases": [
|
|
778
636
|
"targetusername",
|
|
@@ -787,52 +645,43 @@
|
|
|
787
645
|
"hasDynamicHelp": true,
|
|
788
646
|
"multiple": false,
|
|
789
647
|
"type": "option"
|
|
790
|
-
},
|
|
791
|
-
"sObjects": {
|
|
792
|
-
"char": "s",
|
|
793
|
-
"description": "Comma-separated list of sObjects to filter",
|
|
794
|
-
"name": "sObjects",
|
|
795
|
-
"required": false,
|
|
796
|
-
"hasDynamicHelp": false,
|
|
797
|
-
"multiple": false,
|
|
798
|
-
"type": "option"
|
|
799
648
|
}
|
|
800
649
|
},
|
|
801
650
|
"hasDynamicHelp": true,
|
|
802
651
|
"hiddenAliases": [],
|
|
803
|
-
"id": "hardis:doc:
|
|
652
|
+
"id": "hardis:doc:mkdocs-to-salesforce",
|
|
804
653
|
"pluginAlias": "sfdx-hardis",
|
|
805
654
|
"pluginName": "sfdx-hardis",
|
|
806
655
|
"pluginType": "core",
|
|
807
656
|
"strict": true,
|
|
808
657
|
"enableJsonFlag": true,
|
|
658
|
+
"title": "MkDocs to Salesforce",
|
|
659
|
+
"requiresProject": true,
|
|
809
660
|
"isESM": true,
|
|
810
661
|
"relativePath": [
|
|
811
662
|
"lib",
|
|
812
663
|
"commands",
|
|
813
664
|
"hardis",
|
|
814
665
|
"doc",
|
|
815
|
-
"
|
|
666
|
+
"mkdocs-to-salesforce.js"
|
|
816
667
|
],
|
|
817
668
|
"aliasPermutations": [],
|
|
818
669
|
"permutations": [
|
|
819
|
-
"hardis:doc:
|
|
820
|
-
"doc:hardis:
|
|
821
|
-
"doc:
|
|
822
|
-
"hardis:
|
|
823
|
-
"
|
|
824
|
-
"
|
|
670
|
+
"hardis:doc:mkdocs-to-salesforce",
|
|
671
|
+
"doc:hardis:mkdocs-to-salesforce",
|
|
672
|
+
"doc:mkdocs-to-salesforce:hardis",
|
|
673
|
+
"hardis:mkdocs-to-salesforce:doc",
|
|
674
|
+
"mkdocs-to-salesforce:hardis:doc",
|
|
675
|
+
"mkdocs-to-salesforce:doc:hardis"
|
|
825
676
|
]
|
|
826
677
|
},
|
|
827
|
-
"hardis:doc:
|
|
678
|
+
"hardis:doc:override-prompts": {
|
|
828
679
|
"aliases": [],
|
|
829
680
|
"args": {},
|
|
830
|
-
"description": "
|
|
681
|
+
"description": "Create local override files for AI prompt templates and variables\n\nThis command creates a folder config/prompt-templates/ and copies all the default AI prompt templates and variables as .txt files that can be customized.\n\nThe templates are used by sfdx-hardis for:\n- Generating documentation with AI\n- Solving deployment errors\n- Describing Salesforce metadata\n\nThe variables contain common instruction patterns that are reused across multiple templates, such as:\n- Role definitions (business analyst, developer, etc.)\n- Formatting requirements for markdown output\n- Security caution instructions\n- Output format specifications\n\nYou can customize these prompts and variables to match your organization's specific needs and terminology.\n\nAfter running this command, you can modify any of the .txt files in config/prompt-templates/ to override the default prompts and variables.\n\n**Important**: Once created, existing template and variable files will never be overwritten with newer versions from sfdx-hardis updates, unless you explicitly use the --overwrite flag. This ensures your customizations are preserved.\n\nAvailable templates:\n- PROMPT_SOLVE_DEPLOYMENT_ERROR\n- PROMPT_DESCRIBE_FLOW\n- PROMPT_DESCRIBE_FLOW_DIFF\n- PROMPT_DESCRIBE_OBJECT\n- PROMPT_COMPLETE_OBJECT_ATTRIBUTES_MD\n- PROMPT_DESCRIBE_APEX\n- PROMPT_DESCRIBE_PAGE\n- PROMPT_DESCRIBE_PACKAGE\n- PROMPT_DESCRIBE_PROFILE\n- PROMPT_DESCRIBE_PERMISSION_SET\n- PROMPT_DESCRIBE_PERMISSION_SET_GROUP\n- PROMPT_DESCRIBE_ASSIGNMENT_RULES\n- PROMPT_DESCRIBE_APPROVAL_PROCESS\n- PROMPT_DESCRIBE_LWC\n- PROMPT_DESCRIBE_AUTORESPONSE_RULES\n- PROMPT_DESCRIBE_ESCALATION_RULES\n- PROMPT_DESCRIBE_ROLES\n\nAvailable variables:\n- VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC\n- VARIABLE_FORMATTING_REQUIREMENTS\n- VARIABLE_ADDITIONAL_INSTRUCTIONS\n\nMore info on [AI Prompts documentation](https://sfdx-hardis.cloudity.com/salesforce-ai-prompts/)\n",
|
|
831
682
|
"examples": [
|
|
832
|
-
"$ sf hardis:doc:
|
|
833
|
-
"$ sf hardis:doc:
|
|
834
|
-
"$ sf hardis:doc:flow2markdown --pdf",
|
|
835
|
-
"$ sf hardis:doc:flow2markdown --inputfile force-app/main/default/flows/MyFlow.flow-meta.xml --pdf"
|
|
683
|
+
"$ sf hardis:doc:override-prompts",
|
|
684
|
+
"$ sf hardis:doc:override-prompts --overwrite"
|
|
836
685
|
],
|
|
837
686
|
"flags": {
|
|
838
687
|
"json": {
|
|
@@ -850,31 +699,9 @@
|
|
|
850
699
|
"multiple": false,
|
|
851
700
|
"type": "option"
|
|
852
701
|
},
|
|
853
|
-
"
|
|
854
|
-
"
|
|
855
|
-
"
|
|
856
|
-
"name": "inputfile",
|
|
857
|
-
"hasDynamicHelp": false,
|
|
858
|
-
"multiple": false,
|
|
859
|
-
"type": "option"
|
|
860
|
-
},
|
|
861
|
-
"outputfile": {
|
|
862
|
-
"char": "f",
|
|
863
|
-
"description": "Force the path and name of output markdown file. Must end with .md",
|
|
864
|
-
"name": "outputfile",
|
|
865
|
-
"hasDynamicHelp": false,
|
|
866
|
-
"multiple": false,
|
|
867
|
-
"type": "option"
|
|
868
|
-
},
|
|
869
|
-
"with-history": {
|
|
870
|
-
"description": "Generate a markdown file with the history diff of the Flow",
|
|
871
|
-
"name": "with-history",
|
|
872
|
-
"allowNo": false,
|
|
873
|
-
"type": "boolean"
|
|
874
|
-
},
|
|
875
|
-
"pdf": {
|
|
876
|
-
"description": "Also generate the documentation in PDF format",
|
|
877
|
-
"name": "pdf",
|
|
702
|
+
"overwrite": {
|
|
703
|
+
"description": "Overwrite existing template files if they already exist",
|
|
704
|
+
"name": "overwrite",
|
|
878
705
|
"allowNo": false,
|
|
879
706
|
"type": "boolean"
|
|
880
707
|
},
|
|
@@ -897,9 +724,98 @@
|
|
|
897
724
|
"name": "skipauth",
|
|
898
725
|
"allowNo": false,
|
|
899
726
|
"type": "boolean"
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"hasDynamicHelp": false,
|
|
730
|
+
"hiddenAliases": [],
|
|
731
|
+
"id": "hardis:doc:override-prompts",
|
|
732
|
+
"pluginAlias": "sfdx-hardis",
|
|
733
|
+
"pluginName": "sfdx-hardis",
|
|
734
|
+
"pluginType": "core",
|
|
735
|
+
"strict": true,
|
|
736
|
+
"enableJsonFlag": true,
|
|
737
|
+
"title": "Override AI Prompt Templates",
|
|
738
|
+
"requiresProject": false,
|
|
739
|
+
"isESM": true,
|
|
740
|
+
"relativePath": [
|
|
741
|
+
"lib",
|
|
742
|
+
"commands",
|
|
743
|
+
"hardis",
|
|
744
|
+
"doc",
|
|
745
|
+
"override-prompts.js"
|
|
746
|
+
],
|
|
747
|
+
"aliasPermutations": [],
|
|
748
|
+
"permutations": [
|
|
749
|
+
"hardis:doc:override-prompts",
|
|
750
|
+
"doc:hardis:override-prompts",
|
|
751
|
+
"doc:override-prompts:hardis",
|
|
752
|
+
"hardis:override-prompts:doc",
|
|
753
|
+
"override-prompts:hardis:doc",
|
|
754
|
+
"override-prompts:doc:hardis"
|
|
755
|
+
]
|
|
756
|
+
},
|
|
757
|
+
"hardis:doc:packagexml2markdown": {
|
|
758
|
+
"aliases": [],
|
|
759
|
+
"args": {},
|
|
760
|
+
"description": "Generates a markdown documentation from a package.xml file",
|
|
761
|
+
"examples": [
|
|
762
|
+
"$ sf hardis:doc:packagexml2markdown",
|
|
763
|
+
"$ sf hardis:doc:packagexml2markdown --inputfile manifest/package-all.xml"
|
|
764
|
+
],
|
|
765
|
+
"flags": {
|
|
766
|
+
"json": {
|
|
767
|
+
"description": "Format output as json.",
|
|
768
|
+
"helpGroup": "GLOBAL",
|
|
769
|
+
"name": "json",
|
|
770
|
+
"allowNo": false,
|
|
771
|
+
"type": "boolean"
|
|
772
|
+
},
|
|
773
|
+
"flags-dir": {
|
|
774
|
+
"helpGroup": "GLOBAL",
|
|
775
|
+
"name": "flags-dir",
|
|
776
|
+
"summary": "Import flag values from a directory.",
|
|
777
|
+
"hasDynamicHelp": false,
|
|
778
|
+
"multiple": false,
|
|
779
|
+
"type": "option"
|
|
780
|
+
},
|
|
781
|
+
"inputfile": {
|
|
782
|
+
"char": "x",
|
|
783
|
+
"description": "Path to package.xml file. If not specified, the command will look in manifest folder",
|
|
784
|
+
"name": "inputfile",
|
|
785
|
+
"hasDynamicHelp": false,
|
|
786
|
+
"multiple": false,
|
|
787
|
+
"type": "option"
|
|
788
|
+
},
|
|
789
|
+
"outputfile": {
|
|
790
|
+
"char": "f",
|
|
791
|
+
"description": "Force the path and name of output report file. Must end with .md",
|
|
792
|
+
"name": "outputfile",
|
|
793
|
+
"hasDynamicHelp": false,
|
|
794
|
+
"multiple": false,
|
|
795
|
+
"type": "option"
|
|
796
|
+
},
|
|
797
|
+
"debug": {
|
|
798
|
+
"char": "d",
|
|
799
|
+
"description": "Activate debug mode (more logs)",
|
|
800
|
+
"name": "debug",
|
|
801
|
+
"allowNo": false,
|
|
802
|
+
"type": "boolean"
|
|
803
|
+
},
|
|
804
|
+
"websocket": {
|
|
805
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
806
|
+
"name": "websocket",
|
|
807
|
+
"hasDynamicHelp": false,
|
|
808
|
+
"multiple": false,
|
|
809
|
+
"type": "option"
|
|
810
|
+
},
|
|
811
|
+
"skipauth": {
|
|
812
|
+
"description": "Skip authentication check when a default username is required",
|
|
813
|
+
"name": "skipauth",
|
|
814
|
+
"allowNo": false,
|
|
815
|
+
"type": "boolean"
|
|
816
|
+
},
|
|
817
|
+
"target-org": {
|
|
818
|
+
"aliases": [
|
|
903
819
|
"targetusername",
|
|
904
820
|
"u"
|
|
905
821
|
],
|
|
@@ -915,13 +831,13 @@
|
|
|
915
831
|
},
|
|
916
832
|
"hasDynamicHelp": true,
|
|
917
833
|
"hiddenAliases": [],
|
|
918
|
-
"id": "hardis:doc:
|
|
834
|
+
"id": "hardis:doc:packagexml2markdown",
|
|
919
835
|
"pluginAlias": "sfdx-hardis",
|
|
920
836
|
"pluginName": "sfdx-hardis",
|
|
921
837
|
"pluginType": "core",
|
|
922
838
|
"strict": true,
|
|
923
839
|
"enableJsonFlag": true,
|
|
924
|
-
"title": "
|
|
840
|
+
"title": "PackageXml to Markdown",
|
|
925
841
|
"requiresProject": false,
|
|
926
842
|
"isESM": true,
|
|
927
843
|
"relativePath": [
|
|
@@ -929,24 +845,26 @@
|
|
|
929
845
|
"commands",
|
|
930
846
|
"hardis",
|
|
931
847
|
"doc",
|
|
932
|
-
"
|
|
848
|
+
"packagexml2markdown.js"
|
|
933
849
|
],
|
|
934
850
|
"aliasPermutations": [],
|
|
935
851
|
"permutations": [
|
|
936
|
-
"hardis:doc:
|
|
937
|
-
"doc:hardis:
|
|
938
|
-
"doc:
|
|
939
|
-
"hardis:
|
|
940
|
-
"
|
|
941
|
-
"
|
|
852
|
+
"hardis:doc:packagexml2markdown",
|
|
853
|
+
"doc:hardis:packagexml2markdown",
|
|
854
|
+
"doc:packagexml2markdown:hardis",
|
|
855
|
+
"hardis:packagexml2markdown:doc",
|
|
856
|
+
"packagexml2markdown:hardis:doc",
|
|
857
|
+
"packagexml2markdown:doc:hardis"
|
|
942
858
|
]
|
|
943
859
|
},
|
|
944
|
-
"hardis:doc:
|
|
860
|
+
"hardis:doc:project2markdown": {
|
|
945
861
|
"aliases": [],
|
|
946
862
|
"args": {},
|
|
947
|
-
"description": "Generates
|
|
863
|
+
"description": "Generates a markdown documentation from a SFDX project\n\n- Objects (with fields, validation rules, relationships and dependencies)\n- Automations\n - Approval Processes\n - Assignment Rules\n - AutoResponse Rules\n - Escalation Rules\n - Flows\n- Authorizations\n - Profiles\n - Permission Set Groups\n - Permission Sets\n- Code\n - Apex\n - Lightning Web Components\n- Lightning Pages\n- Packages\n- SFDX-Hardis Config\n- Branches & Orgs\n- Manifests\n\nCan work on any sfdx project, no need for it to be a sfdx-hardis flavored one.\n\nGenerates markdown files will be written in **docs** folder (except README.md where a link to doc index is added)\n\n- You can customize the pages following [mkdocs-material setup documentation](https://squidfunk.github.io/mkdocs-material/setup/)\n- You can manually add new markdown files in the \"docs\" folder to extend this documentation and add references to them in \"mkdocs.yml\"\n- You can also add images in folder \"docs/assets\" and embed them in markdown files.\n\nTo read Flow documentations if your markdown reader doesn't handle MermaidJS syntax, this command could require @mermaid-js/mermaid-cli\n\n- Run `npm install @mermaid-js/mermaid-cli --global` if puppeteer works in your environment\n- It can also be run as a docker image\n\nBoth modes will be tried by default, but you can also force one of them by defining environment variable `MERMAID_MODES=docker` or `MERMAID_MODES=cli`\n\n_sfdx-hardis docker image is alpine-based and does not succeed to run mermaid/puppeteer: if you can help, please submit a PR !_\n\nIf Flow history doc always display a single state, you probably need to update your workflow configuration:\n\n- on Gitlab: Env variable [`GIT_FETCH_EXTRA_FLAGS: --depth 10000`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.gitlab-ci.yml#L11)\n- on GitHub: [`fetch-depth: 0`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.github/workflows/org-monitoring.yml#L58)\n- on Azure: [`fetchDepth: \"0\"`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/azure-pipelines.yml#L39)\n- on Bitbucket: [`step: clone: depth: full`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/bitbucket-pipelines.yml#L18)\n\n\n\n\n\n\n\n\n\n\n\n\n\nIf it is a sfdx-hardis CI/CD project, a diagram of the branches and orgs strategy will be generated.\n\n\n\nIf [AI integration](https://sfdx-hardis.cloudity.com/salesforce-ai-setup/) is configured, documentation will contain a summary of the Flow.\n\n- Use variable PROMPTS_LANGUAGE (ex: PROMPTS_LANGUAGE=fr) to force language for LLM calls (default:en)\n\nIf you have a complex strategy, you might need to input property **mergeTargets** in branch-scoped sfdx-hardis.yml file to have a correct diagram.\n\nDefine DO_NOT_OVERWRITE_INDEX_MD=true to avoid overwriting the index.md file in docs folder, useful if you want to keep your own index.md file.\n\n## Doc HTML Pages\n\nTo read the documentation as HTML pages, run the following code (you need [**Python**](https://www.python.org/downloads/) on your computer)\n\n```python\npip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists || python -m pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists || py -m pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists\nmkdocs serve -v || python -m mkdocs serve -v || py -m mkdocs serve -v\n```\n\nTo just generate HTML pages that you can host anywhere, run `mkdocs build -v || python -m mkdocs build -v || py -m mkdocs build -v`\n\n",
|
|
948
864
|
"examples": [
|
|
949
|
-
"$ sf hardis:doc:
|
|
865
|
+
"$ sf hardis:doc:project2markdown",
|
|
866
|
+
"$ sf hardis:doc:project2markdown --with-history",
|
|
867
|
+
"$ sf hardis:doc:project2markdown --with-history --pdf"
|
|
950
868
|
],
|
|
951
869
|
"flags": {
|
|
952
870
|
"json": {
|
|
@@ -964,6 +882,24 @@
|
|
|
964
882
|
"multiple": false,
|
|
965
883
|
"type": "option"
|
|
966
884
|
},
|
|
885
|
+
"diff-only": {
|
|
886
|
+
"description": "Generate documentation only for changed files (used for monitoring)",
|
|
887
|
+
"name": "diff-only",
|
|
888
|
+
"allowNo": false,
|
|
889
|
+
"type": "boolean"
|
|
890
|
+
},
|
|
891
|
+
"with-history": {
|
|
892
|
+
"description": "Generate a markdown file with the history diff of the Flow",
|
|
893
|
+
"name": "with-history",
|
|
894
|
+
"allowNo": false,
|
|
895
|
+
"type": "boolean"
|
|
896
|
+
},
|
|
897
|
+
"pdf": {
|
|
898
|
+
"description": "Also generate the documentation in PDF format",
|
|
899
|
+
"name": "pdf",
|
|
900
|
+
"allowNo": false,
|
|
901
|
+
"type": "boolean"
|
|
902
|
+
},
|
|
967
903
|
"debug": {
|
|
968
904
|
"char": "d",
|
|
969
905
|
"description": "Activate debug mode (more logs)",
|
|
@@ -983,17 +919,32 @@
|
|
|
983
919
|
"name": "skipauth",
|
|
984
920
|
"allowNo": false,
|
|
985
921
|
"type": "boolean"
|
|
922
|
+
},
|
|
923
|
+
"target-org": {
|
|
924
|
+
"aliases": [
|
|
925
|
+
"targetusername",
|
|
926
|
+
"u"
|
|
927
|
+
],
|
|
928
|
+
"char": "o",
|
|
929
|
+
"deprecateAliases": true,
|
|
930
|
+
"name": "target-org",
|
|
931
|
+
"noCacheDefault": true,
|
|
932
|
+
"summary": "Username or alias of the target org.",
|
|
933
|
+
"hasDynamicHelp": true,
|
|
934
|
+
"multiple": false,
|
|
935
|
+
"type": "option"
|
|
986
936
|
}
|
|
987
937
|
},
|
|
988
|
-
"hasDynamicHelp":
|
|
938
|
+
"hasDynamicHelp": true,
|
|
989
939
|
"hiddenAliases": [],
|
|
990
|
-
"id": "hardis:doc:
|
|
940
|
+
"id": "hardis:doc:project2markdown",
|
|
991
941
|
"pluginAlias": "sfdx-hardis",
|
|
992
942
|
"pluginName": "sfdx-hardis",
|
|
993
943
|
"pluginType": "core",
|
|
994
944
|
"strict": true,
|
|
995
945
|
"enableJsonFlag": true,
|
|
996
|
-
"title": "
|
|
946
|
+
"title": "SFDX Project to Markdown",
|
|
947
|
+
"htmlInstructions": "## Doc HTML Pages\n\nTo read the documentation as HTML pages, run the following code (you need [**Python**](https://www.python.org/downloads/) on your computer)\n\n```python\npip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists || python -m pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists || py -m pip install mkdocs-material mkdocs-exclude-search mdx_truly_sane_lists\nmkdocs serve -v || python -m mkdocs serve -v || py -m mkdocs serve -v\n```\n\nTo just generate HTML pages that you can host anywhere, run `mkdocs build -v || python -m mkdocs build -v || py -m mkdocs build -v`\n",
|
|
997
948
|
"requiresProject": true,
|
|
998
949
|
"isESM": true,
|
|
999
950
|
"relativePath": [
|
|
@@ -1001,24 +952,26 @@
|
|
|
1001
952
|
"commands",
|
|
1002
953
|
"hardis",
|
|
1003
954
|
"doc",
|
|
1004
|
-
"
|
|
955
|
+
"project2markdown.js"
|
|
1005
956
|
],
|
|
1006
957
|
"aliasPermutations": [],
|
|
1007
958
|
"permutations": [
|
|
1008
|
-
"hardis:doc:
|
|
1009
|
-
"doc:hardis:
|
|
1010
|
-
"doc:
|
|
1011
|
-
"hardis:
|
|
1012
|
-
"
|
|
1013
|
-
"
|
|
959
|
+
"hardis:doc:project2markdown",
|
|
960
|
+
"doc:hardis:project2markdown",
|
|
961
|
+
"doc:project2markdown:hardis",
|
|
962
|
+
"hardis:project2markdown:doc",
|
|
963
|
+
"project2markdown:hardis:doc",
|
|
964
|
+
"project2markdown:doc:hardis"
|
|
1014
965
|
]
|
|
1015
966
|
},
|
|
1016
|
-
"hardis:
|
|
967
|
+
"hardis:lint:access": {
|
|
1017
968
|
"aliases": [],
|
|
1018
969
|
"args": {},
|
|
1019
|
-
"description": "
|
|
970
|
+
"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",
|
|
1020
971
|
"examples": [
|
|
1021
|
-
"$ sf hardis:
|
|
972
|
+
"$ sf hardis:lint:access",
|
|
973
|
+
"$ sf hardis:lint:access -e \"ApexClass:ClassA, CustomField:Account.CustomField\"",
|
|
974
|
+
"$ sf hardis:lint:access -i \"PermissionSet:permissionSetA, Profile\""
|
|
1022
975
|
],
|
|
1023
976
|
"flags": {
|
|
1024
977
|
"json": {
|
|
@@ -1036,17 +989,39 @@
|
|
|
1036
989
|
"multiple": false,
|
|
1037
990
|
"type": "option"
|
|
1038
991
|
},
|
|
1039
|
-
"
|
|
1040
|
-
"char": "
|
|
1041
|
-
"description": "
|
|
1042
|
-
"name": "
|
|
1043
|
-
"default": "
|
|
992
|
+
"elementsignored": {
|
|
993
|
+
"char": "e",
|
|
994
|
+
"description": "Ignore specific elements separated by commas",
|
|
995
|
+
"name": "elementsignored",
|
|
996
|
+
"default": "",
|
|
997
|
+
"hasDynamicHelp": false,
|
|
998
|
+
"multiple": false,
|
|
999
|
+
"type": "option"
|
|
1000
|
+
},
|
|
1001
|
+
"ignorerights": {
|
|
1002
|
+
"char": "i",
|
|
1003
|
+
"description": "Ignore permission sets or profiles",
|
|
1004
|
+
"name": "ignorerights",
|
|
1005
|
+
"default": "",
|
|
1006
|
+
"hasDynamicHelp": false,
|
|
1007
|
+
"multiple": false,
|
|
1008
|
+
"type": "option"
|
|
1009
|
+
},
|
|
1010
|
+
"folder": {
|
|
1011
|
+
"char": "f",
|
|
1012
|
+
"description": "Root folder",
|
|
1013
|
+
"name": "folder",
|
|
1014
|
+
"default": "force-app",
|
|
1015
|
+
"hasDynamicHelp": false,
|
|
1016
|
+
"multiple": false,
|
|
1017
|
+
"type": "option"
|
|
1018
|
+
},
|
|
1019
|
+
"outputfile": {
|
|
1020
|
+
"char": "x",
|
|
1021
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
1022
|
+
"name": "outputfile",
|
|
1044
1023
|
"hasDynamicHelp": false,
|
|
1045
1024
|
"multiple": false,
|
|
1046
|
-
"options": [
|
|
1047
|
-
"CICD",
|
|
1048
|
-
"Monitoring"
|
|
1049
|
-
],
|
|
1050
1025
|
"type": "option"
|
|
1051
1026
|
},
|
|
1052
1027
|
"debug": {
|
|
@@ -1078,8 +1053,7 @@
|
|
|
1078
1053
|
"deprecateAliases": true,
|
|
1079
1054
|
"name": "target-org",
|
|
1080
1055
|
"noCacheDefault": true,
|
|
1081
|
-
"
|
|
1082
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1056
|
+
"summary": "Username or alias of the target org.",
|
|
1083
1057
|
"hasDynamicHelp": true,
|
|
1084
1058
|
"multiple": false,
|
|
1085
1059
|
"type": "option"
|
|
@@ -1087,39 +1061,68 @@
|
|
|
1087
1061
|
},
|
|
1088
1062
|
"hasDynamicHelp": true,
|
|
1089
1063
|
"hiddenAliases": [],
|
|
1090
|
-
"id": "hardis:
|
|
1064
|
+
"id": "hardis:lint:access",
|
|
1091
1065
|
"pluginAlias": "sfdx-hardis",
|
|
1092
1066
|
"pluginName": "sfdx-hardis",
|
|
1093
1067
|
"pluginType": "core",
|
|
1094
1068
|
"strict": true,
|
|
1095
1069
|
"enableJsonFlag": true,
|
|
1096
|
-
"title": "
|
|
1070
|
+
"title": "check permission access",
|
|
1071
|
+
"supportsDevhubUsername": false,
|
|
1097
1072
|
"requiresProject": true,
|
|
1073
|
+
"sourceElements": [
|
|
1074
|
+
{
|
|
1075
|
+
"regex": "/**/*.cls",
|
|
1076
|
+
"type": "ApexClass",
|
|
1077
|
+
"xmlField": "apexClass",
|
|
1078
|
+
"xmlChildren": "classAccesses",
|
|
1079
|
+
"xmlAccessField": "enabled",
|
|
1080
|
+
"ignore": {
|
|
1081
|
+
"all": false,
|
|
1082
|
+
"elements": []
|
|
1083
|
+
}
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"regex": "/**/objects/**/fields/*__c.field-meta.xml",
|
|
1087
|
+
"type": "CustomField",
|
|
1088
|
+
"xmlField": "field",
|
|
1089
|
+
"xmlChildren": "fieldPermissions",
|
|
1090
|
+
"xmlAccessField": "readable",
|
|
1091
|
+
"ignore": {
|
|
1092
|
+
"all": false,
|
|
1093
|
+
"elements": []
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
],
|
|
1097
|
+
"messages": {
|
|
1098
|
+
"header": "Check if elements(apex class and field) are at least in one permission set",
|
|
1099
|
+
"allElementsHaveRights": "All elements are included in at least one Permission set or Profile",
|
|
1100
|
+
"someElementsDontHaveRights": "Some elements are not included in at least one Permission set or Profile"
|
|
1101
|
+
},
|
|
1098
1102
|
"isESM": true,
|
|
1099
1103
|
"relativePath": [
|
|
1100
1104
|
"lib",
|
|
1101
1105
|
"commands",
|
|
1102
1106
|
"hardis",
|
|
1103
|
-
"
|
|
1104
|
-
"
|
|
1107
|
+
"lint",
|
|
1108
|
+
"access.js"
|
|
1105
1109
|
],
|
|
1106
1110
|
"aliasPermutations": [],
|
|
1107
1111
|
"permutations": [
|
|
1108
|
-
"hardis:
|
|
1109
|
-
"
|
|
1110
|
-
"
|
|
1111
|
-
"hardis:
|
|
1112
|
-
"
|
|
1113
|
-
"
|
|
1112
|
+
"hardis:lint:access",
|
|
1113
|
+
"lint:hardis:access",
|
|
1114
|
+
"lint:access:hardis",
|
|
1115
|
+
"hardis:access:lint",
|
|
1116
|
+
"access:hardis:lint",
|
|
1117
|
+
"access:lint:hardis"
|
|
1114
1118
|
]
|
|
1115
1119
|
},
|
|
1116
|
-
"hardis:
|
|
1120
|
+
"hardis:lint:metadatastatus": {
|
|
1117
1121
|
"aliases": [],
|
|
1118
1122
|
"args": {},
|
|
1119
|
-
"description": "
|
|
1123
|
+
"description": "Check if elements are inactive in the project:\n\n- Approval Processes\n- Assignment Rules\n- Auto Response Rules\n- Escalation Rules\n- Flows\n- Forecasting Types\n- Record Types\n- Validation Rules\n- Workflow Rules\n\n\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-inactive-metadata/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
1120
1124
|
"examples": [
|
|
1121
|
-
"$ sf hardis:
|
|
1122
|
-
"$ sf hardis:doc:override-prompts --overwrite"
|
|
1125
|
+
"$ sf hardis:lint:metadatastatus"
|
|
1123
1126
|
],
|
|
1124
1127
|
"flags": {
|
|
1125
1128
|
"json": {
|
|
@@ -1137,12 +1140,6 @@
|
|
|
1137
1140
|
"multiple": false,
|
|
1138
1141
|
"type": "option"
|
|
1139
1142
|
},
|
|
1140
|
-
"overwrite": {
|
|
1141
|
-
"description": "Overwrite existing template files if they already exist",
|
|
1142
|
-
"name": "overwrite",
|
|
1143
|
-
"allowNo": false,
|
|
1144
|
-
"type": "boolean"
|
|
1145
|
-
},
|
|
1146
1143
|
"debug": {
|
|
1147
1144
|
"char": "d",
|
|
1148
1145
|
"description": "Activate debug mode (more logs)",
|
|
@@ -1150,6 +1147,14 @@
|
|
|
1150
1147
|
"allowNo": false,
|
|
1151
1148
|
"type": "boolean"
|
|
1152
1149
|
},
|
|
1150
|
+
"outputfile": {
|
|
1151
|
+
"char": "f",
|
|
1152
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
1153
|
+
"name": "outputfile",
|
|
1154
|
+
"hasDynamicHelp": false,
|
|
1155
|
+
"multiple": false,
|
|
1156
|
+
"type": "option"
|
|
1157
|
+
},
|
|
1153
1158
|
"websocket": {
|
|
1154
1159
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
1155
1160
|
"name": "websocket",
|
|
@@ -1162,43 +1167,57 @@
|
|
|
1162
1167
|
"name": "skipauth",
|
|
1163
1168
|
"allowNo": false,
|
|
1164
1169
|
"type": "boolean"
|
|
1170
|
+
},
|
|
1171
|
+
"target-org": {
|
|
1172
|
+
"aliases": [
|
|
1173
|
+
"targetusername",
|
|
1174
|
+
"u"
|
|
1175
|
+
],
|
|
1176
|
+
"char": "o",
|
|
1177
|
+
"deprecateAliases": true,
|
|
1178
|
+
"name": "target-org",
|
|
1179
|
+
"noCacheDefault": true,
|
|
1180
|
+
"summary": "Username or alias of the target org.",
|
|
1181
|
+
"hasDynamicHelp": true,
|
|
1182
|
+
"multiple": false,
|
|
1183
|
+
"type": "option"
|
|
1165
1184
|
}
|
|
1166
1185
|
},
|
|
1167
|
-
"hasDynamicHelp":
|
|
1186
|
+
"hasDynamicHelp": true,
|
|
1168
1187
|
"hiddenAliases": [],
|
|
1169
|
-
"id": "hardis:
|
|
1188
|
+
"id": "hardis:lint:metadatastatus",
|
|
1170
1189
|
"pluginAlias": "sfdx-hardis",
|
|
1171
1190
|
"pluginName": "sfdx-hardis",
|
|
1172
1191
|
"pluginType": "core",
|
|
1173
1192
|
"strict": true,
|
|
1174
1193
|
"enableJsonFlag": true,
|
|
1175
|
-
"title": "
|
|
1176
|
-
"
|
|
1194
|
+
"title": "check inactive metadatas",
|
|
1195
|
+
"supportsDevhubUsername": false,
|
|
1196
|
+
"requiresProject": true,
|
|
1177
1197
|
"isESM": true,
|
|
1178
1198
|
"relativePath": [
|
|
1179
1199
|
"lib",
|
|
1180
1200
|
"commands",
|
|
1181
1201
|
"hardis",
|
|
1182
|
-
"
|
|
1183
|
-
"
|
|
1202
|
+
"lint",
|
|
1203
|
+
"metadatastatus.js"
|
|
1184
1204
|
],
|
|
1185
1205
|
"aliasPermutations": [],
|
|
1186
1206
|
"permutations": [
|
|
1187
|
-
"hardis:
|
|
1188
|
-
"
|
|
1189
|
-
"
|
|
1190
|
-
"hardis:
|
|
1191
|
-
"
|
|
1192
|
-
"
|
|
1207
|
+
"hardis:lint:metadatastatus",
|
|
1208
|
+
"lint:hardis:metadatastatus",
|
|
1209
|
+
"lint:metadatastatus:hardis",
|
|
1210
|
+
"hardis:metadatastatus:lint",
|
|
1211
|
+
"metadatastatus:hardis:lint",
|
|
1212
|
+
"metadatastatus:lint:hardis"
|
|
1193
1213
|
]
|
|
1194
1214
|
},
|
|
1195
|
-
"hardis:
|
|
1215
|
+
"hardis:lint:missingattributes": {
|
|
1196
1216
|
"aliases": [],
|
|
1197
1217
|
"args": {},
|
|
1198
|
-
"description": "
|
|
1218
|
+
"description": "Check if elements(custom fields) aren't description",
|
|
1199
1219
|
"examples": [
|
|
1200
|
-
"$ sf hardis:
|
|
1201
|
-
"$ sf hardis:doc:packagexml2markdown --inputfile manifest/package-all.xml"
|
|
1220
|
+
"$ sf hardis:lint:missingattributes"
|
|
1202
1221
|
],
|
|
1203
1222
|
"flags": {
|
|
1204
1223
|
"json": {
|
|
@@ -1216,29 +1235,21 @@
|
|
|
1216
1235
|
"multiple": false,
|
|
1217
1236
|
"type": "option"
|
|
1218
1237
|
},
|
|
1219
|
-
"
|
|
1220
|
-
"char": "
|
|
1221
|
-
"description": "
|
|
1222
|
-
"name": "
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1225
|
-
"type": "option"
|
|
1238
|
+
"debug": {
|
|
1239
|
+
"char": "d",
|
|
1240
|
+
"description": "Activate debug mode (more logs)",
|
|
1241
|
+
"name": "debug",
|
|
1242
|
+
"allowNo": false,
|
|
1243
|
+
"type": "boolean"
|
|
1226
1244
|
},
|
|
1227
1245
|
"outputfile": {
|
|
1228
1246
|
"char": "f",
|
|
1229
|
-
"description": "Force the path and name of output report file. Must end with .
|
|
1247
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
1230
1248
|
"name": "outputfile",
|
|
1231
1249
|
"hasDynamicHelp": false,
|
|
1232
1250
|
"multiple": false,
|
|
1233
1251
|
"type": "option"
|
|
1234
1252
|
},
|
|
1235
|
-
"debug": {
|
|
1236
|
-
"char": "d",
|
|
1237
|
-
"description": "Activate debug mode (more logs)",
|
|
1238
|
-
"name": "debug",
|
|
1239
|
-
"allowNo": false,
|
|
1240
|
-
"type": "boolean"
|
|
1241
|
-
},
|
|
1242
1253
|
"websocket": {
|
|
1243
1254
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
1244
1255
|
"name": "websocket",
|
|
@@ -1269,40 +1280,39 @@
|
|
|
1269
1280
|
},
|
|
1270
1281
|
"hasDynamicHelp": true,
|
|
1271
1282
|
"hiddenAliases": [],
|
|
1272
|
-
"id": "hardis:
|
|
1283
|
+
"id": "hardis:lint:missingattributes",
|
|
1273
1284
|
"pluginAlias": "sfdx-hardis",
|
|
1274
1285
|
"pluginName": "sfdx-hardis",
|
|
1275
1286
|
"pluginType": "core",
|
|
1276
1287
|
"strict": true,
|
|
1277
1288
|
"enableJsonFlag": true,
|
|
1278
|
-
"title": "
|
|
1279
|
-
"
|
|
1289
|
+
"title": "check missing description on custom fields",
|
|
1290
|
+
"supportsDevhubUsername": false,
|
|
1291
|
+
"requiresProject": true,
|
|
1280
1292
|
"isESM": true,
|
|
1281
1293
|
"relativePath": [
|
|
1282
1294
|
"lib",
|
|
1283
1295
|
"commands",
|
|
1284
1296
|
"hardis",
|
|
1285
|
-
"
|
|
1286
|
-
"
|
|
1297
|
+
"lint",
|
|
1298
|
+
"missingattributes.js"
|
|
1287
1299
|
],
|
|
1288
1300
|
"aliasPermutations": [],
|
|
1289
1301
|
"permutations": [
|
|
1290
|
-
"hardis:
|
|
1291
|
-
"
|
|
1292
|
-
"
|
|
1293
|
-
"hardis:
|
|
1294
|
-
"
|
|
1295
|
-
"
|
|
1302
|
+
"hardis:lint:missingattributes",
|
|
1303
|
+
"lint:hardis:missingattributes",
|
|
1304
|
+
"lint:missingattributes:hardis",
|
|
1305
|
+
"hardis:missingattributes:lint",
|
|
1306
|
+
"missingattributes:hardis:lint",
|
|
1307
|
+
"missingattributes:lint:hardis"
|
|
1296
1308
|
]
|
|
1297
1309
|
},
|
|
1298
|
-
"hardis:
|
|
1310
|
+
"hardis:lint:unusedmetadatas": {
|
|
1299
1311
|
"aliases": [],
|
|
1300
1312
|
"args": {},
|
|
1301
|
-
"description": "
|
|
1313
|
+
"description": "Check if elements (custom labels and custom permissions) are used in the project\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-unused-metadata/) and can output Grafana, Slack and MsTeams Notifications.\n ",
|
|
1302
1314
|
"examples": [
|
|
1303
|
-
"$ sf hardis:
|
|
1304
|
-
"$ sf hardis:doc:project2markdown --with-history",
|
|
1305
|
-
"$ sf hardis:doc:project2markdown --with-history --pdf"
|
|
1315
|
+
"$ sf hardis:lint:unusedmetadatas"
|
|
1306
1316
|
],
|
|
1307
1317
|
"flags": {
|
|
1308
1318
|
"json": {
|
|
@@ -1320,24 +1330,6 @@
|
|
|
1320
1330
|
"multiple": false,
|
|
1321
1331
|
"type": "option"
|
|
1322
1332
|
},
|
|
1323
|
-
"diff-only": {
|
|
1324
|
-
"description": "Generate documentation only for changed files (used for monitoring)",
|
|
1325
|
-
"name": "diff-only",
|
|
1326
|
-
"allowNo": false,
|
|
1327
|
-
"type": "boolean"
|
|
1328
|
-
},
|
|
1329
|
-
"with-history": {
|
|
1330
|
-
"description": "Generate a markdown file with the history diff of the Flow",
|
|
1331
|
-
"name": "with-history",
|
|
1332
|
-
"allowNo": false,
|
|
1333
|
-
"type": "boolean"
|
|
1334
|
-
},
|
|
1335
|
-
"pdf": {
|
|
1336
|
-
"description": "Also generate the documentation in PDF format",
|
|
1337
|
-
"name": "pdf",
|
|
1338
|
-
"allowNo": false,
|
|
1339
|
-
"type": "boolean"
|
|
1340
|
-
},
|
|
1341
1333
|
"debug": {
|
|
1342
1334
|
"char": "d",
|
|
1343
1335
|
"description": "Activate debug mode (more logs)",
|
|
@@ -1345,6 +1337,14 @@
|
|
|
1345
1337
|
"allowNo": false,
|
|
1346
1338
|
"type": "boolean"
|
|
1347
1339
|
},
|
|
1340
|
+
"outputfile": {
|
|
1341
|
+
"char": "f",
|
|
1342
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
1343
|
+
"name": "outputfile",
|
|
1344
|
+
"hasDynamicHelp": false,
|
|
1345
|
+
"multiple": false,
|
|
1346
|
+
"type": "option"
|
|
1347
|
+
},
|
|
1348
1348
|
"websocket": {
|
|
1349
1349
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
1350
1350
|
"name": "websocket",
|
|
@@ -1375,31 +1375,31 @@
|
|
|
1375
1375
|
},
|
|
1376
1376
|
"hasDynamicHelp": true,
|
|
1377
1377
|
"hiddenAliases": [],
|
|
1378
|
-
"id": "hardis:
|
|
1378
|
+
"id": "hardis:lint:unusedmetadatas",
|
|
1379
1379
|
"pluginAlias": "sfdx-hardis",
|
|
1380
1380
|
"pluginName": "sfdx-hardis",
|
|
1381
1381
|
"pluginType": "core",
|
|
1382
1382
|
"strict": true,
|
|
1383
1383
|
"enableJsonFlag": true,
|
|
1384
|
-
"title": "
|
|
1385
|
-
"
|
|
1384
|
+
"title": "check unused labels and custom permissions",
|
|
1385
|
+
"supportsDevhubUsername": false,
|
|
1386
1386
|
"requiresProject": true,
|
|
1387
1387
|
"isESM": true,
|
|
1388
1388
|
"relativePath": [
|
|
1389
1389
|
"lib",
|
|
1390
1390
|
"commands",
|
|
1391
1391
|
"hardis",
|
|
1392
|
-
"
|
|
1393
|
-
"
|
|
1392
|
+
"lint",
|
|
1393
|
+
"unusedmetadatas.js"
|
|
1394
1394
|
],
|
|
1395
1395
|
"aliasPermutations": [],
|
|
1396
1396
|
"permutations": [
|
|
1397
|
-
"hardis:
|
|
1398
|
-
"
|
|
1399
|
-
"
|
|
1400
|
-
"hardis:
|
|
1401
|
-
"
|
|
1402
|
-
"
|
|
1397
|
+
"hardis:lint:unusedmetadatas",
|
|
1398
|
+
"lint:hardis:unusedmetadatas",
|
|
1399
|
+
"lint:unusedmetadatas:hardis",
|
|
1400
|
+
"hardis:unusedmetadatas:lint",
|
|
1401
|
+
"unusedmetadatas:hardis:lint",
|
|
1402
|
+
"unusedmetadatas:lint:hardis"
|
|
1403
1403
|
]
|
|
1404
1404
|
},
|
|
1405
1405
|
"hardis:mdapi:deploy": {
|
|
@@ -4394,135 +4394,6 @@
|
|
|
4394
4394
|
"ws:work:hardis"
|
|
4395
4395
|
]
|
|
4396
4396
|
},
|
|
4397
|
-
"hardis:git:pull-requests:extract": {
|
|
4398
|
-
"aliases": [],
|
|
4399
|
-
"args": {},
|
|
4400
|
-
"description": "Extract pull requests with filtering criteria",
|
|
4401
|
-
"examples": [
|
|
4402
|
-
"$ sf hardis:git:pull-requests:extract",
|
|
4403
|
-
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4404
|
-
],
|
|
4405
|
-
"flags": {
|
|
4406
|
-
"json": {
|
|
4407
|
-
"description": "Format output as json.",
|
|
4408
|
-
"helpGroup": "GLOBAL",
|
|
4409
|
-
"name": "json",
|
|
4410
|
-
"allowNo": false,
|
|
4411
|
-
"type": "boolean"
|
|
4412
|
-
},
|
|
4413
|
-
"flags-dir": {
|
|
4414
|
-
"helpGroup": "GLOBAL",
|
|
4415
|
-
"name": "flags-dir",
|
|
4416
|
-
"summary": "Import flag values from a directory.",
|
|
4417
|
-
"hasDynamicHelp": false,
|
|
4418
|
-
"multiple": false,
|
|
4419
|
-
"type": "option"
|
|
4420
|
-
},
|
|
4421
|
-
"target-branch": {
|
|
4422
|
-
"char": "t",
|
|
4423
|
-
"description": "Target branch of PRs",
|
|
4424
|
-
"name": "target-branch",
|
|
4425
|
-
"hasDynamicHelp": false,
|
|
4426
|
-
"multiple": false,
|
|
4427
|
-
"type": "option"
|
|
4428
|
-
},
|
|
4429
|
-
"status": {
|
|
4430
|
-
"char": "x",
|
|
4431
|
-
"description": "Status of the PR",
|
|
4432
|
-
"name": "status",
|
|
4433
|
-
"hasDynamicHelp": false,
|
|
4434
|
-
"multiple": false,
|
|
4435
|
-
"options": [
|
|
4436
|
-
"open",
|
|
4437
|
-
"merged",
|
|
4438
|
-
"abandoned"
|
|
4439
|
-
],
|
|
4440
|
-
"type": "option"
|
|
4441
|
-
},
|
|
4442
|
-
"min-date": {
|
|
4443
|
-
"char": "m",
|
|
4444
|
-
"description": "Minimum date for PR",
|
|
4445
|
-
"name": "min-date",
|
|
4446
|
-
"hasDynamicHelp": false,
|
|
4447
|
-
"multiple": false,
|
|
4448
|
-
"type": "option"
|
|
4449
|
-
},
|
|
4450
|
-
"outputfile": {
|
|
4451
|
-
"char": "f",
|
|
4452
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4453
|
-
"name": "outputfile",
|
|
4454
|
-
"hasDynamicHelp": false,
|
|
4455
|
-
"multiple": false,
|
|
4456
|
-
"type": "option"
|
|
4457
|
-
},
|
|
4458
|
-
"debug": {
|
|
4459
|
-
"char": "d",
|
|
4460
|
-
"description": "Activate debug mode (more logs)",
|
|
4461
|
-
"name": "debug",
|
|
4462
|
-
"allowNo": false,
|
|
4463
|
-
"type": "boolean"
|
|
4464
|
-
},
|
|
4465
|
-
"websocket": {
|
|
4466
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4467
|
-
"name": "websocket",
|
|
4468
|
-
"hasDynamicHelp": false,
|
|
4469
|
-
"multiple": false,
|
|
4470
|
-
"type": "option"
|
|
4471
|
-
},
|
|
4472
|
-
"skipauth": {
|
|
4473
|
-
"description": "Skip authentication check when a default username is required",
|
|
4474
|
-
"name": "skipauth",
|
|
4475
|
-
"allowNo": false,
|
|
4476
|
-
"type": "boolean"
|
|
4477
|
-
}
|
|
4478
|
-
},
|
|
4479
|
-
"hasDynamicHelp": false,
|
|
4480
|
-
"hiddenAliases": [],
|
|
4481
|
-
"id": "hardis:git:pull-requests:extract",
|
|
4482
|
-
"pluginAlias": "sfdx-hardis",
|
|
4483
|
-
"pluginName": "sfdx-hardis",
|
|
4484
|
-
"pluginType": "core",
|
|
4485
|
-
"strict": true,
|
|
4486
|
-
"enableJsonFlag": true,
|
|
4487
|
-
"title": "Extract pull requests",
|
|
4488
|
-
"requiresProject": true,
|
|
4489
|
-
"isESM": true,
|
|
4490
|
-
"relativePath": [
|
|
4491
|
-
"lib",
|
|
4492
|
-
"commands",
|
|
4493
|
-
"hardis",
|
|
4494
|
-
"git",
|
|
4495
|
-
"pull-requests",
|
|
4496
|
-
"extract.js"
|
|
4497
|
-
],
|
|
4498
|
-
"aliasPermutations": [],
|
|
4499
|
-
"permutations": [
|
|
4500
|
-
"hardis:git:pull-requests:extract",
|
|
4501
|
-
"git:hardis:pull-requests:extract",
|
|
4502
|
-
"git:pull-requests:hardis:extract",
|
|
4503
|
-
"git:pull-requests:extract:hardis",
|
|
4504
|
-
"hardis:pull-requests:git:extract",
|
|
4505
|
-
"pull-requests:hardis:git:extract",
|
|
4506
|
-
"pull-requests:git:hardis:extract",
|
|
4507
|
-
"pull-requests:git:extract:hardis",
|
|
4508
|
-
"hardis:pull-requests:extract:git",
|
|
4509
|
-
"pull-requests:hardis:extract:git",
|
|
4510
|
-
"pull-requests:extract:hardis:git",
|
|
4511
|
-
"pull-requests:extract:git:hardis",
|
|
4512
|
-
"hardis:git:extract:pull-requests",
|
|
4513
|
-
"git:hardis:extract:pull-requests",
|
|
4514
|
-
"git:extract:hardis:pull-requests",
|
|
4515
|
-
"git:extract:pull-requests:hardis",
|
|
4516
|
-
"hardis:extract:git:pull-requests",
|
|
4517
|
-
"extract:hardis:git:pull-requests",
|
|
4518
|
-
"extract:git:hardis:pull-requests",
|
|
4519
|
-
"extract:git:pull-requests:hardis",
|
|
4520
|
-
"hardis:extract:pull-requests:git",
|
|
4521
|
-
"extract:hardis:pull-requests:git",
|
|
4522
|
-
"extract:pull-requests:hardis:git",
|
|
4523
|
-
"extract:pull-requests:git:hardis"
|
|
4524
|
-
]
|
|
4525
|
-
},
|
|
4526
4397
|
"hardis:doc:extract:permsetgroups": {
|
|
4527
4398
|
"aliases": [],
|
|
4528
4399
|
"args": {},
|
|
@@ -4713,6 +4584,135 @@
|
|
|
4713
4584
|
"generate:plugin:doc:hardis"
|
|
4714
4585
|
]
|
|
4715
4586
|
},
|
|
4587
|
+
"hardis:git:pull-requests:extract": {
|
|
4588
|
+
"aliases": [],
|
|
4589
|
+
"args": {},
|
|
4590
|
+
"description": "Extract pull requests with filtering criteria",
|
|
4591
|
+
"examples": [
|
|
4592
|
+
"$ sf hardis:git:pull-requests:extract",
|
|
4593
|
+
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4594
|
+
],
|
|
4595
|
+
"flags": {
|
|
4596
|
+
"json": {
|
|
4597
|
+
"description": "Format output as json.",
|
|
4598
|
+
"helpGroup": "GLOBAL",
|
|
4599
|
+
"name": "json",
|
|
4600
|
+
"allowNo": false,
|
|
4601
|
+
"type": "boolean"
|
|
4602
|
+
},
|
|
4603
|
+
"flags-dir": {
|
|
4604
|
+
"helpGroup": "GLOBAL",
|
|
4605
|
+
"name": "flags-dir",
|
|
4606
|
+
"summary": "Import flag values from a directory.",
|
|
4607
|
+
"hasDynamicHelp": false,
|
|
4608
|
+
"multiple": false,
|
|
4609
|
+
"type": "option"
|
|
4610
|
+
},
|
|
4611
|
+
"target-branch": {
|
|
4612
|
+
"char": "t",
|
|
4613
|
+
"description": "Target branch of PRs",
|
|
4614
|
+
"name": "target-branch",
|
|
4615
|
+
"hasDynamicHelp": false,
|
|
4616
|
+
"multiple": false,
|
|
4617
|
+
"type": "option"
|
|
4618
|
+
},
|
|
4619
|
+
"status": {
|
|
4620
|
+
"char": "x",
|
|
4621
|
+
"description": "Status of the PR",
|
|
4622
|
+
"name": "status",
|
|
4623
|
+
"hasDynamicHelp": false,
|
|
4624
|
+
"multiple": false,
|
|
4625
|
+
"options": [
|
|
4626
|
+
"open",
|
|
4627
|
+
"merged",
|
|
4628
|
+
"abandoned"
|
|
4629
|
+
],
|
|
4630
|
+
"type": "option"
|
|
4631
|
+
},
|
|
4632
|
+
"min-date": {
|
|
4633
|
+
"char": "m",
|
|
4634
|
+
"description": "Minimum date for PR",
|
|
4635
|
+
"name": "min-date",
|
|
4636
|
+
"hasDynamicHelp": false,
|
|
4637
|
+
"multiple": false,
|
|
4638
|
+
"type": "option"
|
|
4639
|
+
},
|
|
4640
|
+
"outputfile": {
|
|
4641
|
+
"char": "f",
|
|
4642
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4643
|
+
"name": "outputfile",
|
|
4644
|
+
"hasDynamicHelp": false,
|
|
4645
|
+
"multiple": false,
|
|
4646
|
+
"type": "option"
|
|
4647
|
+
},
|
|
4648
|
+
"debug": {
|
|
4649
|
+
"char": "d",
|
|
4650
|
+
"description": "Activate debug mode (more logs)",
|
|
4651
|
+
"name": "debug",
|
|
4652
|
+
"allowNo": false,
|
|
4653
|
+
"type": "boolean"
|
|
4654
|
+
},
|
|
4655
|
+
"websocket": {
|
|
4656
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4657
|
+
"name": "websocket",
|
|
4658
|
+
"hasDynamicHelp": false,
|
|
4659
|
+
"multiple": false,
|
|
4660
|
+
"type": "option"
|
|
4661
|
+
},
|
|
4662
|
+
"skipauth": {
|
|
4663
|
+
"description": "Skip authentication check when a default username is required",
|
|
4664
|
+
"name": "skipauth",
|
|
4665
|
+
"allowNo": false,
|
|
4666
|
+
"type": "boolean"
|
|
4667
|
+
}
|
|
4668
|
+
},
|
|
4669
|
+
"hasDynamicHelp": false,
|
|
4670
|
+
"hiddenAliases": [],
|
|
4671
|
+
"id": "hardis:git:pull-requests:extract",
|
|
4672
|
+
"pluginAlias": "sfdx-hardis",
|
|
4673
|
+
"pluginName": "sfdx-hardis",
|
|
4674
|
+
"pluginType": "core",
|
|
4675
|
+
"strict": true,
|
|
4676
|
+
"enableJsonFlag": true,
|
|
4677
|
+
"title": "Extract pull requests",
|
|
4678
|
+
"requiresProject": true,
|
|
4679
|
+
"isESM": true,
|
|
4680
|
+
"relativePath": [
|
|
4681
|
+
"lib",
|
|
4682
|
+
"commands",
|
|
4683
|
+
"hardis",
|
|
4684
|
+
"git",
|
|
4685
|
+
"pull-requests",
|
|
4686
|
+
"extract.js"
|
|
4687
|
+
],
|
|
4688
|
+
"aliasPermutations": [],
|
|
4689
|
+
"permutations": [
|
|
4690
|
+
"hardis:git:pull-requests:extract",
|
|
4691
|
+
"git:hardis:pull-requests:extract",
|
|
4692
|
+
"git:pull-requests:hardis:extract",
|
|
4693
|
+
"git:pull-requests:extract:hardis",
|
|
4694
|
+
"hardis:pull-requests:git:extract",
|
|
4695
|
+
"pull-requests:hardis:git:extract",
|
|
4696
|
+
"pull-requests:git:hardis:extract",
|
|
4697
|
+
"pull-requests:git:extract:hardis",
|
|
4698
|
+
"hardis:pull-requests:extract:git",
|
|
4699
|
+
"pull-requests:hardis:extract:git",
|
|
4700
|
+
"pull-requests:extract:hardis:git",
|
|
4701
|
+
"pull-requests:extract:git:hardis",
|
|
4702
|
+
"hardis:git:extract:pull-requests",
|
|
4703
|
+
"git:hardis:extract:pull-requests",
|
|
4704
|
+
"git:extract:hardis:pull-requests",
|
|
4705
|
+
"git:extract:pull-requests:hardis",
|
|
4706
|
+
"hardis:extract:git:pull-requests",
|
|
4707
|
+
"extract:hardis:git:pull-requests",
|
|
4708
|
+
"extract:git:hardis:pull-requests",
|
|
4709
|
+
"extract:git:pull-requests:hardis",
|
|
4710
|
+
"hardis:extract:pull-requests:git",
|
|
4711
|
+
"extract:hardis:pull-requests:git",
|
|
4712
|
+
"extract:pull-requests:hardis:git",
|
|
4713
|
+
"extract:pull-requests:git:hardis"
|
|
4714
|
+
]
|
|
4715
|
+
},
|
|
4716
4716
|
"hardis:org:community:update": {
|
|
4717
4717
|
"aliases": [],
|
|
4718
4718
|
"args": {},
|
|
@@ -5738,6 +5738,121 @@
|
|
|
5738
5738
|
"import:files:org:hardis"
|
|
5739
5739
|
]
|
|
5740
5740
|
},
|
|
5741
|
+
"hardis:org:fix:listviewmine": {
|
|
5742
|
+
"aliases": [],
|
|
5743
|
+
"args": {},
|
|
5744
|
+
"description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n",
|
|
5745
|
+
"examples": [
|
|
5746
|
+
"$ sf hardis:org:fix:listviewmine",
|
|
5747
|
+
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
5748
|
+
],
|
|
5749
|
+
"flags": {
|
|
5750
|
+
"json": {
|
|
5751
|
+
"description": "Format output as json.",
|
|
5752
|
+
"helpGroup": "GLOBAL",
|
|
5753
|
+
"name": "json",
|
|
5754
|
+
"allowNo": false,
|
|
5755
|
+
"type": "boolean"
|
|
5756
|
+
},
|
|
5757
|
+
"flags-dir": {
|
|
5758
|
+
"helpGroup": "GLOBAL",
|
|
5759
|
+
"name": "flags-dir",
|
|
5760
|
+
"summary": "Import flag values from a directory.",
|
|
5761
|
+
"hasDynamicHelp": false,
|
|
5762
|
+
"multiple": false,
|
|
5763
|
+
"type": "option"
|
|
5764
|
+
},
|
|
5765
|
+
"listviews": {
|
|
5766
|
+
"char": "l",
|
|
5767
|
+
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
5768
|
+
"name": "listviews",
|
|
5769
|
+
"hasDynamicHelp": false,
|
|
5770
|
+
"multiple": false,
|
|
5771
|
+
"type": "option"
|
|
5772
|
+
},
|
|
5773
|
+
"debug": {
|
|
5774
|
+
"char": "d",
|
|
5775
|
+
"description": "Activate debug mode (more logs)",
|
|
5776
|
+
"name": "debug",
|
|
5777
|
+
"allowNo": false,
|
|
5778
|
+
"type": "boolean"
|
|
5779
|
+
},
|
|
5780
|
+
"websocket": {
|
|
5781
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5782
|
+
"name": "websocket",
|
|
5783
|
+
"hasDynamicHelp": false,
|
|
5784
|
+
"multiple": false,
|
|
5785
|
+
"type": "option"
|
|
5786
|
+
},
|
|
5787
|
+
"skipauth": {
|
|
5788
|
+
"description": "Skip authentication check when a default username is required",
|
|
5789
|
+
"name": "skipauth",
|
|
5790
|
+
"allowNo": false,
|
|
5791
|
+
"type": "boolean"
|
|
5792
|
+
},
|
|
5793
|
+
"target-org": {
|
|
5794
|
+
"aliases": [
|
|
5795
|
+
"targetusername",
|
|
5796
|
+
"u"
|
|
5797
|
+
],
|
|
5798
|
+
"char": "o",
|
|
5799
|
+
"deprecateAliases": true,
|
|
5800
|
+
"name": "target-org",
|
|
5801
|
+
"noCacheDefault": true,
|
|
5802
|
+
"required": true,
|
|
5803
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5804
|
+
"hasDynamicHelp": true,
|
|
5805
|
+
"multiple": false,
|
|
5806
|
+
"type": "option"
|
|
5807
|
+
}
|
|
5808
|
+
},
|
|
5809
|
+
"hasDynamicHelp": true,
|
|
5810
|
+
"hiddenAliases": [],
|
|
5811
|
+
"id": "hardis:org:fix:listviewmine",
|
|
5812
|
+
"pluginAlias": "sfdx-hardis",
|
|
5813
|
+
"pluginName": "sfdx-hardis",
|
|
5814
|
+
"pluginType": "core",
|
|
5815
|
+
"strict": true,
|
|
5816
|
+
"enableJsonFlag": true,
|
|
5817
|
+
"title": "Fix listviews with ",
|
|
5818
|
+
"requiresProject": true,
|
|
5819
|
+
"isESM": true,
|
|
5820
|
+
"relativePath": [
|
|
5821
|
+
"lib",
|
|
5822
|
+
"commands",
|
|
5823
|
+
"hardis",
|
|
5824
|
+
"org",
|
|
5825
|
+
"fix",
|
|
5826
|
+
"listviewmine.js"
|
|
5827
|
+
],
|
|
5828
|
+
"aliasPermutations": [],
|
|
5829
|
+
"permutations": [
|
|
5830
|
+
"hardis:org:fix:listviewmine",
|
|
5831
|
+
"org:hardis:fix:listviewmine",
|
|
5832
|
+
"org:fix:hardis:listviewmine",
|
|
5833
|
+
"org:fix:listviewmine:hardis",
|
|
5834
|
+
"hardis:fix:org:listviewmine",
|
|
5835
|
+
"fix:hardis:org:listviewmine",
|
|
5836
|
+
"fix:org:hardis:listviewmine",
|
|
5837
|
+
"fix:org:listviewmine:hardis",
|
|
5838
|
+
"hardis:fix:listviewmine:org",
|
|
5839
|
+
"fix:hardis:listviewmine:org",
|
|
5840
|
+
"fix:listviewmine:hardis:org",
|
|
5841
|
+
"fix:listviewmine:org:hardis",
|
|
5842
|
+
"hardis:org:listviewmine:fix",
|
|
5843
|
+
"org:hardis:listviewmine:fix",
|
|
5844
|
+
"org:listviewmine:hardis:fix",
|
|
5845
|
+
"org:listviewmine:fix:hardis",
|
|
5846
|
+
"hardis:listviewmine:org:fix",
|
|
5847
|
+
"listviewmine:hardis:org:fix",
|
|
5848
|
+
"listviewmine:org:hardis:fix",
|
|
5849
|
+
"listviewmine:org:fix:hardis",
|
|
5850
|
+
"hardis:listviewmine:fix:org",
|
|
5851
|
+
"listviewmine:hardis:fix:org",
|
|
5852
|
+
"listviewmine:fix:hardis:org",
|
|
5853
|
+
"listviewmine:fix:org:hardis"
|
|
5854
|
+
]
|
|
5855
|
+
},
|
|
5741
5856
|
"hardis:org:diagnose:audittrail": {
|
|
5742
5857
|
"aliases": [],
|
|
5743
5858
|
"args": {},
|
|
@@ -6861,145 +6976,30 @@
|
|
|
6861
6976
|
],
|
|
6862
6977
|
"aliasPermutations": [],
|
|
6863
6978
|
"permutations": [
|
|
6864
|
-
"hardis:org:diagnose:unusedusers",
|
|
6865
|
-
"org:hardis:diagnose:unusedusers",
|
|
6866
|
-
"org:diagnose:hardis:unusedusers",
|
|
6867
|
-
"org:diagnose:unusedusers:hardis",
|
|
6868
|
-
"hardis:diagnose:org:unusedusers",
|
|
6869
|
-
"diagnose:hardis:org:unusedusers",
|
|
6870
|
-
"diagnose:org:hardis:unusedusers",
|
|
6871
|
-
"diagnose:org:unusedusers:hardis",
|
|
6872
|
-
"hardis:diagnose:unusedusers:org",
|
|
6873
|
-
"diagnose:hardis:unusedusers:org",
|
|
6874
|
-
"diagnose:unusedusers:hardis:org",
|
|
6875
|
-
"diagnose:unusedusers:org:hardis",
|
|
6876
|
-
"hardis:org:unusedusers:diagnose",
|
|
6877
|
-
"org:hardis:unusedusers:diagnose",
|
|
6878
|
-
"org:unusedusers:hardis:diagnose",
|
|
6879
|
-
"org:unusedusers:diagnose:hardis",
|
|
6880
|
-
"hardis:unusedusers:org:diagnose",
|
|
6881
|
-
"unusedusers:hardis:org:diagnose",
|
|
6882
|
-
"unusedusers:org:hardis:diagnose",
|
|
6883
|
-
"unusedusers:org:diagnose:hardis",
|
|
6884
|
-
"hardis:unusedusers:diagnose:org",
|
|
6885
|
-
"unusedusers:hardis:diagnose:org",
|
|
6886
|
-
"unusedusers:diagnose:hardis:org",
|
|
6887
|
-
"unusedusers:diagnose:org:hardis"
|
|
6888
|
-
]
|
|
6889
|
-
},
|
|
6890
|
-
"hardis:org:fix:listviewmine": {
|
|
6891
|
-
"aliases": [],
|
|
6892
|
-
"args": {},
|
|
6893
|
-
"description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n",
|
|
6894
|
-
"examples": [
|
|
6895
|
-
"$ sf hardis:org:fix:listviewmine",
|
|
6896
|
-
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
6897
|
-
],
|
|
6898
|
-
"flags": {
|
|
6899
|
-
"json": {
|
|
6900
|
-
"description": "Format output as json.",
|
|
6901
|
-
"helpGroup": "GLOBAL",
|
|
6902
|
-
"name": "json",
|
|
6903
|
-
"allowNo": false,
|
|
6904
|
-
"type": "boolean"
|
|
6905
|
-
},
|
|
6906
|
-
"flags-dir": {
|
|
6907
|
-
"helpGroup": "GLOBAL",
|
|
6908
|
-
"name": "flags-dir",
|
|
6909
|
-
"summary": "Import flag values from a directory.",
|
|
6910
|
-
"hasDynamicHelp": false,
|
|
6911
|
-
"multiple": false,
|
|
6912
|
-
"type": "option"
|
|
6913
|
-
},
|
|
6914
|
-
"listviews": {
|
|
6915
|
-
"char": "l",
|
|
6916
|
-
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
6917
|
-
"name": "listviews",
|
|
6918
|
-
"hasDynamicHelp": false,
|
|
6919
|
-
"multiple": false,
|
|
6920
|
-
"type": "option"
|
|
6921
|
-
},
|
|
6922
|
-
"debug": {
|
|
6923
|
-
"char": "d",
|
|
6924
|
-
"description": "Activate debug mode (more logs)",
|
|
6925
|
-
"name": "debug",
|
|
6926
|
-
"allowNo": false,
|
|
6927
|
-
"type": "boolean"
|
|
6928
|
-
},
|
|
6929
|
-
"websocket": {
|
|
6930
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6931
|
-
"name": "websocket",
|
|
6932
|
-
"hasDynamicHelp": false,
|
|
6933
|
-
"multiple": false,
|
|
6934
|
-
"type": "option"
|
|
6935
|
-
},
|
|
6936
|
-
"skipauth": {
|
|
6937
|
-
"description": "Skip authentication check when a default username is required",
|
|
6938
|
-
"name": "skipauth",
|
|
6939
|
-
"allowNo": false,
|
|
6940
|
-
"type": "boolean"
|
|
6941
|
-
},
|
|
6942
|
-
"target-org": {
|
|
6943
|
-
"aliases": [
|
|
6944
|
-
"targetusername",
|
|
6945
|
-
"u"
|
|
6946
|
-
],
|
|
6947
|
-
"char": "o",
|
|
6948
|
-
"deprecateAliases": true,
|
|
6949
|
-
"name": "target-org",
|
|
6950
|
-
"noCacheDefault": true,
|
|
6951
|
-
"required": true,
|
|
6952
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6953
|
-
"hasDynamicHelp": true,
|
|
6954
|
-
"multiple": false,
|
|
6955
|
-
"type": "option"
|
|
6956
|
-
}
|
|
6957
|
-
},
|
|
6958
|
-
"hasDynamicHelp": true,
|
|
6959
|
-
"hiddenAliases": [],
|
|
6960
|
-
"id": "hardis:org:fix:listviewmine",
|
|
6961
|
-
"pluginAlias": "sfdx-hardis",
|
|
6962
|
-
"pluginName": "sfdx-hardis",
|
|
6963
|
-
"pluginType": "core",
|
|
6964
|
-
"strict": true,
|
|
6965
|
-
"enableJsonFlag": true,
|
|
6966
|
-
"title": "Fix listviews with ",
|
|
6967
|
-
"requiresProject": true,
|
|
6968
|
-
"isESM": true,
|
|
6969
|
-
"relativePath": [
|
|
6970
|
-
"lib",
|
|
6971
|
-
"commands",
|
|
6972
|
-
"hardis",
|
|
6973
|
-
"org",
|
|
6974
|
-
"fix",
|
|
6975
|
-
"listviewmine.js"
|
|
6976
|
-
],
|
|
6977
|
-
"aliasPermutations": [],
|
|
6978
|
-
"permutations": [
|
|
6979
|
-
"hardis:org:fix:listviewmine",
|
|
6980
|
-
"org:hardis:fix:listviewmine",
|
|
6981
|
-
"org:fix:hardis:listviewmine",
|
|
6982
|
-
"org:fix:listviewmine:hardis",
|
|
6983
|
-
"hardis:fix:org:listviewmine",
|
|
6984
|
-
"fix:hardis:org:listviewmine",
|
|
6985
|
-
"fix:org:hardis:listviewmine",
|
|
6986
|
-
"fix:org:listviewmine:hardis",
|
|
6987
|
-
"hardis:fix:listviewmine:org",
|
|
6988
|
-
"fix:hardis:listviewmine:org",
|
|
6989
|
-
"fix:listviewmine:hardis:org",
|
|
6990
|
-
"fix:listviewmine:org:hardis",
|
|
6991
|
-
"hardis:org:listviewmine:fix",
|
|
6992
|
-
"org:hardis:listviewmine:fix",
|
|
6993
|
-
"org:listviewmine:hardis:fix",
|
|
6994
|
-
"org:listviewmine:fix:hardis",
|
|
6995
|
-
"hardis:listviewmine:org:fix",
|
|
6996
|
-
"listviewmine:hardis:org:fix",
|
|
6997
|
-
"listviewmine:org:hardis:fix",
|
|
6998
|
-
"listviewmine:org:fix:hardis",
|
|
6999
|
-
"hardis:listviewmine:fix:org",
|
|
7000
|
-
"listviewmine:hardis:fix:org",
|
|
7001
|
-
"listviewmine:fix:hardis:org",
|
|
7002
|
-
"listviewmine:fix:org:hardis"
|
|
6979
|
+
"hardis:org:diagnose:unusedusers",
|
|
6980
|
+
"org:hardis:diagnose:unusedusers",
|
|
6981
|
+
"org:diagnose:hardis:unusedusers",
|
|
6982
|
+
"org:diagnose:unusedusers:hardis",
|
|
6983
|
+
"hardis:diagnose:org:unusedusers",
|
|
6984
|
+
"diagnose:hardis:org:unusedusers",
|
|
6985
|
+
"diagnose:org:hardis:unusedusers",
|
|
6986
|
+
"diagnose:org:unusedusers:hardis",
|
|
6987
|
+
"hardis:diagnose:unusedusers:org",
|
|
6988
|
+
"diagnose:hardis:unusedusers:org",
|
|
6989
|
+
"diagnose:unusedusers:hardis:org",
|
|
6990
|
+
"diagnose:unusedusers:org:hardis",
|
|
6991
|
+
"hardis:org:unusedusers:diagnose",
|
|
6992
|
+
"org:hardis:unusedusers:diagnose",
|
|
6993
|
+
"org:unusedusers:hardis:diagnose",
|
|
6994
|
+
"org:unusedusers:diagnose:hardis",
|
|
6995
|
+
"hardis:unusedusers:org:diagnose",
|
|
6996
|
+
"unusedusers:hardis:org:diagnose",
|
|
6997
|
+
"unusedusers:org:hardis:diagnose",
|
|
6998
|
+
"unusedusers:org:diagnose:hardis",
|
|
6999
|
+
"hardis:unusedusers:diagnose:org",
|
|
7000
|
+
"unusedusers:hardis:diagnose:org",
|
|
7001
|
+
"unusedusers:diagnose:hardis:org",
|
|
7002
|
+
"unusedusers:diagnose:org:hardis"
|
|
7003
7003
|
]
|
|
7004
7004
|
},
|
|
7005
7005
|
"hardis:org:generate:packagexmlfull": {
|
|
@@ -9254,6 +9254,238 @@
|
|
|
9254
9254
|
"remotesites:audit:project:hardis"
|
|
9255
9255
|
]
|
|
9256
9256
|
},
|
|
9257
|
+
"hardis:project:configure:auth": {
|
|
9258
|
+
"aliases": [],
|
|
9259
|
+
"args": {},
|
|
9260
|
+
"description": "Configure authentication from git branch to target org",
|
|
9261
|
+
"examples": [
|
|
9262
|
+
"$ sf hardis:project:configure:auth"
|
|
9263
|
+
],
|
|
9264
|
+
"flags": {
|
|
9265
|
+
"json": {
|
|
9266
|
+
"description": "Format output as json.",
|
|
9267
|
+
"helpGroup": "GLOBAL",
|
|
9268
|
+
"name": "json",
|
|
9269
|
+
"allowNo": false,
|
|
9270
|
+
"type": "boolean"
|
|
9271
|
+
},
|
|
9272
|
+
"flags-dir": {
|
|
9273
|
+
"helpGroup": "GLOBAL",
|
|
9274
|
+
"name": "flags-dir",
|
|
9275
|
+
"summary": "Import flag values from a directory.",
|
|
9276
|
+
"hasDynamicHelp": false,
|
|
9277
|
+
"multiple": false,
|
|
9278
|
+
"type": "option"
|
|
9279
|
+
},
|
|
9280
|
+
"devhub": {
|
|
9281
|
+
"char": "b",
|
|
9282
|
+
"description": "Configure project DevHub",
|
|
9283
|
+
"name": "devhub",
|
|
9284
|
+
"allowNo": false,
|
|
9285
|
+
"type": "boolean"
|
|
9286
|
+
},
|
|
9287
|
+
"debug": {
|
|
9288
|
+
"char": "d",
|
|
9289
|
+
"description": "Activate debug mode (more logs)",
|
|
9290
|
+
"name": "debug",
|
|
9291
|
+
"allowNo": false,
|
|
9292
|
+
"type": "boolean"
|
|
9293
|
+
},
|
|
9294
|
+
"websocket": {
|
|
9295
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
9296
|
+
"name": "websocket",
|
|
9297
|
+
"hasDynamicHelp": false,
|
|
9298
|
+
"multiple": false,
|
|
9299
|
+
"type": "option"
|
|
9300
|
+
},
|
|
9301
|
+
"skipauth": {
|
|
9302
|
+
"description": "Skip authentication check when a default username is required",
|
|
9303
|
+
"name": "skipauth",
|
|
9304
|
+
"allowNo": false,
|
|
9305
|
+
"type": "boolean"
|
|
9306
|
+
},
|
|
9307
|
+
"target-org": {
|
|
9308
|
+
"aliases": [
|
|
9309
|
+
"targetusername",
|
|
9310
|
+
"u"
|
|
9311
|
+
],
|
|
9312
|
+
"char": "o",
|
|
9313
|
+
"deprecateAliases": true,
|
|
9314
|
+
"name": "target-org",
|
|
9315
|
+
"noCacheDefault": true,
|
|
9316
|
+
"summary": "Username or alias of the target org.",
|
|
9317
|
+
"hasDynamicHelp": true,
|
|
9318
|
+
"multiple": false,
|
|
9319
|
+
"type": "option"
|
|
9320
|
+
},
|
|
9321
|
+
"target-dev-hub": {
|
|
9322
|
+
"aliases": [
|
|
9323
|
+
"targetdevhubusername"
|
|
9324
|
+
],
|
|
9325
|
+
"char": "v",
|
|
9326
|
+
"deprecateAliases": true,
|
|
9327
|
+
"name": "target-dev-hub",
|
|
9328
|
+
"noCacheDefault": true,
|
|
9329
|
+
"required": false,
|
|
9330
|
+
"summary": "Username or alias of the Dev Hub org.",
|
|
9331
|
+
"hasDynamicHelp": true,
|
|
9332
|
+
"multiple": false,
|
|
9333
|
+
"type": "option"
|
|
9334
|
+
}
|
|
9335
|
+
},
|
|
9336
|
+
"hasDynamicHelp": true,
|
|
9337
|
+
"hiddenAliases": [],
|
|
9338
|
+
"id": "hardis:project:configure:auth",
|
|
9339
|
+
"pluginAlias": "sfdx-hardis",
|
|
9340
|
+
"pluginName": "sfdx-hardis",
|
|
9341
|
+
"pluginType": "core",
|
|
9342
|
+
"strict": true,
|
|
9343
|
+
"enableJsonFlag": true,
|
|
9344
|
+
"title": "Configure authentication",
|
|
9345
|
+
"requiresProject": false,
|
|
9346
|
+
"requiresDependencies": [
|
|
9347
|
+
"openssl"
|
|
9348
|
+
],
|
|
9349
|
+
"isESM": true,
|
|
9350
|
+
"relativePath": [
|
|
9351
|
+
"lib",
|
|
9352
|
+
"commands",
|
|
9353
|
+
"hardis",
|
|
9354
|
+
"project",
|
|
9355
|
+
"configure",
|
|
9356
|
+
"auth.js"
|
|
9357
|
+
],
|
|
9358
|
+
"aliasPermutations": [],
|
|
9359
|
+
"permutations": [
|
|
9360
|
+
"hardis:project:configure:auth",
|
|
9361
|
+
"project:hardis:configure:auth",
|
|
9362
|
+
"project:configure:hardis:auth",
|
|
9363
|
+
"project:configure:auth:hardis",
|
|
9364
|
+
"hardis:configure:project:auth",
|
|
9365
|
+
"configure:hardis:project:auth",
|
|
9366
|
+
"configure:project:hardis:auth",
|
|
9367
|
+
"configure:project:auth:hardis",
|
|
9368
|
+
"hardis:configure:auth:project",
|
|
9369
|
+
"configure:hardis:auth:project",
|
|
9370
|
+
"configure:auth:hardis:project",
|
|
9371
|
+
"configure:auth:project:hardis",
|
|
9372
|
+
"hardis:project:auth:configure",
|
|
9373
|
+
"project:hardis:auth:configure",
|
|
9374
|
+
"project:auth:hardis:configure",
|
|
9375
|
+
"project:auth:configure:hardis",
|
|
9376
|
+
"hardis:auth:project:configure",
|
|
9377
|
+
"auth:hardis:project:configure",
|
|
9378
|
+
"auth:project:hardis:configure",
|
|
9379
|
+
"auth:project:configure:hardis",
|
|
9380
|
+
"hardis:auth:configure:project",
|
|
9381
|
+
"auth:hardis:configure:project",
|
|
9382
|
+
"auth:configure:hardis:project",
|
|
9383
|
+
"auth:configure:project:hardis"
|
|
9384
|
+
]
|
|
9385
|
+
},
|
|
9386
|
+
"hardis:project:convert:profilestopermsets": {
|
|
9387
|
+
"aliases": [],
|
|
9388
|
+
"args": {},
|
|
9389
|
+
"description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
|
|
9390
|
+
"examples": [
|
|
9391
|
+
"$ sf hardis:project:convert:profilestopermsets"
|
|
9392
|
+
],
|
|
9393
|
+
"flags": {
|
|
9394
|
+
"json": {
|
|
9395
|
+
"description": "Format output as json.",
|
|
9396
|
+
"helpGroup": "GLOBAL",
|
|
9397
|
+
"name": "json",
|
|
9398
|
+
"allowNo": false,
|
|
9399
|
+
"type": "boolean"
|
|
9400
|
+
},
|
|
9401
|
+
"flags-dir": {
|
|
9402
|
+
"helpGroup": "GLOBAL",
|
|
9403
|
+
"name": "flags-dir",
|
|
9404
|
+
"summary": "Import flag values from a directory.",
|
|
9405
|
+
"hasDynamicHelp": false,
|
|
9406
|
+
"multiple": false,
|
|
9407
|
+
"type": "option"
|
|
9408
|
+
},
|
|
9409
|
+
"except": {
|
|
9410
|
+
"char": "e",
|
|
9411
|
+
"description": "List of filters",
|
|
9412
|
+
"name": "except",
|
|
9413
|
+
"default": [],
|
|
9414
|
+
"hasDynamicHelp": false,
|
|
9415
|
+
"multiple": true,
|
|
9416
|
+
"type": "option"
|
|
9417
|
+
},
|
|
9418
|
+
"debug": {
|
|
9419
|
+
"char": "d",
|
|
9420
|
+
"description": "Activate debug mode (more logs)",
|
|
9421
|
+
"name": "debug",
|
|
9422
|
+
"allowNo": false,
|
|
9423
|
+
"type": "boolean"
|
|
9424
|
+
},
|
|
9425
|
+
"websocket": {
|
|
9426
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
9427
|
+
"name": "websocket",
|
|
9428
|
+
"hasDynamicHelp": false,
|
|
9429
|
+
"multiple": false,
|
|
9430
|
+
"type": "option"
|
|
9431
|
+
},
|
|
9432
|
+
"skipauth": {
|
|
9433
|
+
"description": "Skip authentication check when a default username is required",
|
|
9434
|
+
"name": "skipauth",
|
|
9435
|
+
"allowNo": false,
|
|
9436
|
+
"type": "boolean"
|
|
9437
|
+
}
|
|
9438
|
+
},
|
|
9439
|
+
"hasDynamicHelp": false,
|
|
9440
|
+
"hiddenAliases": [],
|
|
9441
|
+
"id": "hardis:project:convert:profilestopermsets",
|
|
9442
|
+
"pluginAlias": "sfdx-hardis",
|
|
9443
|
+
"pluginName": "sfdx-hardis",
|
|
9444
|
+
"pluginType": "core",
|
|
9445
|
+
"strict": true,
|
|
9446
|
+
"enableJsonFlag": true,
|
|
9447
|
+
"title": "Convert Profiles into Permission Sets",
|
|
9448
|
+
"requiresProject": true,
|
|
9449
|
+
"requiresSfdxPlugins": [
|
|
9450
|
+
"shane-sfdx-plugins"
|
|
9451
|
+
],
|
|
9452
|
+
"isESM": true,
|
|
9453
|
+
"relativePath": [
|
|
9454
|
+
"lib",
|
|
9455
|
+
"commands",
|
|
9456
|
+
"hardis",
|
|
9457
|
+
"project",
|
|
9458
|
+
"convert",
|
|
9459
|
+
"profilestopermsets.js"
|
|
9460
|
+
],
|
|
9461
|
+
"aliasPermutations": [],
|
|
9462
|
+
"permutations": [
|
|
9463
|
+
"hardis:project:convert:profilestopermsets",
|
|
9464
|
+
"project:hardis:convert:profilestopermsets",
|
|
9465
|
+
"project:convert:hardis:profilestopermsets",
|
|
9466
|
+
"project:convert:profilestopermsets:hardis",
|
|
9467
|
+
"hardis:convert:project:profilestopermsets",
|
|
9468
|
+
"convert:hardis:project:profilestopermsets",
|
|
9469
|
+
"convert:project:hardis:profilestopermsets",
|
|
9470
|
+
"convert:project:profilestopermsets:hardis",
|
|
9471
|
+
"hardis:convert:profilestopermsets:project",
|
|
9472
|
+
"convert:hardis:profilestopermsets:project",
|
|
9473
|
+
"convert:profilestopermsets:hardis:project",
|
|
9474
|
+
"convert:profilestopermsets:project:hardis",
|
|
9475
|
+
"hardis:project:profilestopermsets:convert",
|
|
9476
|
+
"project:hardis:profilestopermsets:convert",
|
|
9477
|
+
"project:profilestopermsets:hardis:convert",
|
|
9478
|
+
"project:profilestopermsets:convert:hardis",
|
|
9479
|
+
"hardis:profilestopermsets:project:convert",
|
|
9480
|
+
"profilestopermsets:hardis:project:convert",
|
|
9481
|
+
"profilestopermsets:project:hardis:convert",
|
|
9482
|
+
"profilestopermsets:project:convert:hardis",
|
|
9483
|
+
"hardis:profilestopermsets:convert:project",
|
|
9484
|
+
"profilestopermsets:hardis:convert:project",
|
|
9485
|
+
"profilestopermsets:convert:hardis:project",
|
|
9486
|
+
"profilestopermsets:convert:project:hardis"
|
|
9487
|
+
]
|
|
9488
|
+
},
|
|
9257
9489
|
"hardis:project:clean:emptyitems": {
|
|
9258
9490
|
"aliases": [],
|
|
9259
9491
|
"args": {},
|
|
@@ -10739,238 +10971,6 @@
|
|
|
10739
10971
|
"xml:clean:project:hardis"
|
|
10740
10972
|
]
|
|
10741
10973
|
},
|
|
10742
|
-
"hardis:project:configure:auth": {
|
|
10743
|
-
"aliases": [],
|
|
10744
|
-
"args": {},
|
|
10745
|
-
"description": "Configure authentication from git branch to target org",
|
|
10746
|
-
"examples": [
|
|
10747
|
-
"$ sf hardis:project:configure:auth"
|
|
10748
|
-
],
|
|
10749
|
-
"flags": {
|
|
10750
|
-
"json": {
|
|
10751
|
-
"description": "Format output as json.",
|
|
10752
|
-
"helpGroup": "GLOBAL",
|
|
10753
|
-
"name": "json",
|
|
10754
|
-
"allowNo": false,
|
|
10755
|
-
"type": "boolean"
|
|
10756
|
-
},
|
|
10757
|
-
"flags-dir": {
|
|
10758
|
-
"helpGroup": "GLOBAL",
|
|
10759
|
-
"name": "flags-dir",
|
|
10760
|
-
"summary": "Import flag values from a directory.",
|
|
10761
|
-
"hasDynamicHelp": false,
|
|
10762
|
-
"multiple": false,
|
|
10763
|
-
"type": "option"
|
|
10764
|
-
},
|
|
10765
|
-
"devhub": {
|
|
10766
|
-
"char": "b",
|
|
10767
|
-
"description": "Configure project DevHub",
|
|
10768
|
-
"name": "devhub",
|
|
10769
|
-
"allowNo": false,
|
|
10770
|
-
"type": "boolean"
|
|
10771
|
-
},
|
|
10772
|
-
"debug": {
|
|
10773
|
-
"char": "d",
|
|
10774
|
-
"description": "Activate debug mode (more logs)",
|
|
10775
|
-
"name": "debug",
|
|
10776
|
-
"allowNo": false,
|
|
10777
|
-
"type": "boolean"
|
|
10778
|
-
},
|
|
10779
|
-
"websocket": {
|
|
10780
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
10781
|
-
"name": "websocket",
|
|
10782
|
-
"hasDynamicHelp": false,
|
|
10783
|
-
"multiple": false,
|
|
10784
|
-
"type": "option"
|
|
10785
|
-
},
|
|
10786
|
-
"skipauth": {
|
|
10787
|
-
"description": "Skip authentication check when a default username is required",
|
|
10788
|
-
"name": "skipauth",
|
|
10789
|
-
"allowNo": false,
|
|
10790
|
-
"type": "boolean"
|
|
10791
|
-
},
|
|
10792
|
-
"target-org": {
|
|
10793
|
-
"aliases": [
|
|
10794
|
-
"targetusername",
|
|
10795
|
-
"u"
|
|
10796
|
-
],
|
|
10797
|
-
"char": "o",
|
|
10798
|
-
"deprecateAliases": true,
|
|
10799
|
-
"name": "target-org",
|
|
10800
|
-
"noCacheDefault": true,
|
|
10801
|
-
"summary": "Username or alias of the target org.",
|
|
10802
|
-
"hasDynamicHelp": true,
|
|
10803
|
-
"multiple": false,
|
|
10804
|
-
"type": "option"
|
|
10805
|
-
},
|
|
10806
|
-
"target-dev-hub": {
|
|
10807
|
-
"aliases": [
|
|
10808
|
-
"targetdevhubusername"
|
|
10809
|
-
],
|
|
10810
|
-
"char": "v",
|
|
10811
|
-
"deprecateAliases": true,
|
|
10812
|
-
"name": "target-dev-hub",
|
|
10813
|
-
"noCacheDefault": true,
|
|
10814
|
-
"required": false,
|
|
10815
|
-
"summary": "Username or alias of the Dev Hub org.",
|
|
10816
|
-
"hasDynamicHelp": true,
|
|
10817
|
-
"multiple": false,
|
|
10818
|
-
"type": "option"
|
|
10819
|
-
}
|
|
10820
|
-
},
|
|
10821
|
-
"hasDynamicHelp": true,
|
|
10822
|
-
"hiddenAliases": [],
|
|
10823
|
-
"id": "hardis:project:configure:auth",
|
|
10824
|
-
"pluginAlias": "sfdx-hardis",
|
|
10825
|
-
"pluginName": "sfdx-hardis",
|
|
10826
|
-
"pluginType": "core",
|
|
10827
|
-
"strict": true,
|
|
10828
|
-
"enableJsonFlag": true,
|
|
10829
|
-
"title": "Configure authentication",
|
|
10830
|
-
"requiresProject": false,
|
|
10831
|
-
"requiresDependencies": [
|
|
10832
|
-
"openssl"
|
|
10833
|
-
],
|
|
10834
|
-
"isESM": true,
|
|
10835
|
-
"relativePath": [
|
|
10836
|
-
"lib",
|
|
10837
|
-
"commands",
|
|
10838
|
-
"hardis",
|
|
10839
|
-
"project",
|
|
10840
|
-
"configure",
|
|
10841
|
-
"auth.js"
|
|
10842
|
-
],
|
|
10843
|
-
"aliasPermutations": [],
|
|
10844
|
-
"permutations": [
|
|
10845
|
-
"hardis:project:configure:auth",
|
|
10846
|
-
"project:hardis:configure:auth",
|
|
10847
|
-
"project:configure:hardis:auth",
|
|
10848
|
-
"project:configure:auth:hardis",
|
|
10849
|
-
"hardis:configure:project:auth",
|
|
10850
|
-
"configure:hardis:project:auth",
|
|
10851
|
-
"configure:project:hardis:auth",
|
|
10852
|
-
"configure:project:auth:hardis",
|
|
10853
|
-
"hardis:configure:auth:project",
|
|
10854
|
-
"configure:hardis:auth:project",
|
|
10855
|
-
"configure:auth:hardis:project",
|
|
10856
|
-
"configure:auth:project:hardis",
|
|
10857
|
-
"hardis:project:auth:configure",
|
|
10858
|
-
"project:hardis:auth:configure",
|
|
10859
|
-
"project:auth:hardis:configure",
|
|
10860
|
-
"project:auth:configure:hardis",
|
|
10861
|
-
"hardis:auth:project:configure",
|
|
10862
|
-
"auth:hardis:project:configure",
|
|
10863
|
-
"auth:project:hardis:configure",
|
|
10864
|
-
"auth:project:configure:hardis",
|
|
10865
|
-
"hardis:auth:configure:project",
|
|
10866
|
-
"auth:hardis:configure:project",
|
|
10867
|
-
"auth:configure:hardis:project",
|
|
10868
|
-
"auth:configure:project:hardis"
|
|
10869
|
-
]
|
|
10870
|
-
},
|
|
10871
|
-
"hardis:project:convert:profilestopermsets": {
|
|
10872
|
-
"aliases": [],
|
|
10873
|
-
"args": {},
|
|
10874
|
-
"description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
|
|
10875
|
-
"examples": [
|
|
10876
|
-
"$ sf hardis:project:convert:profilestopermsets"
|
|
10877
|
-
],
|
|
10878
|
-
"flags": {
|
|
10879
|
-
"json": {
|
|
10880
|
-
"description": "Format output as json.",
|
|
10881
|
-
"helpGroup": "GLOBAL",
|
|
10882
|
-
"name": "json",
|
|
10883
|
-
"allowNo": false,
|
|
10884
|
-
"type": "boolean"
|
|
10885
|
-
},
|
|
10886
|
-
"flags-dir": {
|
|
10887
|
-
"helpGroup": "GLOBAL",
|
|
10888
|
-
"name": "flags-dir",
|
|
10889
|
-
"summary": "Import flag values from a directory.",
|
|
10890
|
-
"hasDynamicHelp": false,
|
|
10891
|
-
"multiple": false,
|
|
10892
|
-
"type": "option"
|
|
10893
|
-
},
|
|
10894
|
-
"except": {
|
|
10895
|
-
"char": "e",
|
|
10896
|
-
"description": "List of filters",
|
|
10897
|
-
"name": "except",
|
|
10898
|
-
"default": [],
|
|
10899
|
-
"hasDynamicHelp": false,
|
|
10900
|
-
"multiple": true,
|
|
10901
|
-
"type": "option"
|
|
10902
|
-
},
|
|
10903
|
-
"debug": {
|
|
10904
|
-
"char": "d",
|
|
10905
|
-
"description": "Activate debug mode (more logs)",
|
|
10906
|
-
"name": "debug",
|
|
10907
|
-
"allowNo": false,
|
|
10908
|
-
"type": "boolean"
|
|
10909
|
-
},
|
|
10910
|
-
"websocket": {
|
|
10911
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
10912
|
-
"name": "websocket",
|
|
10913
|
-
"hasDynamicHelp": false,
|
|
10914
|
-
"multiple": false,
|
|
10915
|
-
"type": "option"
|
|
10916
|
-
},
|
|
10917
|
-
"skipauth": {
|
|
10918
|
-
"description": "Skip authentication check when a default username is required",
|
|
10919
|
-
"name": "skipauth",
|
|
10920
|
-
"allowNo": false,
|
|
10921
|
-
"type": "boolean"
|
|
10922
|
-
}
|
|
10923
|
-
},
|
|
10924
|
-
"hasDynamicHelp": false,
|
|
10925
|
-
"hiddenAliases": [],
|
|
10926
|
-
"id": "hardis:project:convert:profilestopermsets",
|
|
10927
|
-
"pluginAlias": "sfdx-hardis",
|
|
10928
|
-
"pluginName": "sfdx-hardis",
|
|
10929
|
-
"pluginType": "core",
|
|
10930
|
-
"strict": true,
|
|
10931
|
-
"enableJsonFlag": true,
|
|
10932
|
-
"title": "Convert Profiles into Permission Sets",
|
|
10933
|
-
"requiresProject": true,
|
|
10934
|
-
"requiresSfdxPlugins": [
|
|
10935
|
-
"shane-sfdx-plugins"
|
|
10936
|
-
],
|
|
10937
|
-
"isESM": true,
|
|
10938
|
-
"relativePath": [
|
|
10939
|
-
"lib",
|
|
10940
|
-
"commands",
|
|
10941
|
-
"hardis",
|
|
10942
|
-
"project",
|
|
10943
|
-
"convert",
|
|
10944
|
-
"profilestopermsets.js"
|
|
10945
|
-
],
|
|
10946
|
-
"aliasPermutations": [],
|
|
10947
|
-
"permutations": [
|
|
10948
|
-
"hardis:project:convert:profilestopermsets",
|
|
10949
|
-
"project:hardis:convert:profilestopermsets",
|
|
10950
|
-
"project:convert:hardis:profilestopermsets",
|
|
10951
|
-
"project:convert:profilestopermsets:hardis",
|
|
10952
|
-
"hardis:convert:project:profilestopermsets",
|
|
10953
|
-
"convert:hardis:project:profilestopermsets",
|
|
10954
|
-
"convert:project:hardis:profilestopermsets",
|
|
10955
|
-
"convert:project:profilestopermsets:hardis",
|
|
10956
|
-
"hardis:convert:profilestopermsets:project",
|
|
10957
|
-
"convert:hardis:profilestopermsets:project",
|
|
10958
|
-
"convert:profilestopermsets:hardis:project",
|
|
10959
|
-
"convert:profilestopermsets:project:hardis",
|
|
10960
|
-
"hardis:project:profilestopermsets:convert",
|
|
10961
|
-
"project:hardis:profilestopermsets:convert",
|
|
10962
|
-
"project:profilestopermsets:hardis:convert",
|
|
10963
|
-
"project:profilestopermsets:convert:hardis",
|
|
10964
|
-
"hardis:profilestopermsets:project:convert",
|
|
10965
|
-
"profilestopermsets:hardis:project:convert",
|
|
10966
|
-
"profilestopermsets:project:hardis:convert",
|
|
10967
|
-
"profilestopermsets:project:convert:hardis",
|
|
10968
|
-
"hardis:profilestopermsets:convert:project",
|
|
10969
|
-
"profilestopermsets:hardis:convert:project",
|
|
10970
|
-
"profilestopermsets:convert:hardis:project",
|
|
10971
|
-
"profilestopermsets:convert:project:hardis"
|
|
10972
|
-
]
|
|
10973
|
-
},
|
|
10974
10974
|
"hardis:project:deploy:notify": {
|
|
10975
10975
|
"aliases": [],
|
|
10976
10976
|
"args": {},
|
|
@@ -14814,5 +14814,5 @@
|
|
|
14814
14814
|
]
|
|
14815
14815
|
}
|
|
14816
14816
|
},
|
|
14817
|
-
"version": "5.43.
|
|
14817
|
+
"version": "5.43.5"
|
|
14818
14818
|
}
|