sfdx-hardis 5.26.0 → 5.27.0
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 +16 -1
- package/defaults/mkdocs-project-doc/docs/javascripts/jstree-handler.js +111 -0
- package/defaults/mkdocs-project-doc/docs/json/index.md +1 -0
- package/defaults/mkdocs-project-doc/docs/stylesheets/jstree-custom.css +15 -0
- package/defaults/mkdocs-project-doc/mkdocs.yml +4 -0
- package/defaults/monitoring/manifest/package-skip-items.xml +14 -0
- package/lib/commands/hardis/doc/project2markdown.d.ts +5 -1
- package/lib/commands/hardis/doc/project2markdown.js +127 -8
- package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
- package/lib/commands/hardis/org/monitor/backup.d.ts +1 -0
- package/lib/commands/hardis/org/monitor/backup.js +24 -3
- package/lib/commands/hardis/org/monitor/backup.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates.d.ts +13 -1
- package/lib/common/aiProvider/promptTemplates.js +58 -1
- package/lib/common/aiProvider/promptTemplates.js.map +1 -1
- package/lib/common/docBuilder/docBuilderObject.js +5 -1
- package/lib/common/docBuilder/docBuilderObject.js.map +1 -1
- package/lib/common/docBuilder/docBuilderPackageXml.d.ts +3 -0
- package/lib/common/docBuilder/docBuilderPackageXml.js +77 -0
- package/lib/common/docBuilder/docBuilderPackageXml.js.map +1 -1
- package/lib/common/docBuilder/docBuilderPermissionSet.d.ts +13 -0
- package/lib/common/docBuilder/docBuilderPermissionSet.js +92 -0
- package/lib/common/docBuilder/docBuilderPermissionSet.js.map +1 -0
- package/lib/common/docBuilder/docBuilderPermissionSetGroup.d.ts +11 -0
- package/lib/common/docBuilder/docBuilderPermissionSetGroup.js +60 -0
- package/lib/common/docBuilder/docBuilderPermissionSetGroup.js.map +1 -0
- package/lib/common/docBuilder/docBuilderProfile.d.ts +4 -0
- package/lib/common/docBuilder/docBuilderProfile.js +117 -2
- package/lib/common/docBuilder/docBuilderProfile.js.map +1 -1
- package/lib/common/docBuilder/docBuilderRoot.d.ts +2 -0
- package/lib/common/docBuilder/docBuilderRoot.js +12 -0
- package/lib/common/docBuilder/docBuilderRoot.js.map +1 -1
- package/lib/common/docBuilder/docUtils.js +1 -1
- package/lib/common/docBuilder/docUtils.js.map +1 -1
- package/lib/common/utils/gitUtils.js +5 -1
- package/lib/common/utils/gitUtils.js.map +1 -1
- package/oclif.lock +231 -34
- package/oclif.manifest.json +731 -723
- package/package.json +6 -6
package/oclif.manifest.json
CHANGED
|
@@ -57,13 +57,12 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:cache:clear": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
66
|
-
"CI=true sf hardis:auth:login"
|
|
65
|
+
"$ sf hardis:cache:clear"
|
|
67
66
|
],
|
|
68
67
|
"flags": {
|
|
69
68
|
"json": {
|
|
@@ -81,28 +80,6 @@
|
|
|
81
80
|
"multiple": false,
|
|
82
81
|
"type": "option"
|
|
83
82
|
},
|
|
84
|
-
"instanceurl": {
|
|
85
|
-
"char": "r",
|
|
86
|
-
"description": "URL of org instance",
|
|
87
|
-
"name": "instanceurl",
|
|
88
|
-
"hasDynamicHelp": false,
|
|
89
|
-
"multiple": false,
|
|
90
|
-
"type": "option"
|
|
91
|
-
},
|
|
92
|
-
"devhub": {
|
|
93
|
-
"char": "h",
|
|
94
|
-
"description": "Also connect associated DevHub",
|
|
95
|
-
"name": "devhub",
|
|
96
|
-
"allowNo": false,
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
},
|
|
99
|
-
"scratchorg": {
|
|
100
|
-
"char": "s",
|
|
101
|
-
"description": "Scratch org",
|
|
102
|
-
"name": "scratchorg",
|
|
103
|
-
"allowNo": false,
|
|
104
|
-
"type": "boolean"
|
|
105
|
-
},
|
|
106
83
|
"debug": {
|
|
107
84
|
"char": "d",
|
|
108
85
|
"description": "Activate debug mode (more logs)",
|
|
@@ -126,38 +103,39 @@
|
|
|
126
103
|
},
|
|
127
104
|
"hasDynamicHelp": false,
|
|
128
105
|
"hiddenAliases": [],
|
|
129
|
-
"id": "hardis:
|
|
106
|
+
"id": "hardis:cache:clear",
|
|
130
107
|
"pluginAlias": "sfdx-hardis",
|
|
131
108
|
"pluginName": "sfdx-hardis",
|
|
132
109
|
"pluginType": "core",
|
|
133
110
|
"strict": true,
|
|
134
111
|
"enableJsonFlag": true,
|
|
135
|
-
"title": "
|
|
112
|
+
"title": "Clear sfdx-hardis cache",
|
|
136
113
|
"requiresProject": false,
|
|
137
114
|
"isESM": true,
|
|
138
115
|
"relativePath": [
|
|
139
116
|
"lib",
|
|
140
117
|
"commands",
|
|
141
118
|
"hardis",
|
|
142
|
-
"
|
|
143
|
-
"
|
|
119
|
+
"cache",
|
|
120
|
+
"clear.js"
|
|
144
121
|
],
|
|
145
122
|
"aliasPermutations": [],
|
|
146
123
|
"permutations": [
|
|
147
|
-
"hardis:
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"hardis:
|
|
151
|
-
"
|
|
152
|
-
"
|
|
124
|
+
"hardis:cache:clear",
|
|
125
|
+
"cache:hardis:clear",
|
|
126
|
+
"cache:clear:hardis",
|
|
127
|
+
"hardis:clear:cache",
|
|
128
|
+
"clear:hardis:cache",
|
|
129
|
+
"clear:cache:hardis"
|
|
153
130
|
]
|
|
154
131
|
},
|
|
155
|
-
"hardis:
|
|
132
|
+
"hardis:auth:login": {
|
|
156
133
|
"aliases": [],
|
|
157
134
|
"args": {},
|
|
158
|
-
"description": "
|
|
135
|
+
"description": "Login to salesforce org",
|
|
159
136
|
"examples": [
|
|
160
|
-
"$ sf hardis:
|
|
137
|
+
"$ sf hardis:auth:login",
|
|
138
|
+
"CI=true sf hardis:auth:login"
|
|
161
139
|
],
|
|
162
140
|
"flags": {
|
|
163
141
|
"json": {
|
|
@@ -175,6 +153,28 @@
|
|
|
175
153
|
"multiple": false,
|
|
176
154
|
"type": "option"
|
|
177
155
|
},
|
|
156
|
+
"instanceurl": {
|
|
157
|
+
"char": "r",
|
|
158
|
+
"description": "URL of org instance",
|
|
159
|
+
"name": "instanceurl",
|
|
160
|
+
"hasDynamicHelp": false,
|
|
161
|
+
"multiple": false,
|
|
162
|
+
"type": "option"
|
|
163
|
+
},
|
|
164
|
+
"devhub": {
|
|
165
|
+
"char": "h",
|
|
166
|
+
"description": "Also connect associated DevHub",
|
|
167
|
+
"name": "devhub",
|
|
168
|
+
"allowNo": false,
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"scratchorg": {
|
|
172
|
+
"char": "s",
|
|
173
|
+
"description": "Scratch org",
|
|
174
|
+
"name": "scratchorg",
|
|
175
|
+
"allowNo": false,
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
178
178
|
"debug": {
|
|
179
179
|
"char": "d",
|
|
180
180
|
"description": "Activate debug mode (more logs)",
|
|
@@ -198,30 +198,30 @@
|
|
|
198
198
|
},
|
|
199
199
|
"hasDynamicHelp": false,
|
|
200
200
|
"hiddenAliases": [],
|
|
201
|
-
"id": "hardis:
|
|
201
|
+
"id": "hardis:auth:login",
|
|
202
202
|
"pluginAlias": "sfdx-hardis",
|
|
203
203
|
"pluginName": "sfdx-hardis",
|
|
204
204
|
"pluginType": "core",
|
|
205
205
|
"strict": true,
|
|
206
206
|
"enableJsonFlag": true,
|
|
207
|
-
"title": "
|
|
207
|
+
"title": "Login",
|
|
208
208
|
"requiresProject": false,
|
|
209
209
|
"isESM": true,
|
|
210
210
|
"relativePath": [
|
|
211
211
|
"lib",
|
|
212
212
|
"commands",
|
|
213
213
|
"hardis",
|
|
214
|
-
"
|
|
215
|
-
"
|
|
214
|
+
"auth",
|
|
215
|
+
"login.js"
|
|
216
216
|
],
|
|
217
217
|
"aliasPermutations": [],
|
|
218
218
|
"permutations": [
|
|
219
|
-
"hardis:
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
219
|
+
"hardis:auth:login",
|
|
220
|
+
"auth:hardis:login",
|
|
221
|
+
"auth:login:hardis",
|
|
222
|
+
"hardis:login:auth",
|
|
223
|
+
"login:hardis:auth",
|
|
224
|
+
"login:auth:hardis"
|
|
225
225
|
]
|
|
226
226
|
},
|
|
227
227
|
"hardis:config:get": {
|
|
@@ -781,7 +781,7 @@
|
|
|
781
781
|
"hardis:doc:project2markdown": {
|
|
782
782
|
"aliases": [],
|
|
783
783
|
"args": {},
|
|
784
|
-
"description": "Generates a markdown documentation from a SFDX project\n\n- Objects\n- Flows\n- Apex\n- Lightning Pages\n- SFDX-Hardis Config\n- Branches & Orgs\n- Installed Packages\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\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\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\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",
|
|
784
|
+
"description": "Generates a markdown documentation from a SFDX project\n\n- Objects\n- Flows\n- Apex\n- Lightning Pages\n- SFDX-Hardis Config\n- Branches & Orgs\n- Installed Packages\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\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\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\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",
|
|
785
785
|
"examples": [
|
|
786
786
|
"$ sf hardis:doc:project2markdown",
|
|
787
787
|
"$ sf hardis:doc:project2markdown --with-history",
|
|
@@ -2386,12 +2386,12 @@
|
|
|
2386
2386
|
"mergexml:package:hardis"
|
|
2387
2387
|
]
|
|
2388
2388
|
},
|
|
2389
|
-
"hardis:
|
|
2389
|
+
"hardis:project:create": {
|
|
2390
2390
|
"aliases": [],
|
|
2391
2391
|
"args": {},
|
|
2392
|
-
"description": "
|
|
2392
|
+
"description": "Create a new SFDX Project",
|
|
2393
2393
|
"examples": [
|
|
2394
|
-
"$ sf hardis
|
|
2394
|
+
"$ sf hardis:project:create"
|
|
2395
2395
|
],
|
|
2396
2396
|
"flags": {
|
|
2397
2397
|
"json": {
|
|
@@ -2409,70 +2409,62 @@
|
|
|
2409
2409
|
"multiple": false,
|
|
2410
2410
|
"type": "option"
|
|
2411
2411
|
},
|
|
2412
|
-
"packagexmls": {
|
|
2413
|
-
"char": "p",
|
|
2414
|
-
"description": "package.xml files path (separated by commas)",
|
|
2415
|
-
"name": "packagexmls",
|
|
2416
|
-
"required": true,
|
|
2417
|
-
"hasDynamicHelp": false,
|
|
2418
|
-
"multiple": false,
|
|
2419
|
-
"type": "option"
|
|
2420
|
-
},
|
|
2421
|
-
"outputfile": {
|
|
2422
|
-
"char": "f",
|
|
2423
|
-
"description": "package.xml output file",
|
|
2424
|
-
"name": "outputfile",
|
|
2425
|
-
"required": true,
|
|
2426
|
-
"hasDynamicHelp": false,
|
|
2427
|
-
"multiple": false,
|
|
2428
|
-
"type": "option"
|
|
2429
|
-
},
|
|
2430
2412
|
"debug": {
|
|
2431
|
-
"
|
|
2413
|
+
"char": "d",
|
|
2414
|
+
"description": "Activate debug mode (more logs)",
|
|
2432
2415
|
"name": "debug",
|
|
2433
2416
|
"allowNo": false,
|
|
2434
2417
|
"type": "boolean"
|
|
2435
2418
|
},
|
|
2436
2419
|
"websocket": {
|
|
2437
|
-
"description": "
|
|
2420
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
2438
2421
|
"name": "websocket",
|
|
2439
2422
|
"hasDynamicHelp": false,
|
|
2440
2423
|
"multiple": false,
|
|
2441
2424
|
"type": "option"
|
|
2425
|
+
},
|
|
2426
|
+
"skipauth": {
|
|
2427
|
+
"description": "Skip authentication check when a default username is required",
|
|
2428
|
+
"name": "skipauth",
|
|
2429
|
+
"allowNo": false,
|
|
2430
|
+
"type": "boolean"
|
|
2442
2431
|
}
|
|
2443
2432
|
},
|
|
2444
2433
|
"hasDynamicHelp": false,
|
|
2445
2434
|
"hiddenAliases": [],
|
|
2446
|
-
"id": "hardis:
|
|
2435
|
+
"id": "hardis:project:create",
|
|
2447
2436
|
"pluginAlias": "sfdx-hardis",
|
|
2448
2437
|
"pluginName": "sfdx-hardis",
|
|
2449
2438
|
"pluginType": "core",
|
|
2450
2439
|
"strict": true,
|
|
2451
2440
|
"enableJsonFlag": true,
|
|
2441
|
+
"title": "Login",
|
|
2442
|
+
"requiresProject": false,
|
|
2452
2443
|
"isESM": true,
|
|
2453
2444
|
"relativePath": [
|
|
2454
2445
|
"lib",
|
|
2455
2446
|
"commands",
|
|
2456
2447
|
"hardis",
|
|
2457
|
-
"
|
|
2458
|
-
"
|
|
2448
|
+
"project",
|
|
2449
|
+
"create.js"
|
|
2459
2450
|
],
|
|
2460
2451
|
"aliasPermutations": [],
|
|
2461
2452
|
"permutations": [
|
|
2462
|
-
"hardis:
|
|
2463
|
-
"
|
|
2464
|
-
"
|
|
2465
|
-
"hardis:
|
|
2466
|
-
"
|
|
2467
|
-
"
|
|
2453
|
+
"hardis:project:create",
|
|
2454
|
+
"project:hardis:create",
|
|
2455
|
+
"project:create:hardis",
|
|
2456
|
+
"hardis:create:project",
|
|
2457
|
+
"create:hardis:project",
|
|
2458
|
+
"create:project:hardis"
|
|
2468
2459
|
]
|
|
2469
2460
|
},
|
|
2470
|
-
"hardis:
|
|
2461
|
+
"hardis:project:lint": {
|
|
2471
2462
|
"aliases": [],
|
|
2472
2463
|
"args": {},
|
|
2473
|
-
"description": "
|
|
2464
|
+
"description": "Apply syntactic analysis (linters) on the repository sources, using Mega-Linter",
|
|
2474
2465
|
"examples": [
|
|
2475
|
-
"$ sf hardis
|
|
2466
|
+
"$ sf hardis:project:lint",
|
|
2467
|
+
"$ sf hardis:project:lint --fix"
|
|
2476
2468
|
],
|
|
2477
2469
|
"flags": {
|
|
2478
2470
|
"json": {
|
|
@@ -2490,85 +2482,82 @@
|
|
|
2490
2482
|
"multiple": false,
|
|
2491
2483
|
"type": "option"
|
|
2492
2484
|
},
|
|
2493
|
-
"
|
|
2494
|
-
"char": "
|
|
2495
|
-
"description": "
|
|
2496
|
-
"name": "
|
|
2497
|
-
"hasDynamicHelp": false,
|
|
2498
|
-
"multiple": false,
|
|
2499
|
-
"type": "option"
|
|
2500
|
-
},
|
|
2501
|
-
"removepackagexml": {
|
|
2502
|
-
"char": "r",
|
|
2503
|
-
"description": "package.xml file to use to filter input package.xml",
|
|
2504
|
-
"name": "removepackagexml",
|
|
2505
|
-
"hasDynamicHelp": false,
|
|
2506
|
-
"multiple": false,
|
|
2507
|
-
"type": "option"
|
|
2508
|
-
},
|
|
2509
|
-
"removedonly": {
|
|
2510
|
-
"char": "z",
|
|
2511
|
-
"description": "Use this flag to generate a package.xml with only removed items",
|
|
2512
|
-
"name": "removedonly",
|
|
2485
|
+
"fix": {
|
|
2486
|
+
"char": "f",
|
|
2487
|
+
"description": "Apply linters fixes",
|
|
2488
|
+
"name": "fix",
|
|
2513
2489
|
"allowNo": false,
|
|
2514
2490
|
"type": "boolean"
|
|
2515
2491
|
},
|
|
2516
|
-
"outputfile": {
|
|
2517
|
-
"char": "f",
|
|
2518
|
-
"description": "package.xml output file",
|
|
2519
|
-
"name": "outputfile",
|
|
2520
|
-
"required": true,
|
|
2521
|
-
"hasDynamicHelp": false,
|
|
2522
|
-
"multiple": false,
|
|
2523
|
-
"type": "option"
|
|
2524
|
-
},
|
|
2525
2492
|
"debug": {
|
|
2526
|
-
"
|
|
2493
|
+
"char": "d",
|
|
2494
|
+
"description": "Activate debug mode (more logs)",
|
|
2527
2495
|
"name": "debug",
|
|
2528
2496
|
"allowNo": false,
|
|
2529
2497
|
"type": "boolean"
|
|
2530
2498
|
},
|
|
2531
2499
|
"websocket": {
|
|
2532
|
-
"description": "
|
|
2500
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
2533
2501
|
"name": "websocket",
|
|
2534
2502
|
"hasDynamicHelp": false,
|
|
2535
2503
|
"multiple": false,
|
|
2536
2504
|
"type": "option"
|
|
2505
|
+
},
|
|
2506
|
+
"skipauth": {
|
|
2507
|
+
"description": "Skip authentication check when a default username is required",
|
|
2508
|
+
"name": "skipauth",
|
|
2509
|
+
"allowNo": false,
|
|
2510
|
+
"type": "boolean"
|
|
2511
|
+
},
|
|
2512
|
+
"target-org": {
|
|
2513
|
+
"aliases": [
|
|
2514
|
+
"targetusername",
|
|
2515
|
+
"u"
|
|
2516
|
+
],
|
|
2517
|
+
"char": "o",
|
|
2518
|
+
"deprecateAliases": true,
|
|
2519
|
+
"name": "target-org",
|
|
2520
|
+
"noCacheDefault": true,
|
|
2521
|
+
"summary": "Username or alias of the target org.",
|
|
2522
|
+
"hasDynamicHelp": true,
|
|
2523
|
+
"multiple": false,
|
|
2524
|
+
"type": "option"
|
|
2537
2525
|
}
|
|
2538
2526
|
},
|
|
2539
|
-
"hasDynamicHelp":
|
|
2527
|
+
"hasDynamicHelp": true,
|
|
2540
2528
|
"hiddenAliases": [],
|
|
2541
|
-
"id": "hardis:
|
|
2529
|
+
"id": "hardis:project:lint",
|
|
2542
2530
|
"pluginAlias": "sfdx-hardis",
|
|
2543
2531
|
"pluginName": "sfdx-hardis",
|
|
2544
2532
|
"pluginType": "core",
|
|
2545
2533
|
"strict": true,
|
|
2546
2534
|
"enableJsonFlag": true,
|
|
2535
|
+
"title": "Lint",
|
|
2547
2536
|
"requiresProject": false,
|
|
2548
2537
|
"isESM": true,
|
|
2549
2538
|
"relativePath": [
|
|
2550
2539
|
"lib",
|
|
2551
2540
|
"commands",
|
|
2552
2541
|
"hardis",
|
|
2553
|
-
"
|
|
2554
|
-
"
|
|
2542
|
+
"project",
|
|
2543
|
+
"lint.js"
|
|
2555
2544
|
],
|
|
2556
2545
|
"aliasPermutations": [],
|
|
2557
2546
|
"permutations": [
|
|
2558
|
-
"hardis:
|
|
2559
|
-
"
|
|
2560
|
-
"
|
|
2561
|
-
"hardis:
|
|
2562
|
-
"
|
|
2563
|
-
"
|
|
2547
|
+
"hardis:project:lint",
|
|
2548
|
+
"project:hardis:lint",
|
|
2549
|
+
"project:lint:hardis",
|
|
2550
|
+
"hardis:lint:project",
|
|
2551
|
+
"lint:hardis:project",
|
|
2552
|
+
"lint:project:hardis"
|
|
2564
2553
|
]
|
|
2565
2554
|
},
|
|
2566
|
-
"hardis:
|
|
2555
|
+
"hardis:scratch:create": {
|
|
2567
2556
|
"aliases": [],
|
|
2568
2557
|
"args": {},
|
|
2569
|
-
"description": "Create a
|
|
2558
|
+
"description": "Create and initialize a scratch org or a source-tracked sandbox (config can be defined using `config/.sfdx-hardis.yml`):\n\n- **Install packages**\n - Use property `installedPackages`\n- **Push sources**\n- **Assign permission sets**\n - Use property `initPermissionSets`\n- **Run apex initialization scripts**\n - Use property `scratchOrgInitApexScripts`\n- **Load data**\n - Use property `dataPackages`\n ",
|
|
2570
2559
|
"examples": [
|
|
2571
|
-
"$ sf hardis:
|
|
2560
|
+
"$ sf hardis:scratch:create"
|
|
2572
2561
|
],
|
|
2573
2562
|
"flags": {
|
|
2574
2563
|
"json": {
|
|
@@ -2586,16 +2575,29 @@
|
|
|
2586
2575
|
"multiple": false,
|
|
2587
2576
|
"type": "option"
|
|
2588
2577
|
},
|
|
2589
|
-
"
|
|
2590
|
-
"char": "
|
|
2591
|
-
"description": "
|
|
2592
|
-
"name": "
|
|
2578
|
+
"forcenew": {
|
|
2579
|
+
"char": "n",
|
|
2580
|
+
"description": "If an existing scratch org exists, do not reuse it but create a new one",
|
|
2581
|
+
"name": "forcenew",
|
|
2593
2582
|
"allowNo": false,
|
|
2594
2583
|
"type": "boolean"
|
|
2595
2584
|
},
|
|
2596
|
-
"
|
|
2597
|
-
"description": "
|
|
2598
|
-
"name": "
|
|
2585
|
+
"pool": {
|
|
2586
|
+
"description": "Creates the scratch org for a scratch org pool",
|
|
2587
|
+
"name": "pool",
|
|
2588
|
+
"allowNo": false,
|
|
2589
|
+
"type": "boolean"
|
|
2590
|
+
},
|
|
2591
|
+
"debug": {
|
|
2592
|
+
"char": "d",
|
|
2593
|
+
"description": "Activate debug mode (more logs)",
|
|
2594
|
+
"name": "debug",
|
|
2595
|
+
"allowNo": false,
|
|
2596
|
+
"type": "boolean"
|
|
2597
|
+
},
|
|
2598
|
+
"websocket": {
|
|
2599
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
2600
|
+
"name": "websocket",
|
|
2599
2601
|
"hasDynamicHelp": false,
|
|
2600
2602
|
"multiple": false,
|
|
2601
2603
|
"type": "option"
|
|
@@ -2605,43 +2607,60 @@
|
|
|
2605
2607
|
"name": "skipauth",
|
|
2606
2608
|
"allowNo": false,
|
|
2607
2609
|
"type": "boolean"
|
|
2610
|
+
},
|
|
2611
|
+
"target-dev-hub": {
|
|
2612
|
+
"aliases": [
|
|
2613
|
+
"targetdevhubusername"
|
|
2614
|
+
],
|
|
2615
|
+
"char": "v",
|
|
2616
|
+
"deprecateAliases": true,
|
|
2617
|
+
"name": "target-dev-hub",
|
|
2618
|
+
"noCacheDefault": true,
|
|
2619
|
+
"required": true,
|
|
2620
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
2621
|
+
"hasDynamicHelp": true,
|
|
2622
|
+
"multiple": false,
|
|
2623
|
+
"type": "option"
|
|
2608
2624
|
}
|
|
2609
2625
|
},
|
|
2610
|
-
"hasDynamicHelp":
|
|
2626
|
+
"hasDynamicHelp": true,
|
|
2611
2627
|
"hiddenAliases": [],
|
|
2612
|
-
"id": "hardis:
|
|
2628
|
+
"id": "hardis:scratch:create",
|
|
2613
2629
|
"pluginAlias": "sfdx-hardis",
|
|
2614
2630
|
"pluginName": "sfdx-hardis",
|
|
2615
2631
|
"pluginType": "core",
|
|
2616
2632
|
"strict": true,
|
|
2617
2633
|
"enableJsonFlag": true,
|
|
2618
|
-
"title": "
|
|
2619
|
-
"requiresProject":
|
|
2634
|
+
"title": "Create and initialize scratch org",
|
|
2635
|
+
"requiresProject": true,
|
|
2636
|
+
"requiresSfdxPlugins": [
|
|
2637
|
+
"sfdmu",
|
|
2638
|
+
"texei-sfdx-plugin"
|
|
2639
|
+
],
|
|
2620
2640
|
"isESM": true,
|
|
2621
2641
|
"relativePath": [
|
|
2622
2642
|
"lib",
|
|
2623
2643
|
"commands",
|
|
2624
2644
|
"hardis",
|
|
2625
|
-
"
|
|
2645
|
+
"scratch",
|
|
2626
2646
|
"create.js"
|
|
2627
2647
|
],
|
|
2628
2648
|
"aliasPermutations": [],
|
|
2629
2649
|
"permutations": [
|
|
2630
|
-
"hardis:
|
|
2631
|
-
"
|
|
2632
|
-
"
|
|
2633
|
-
"hardis:create:
|
|
2634
|
-
"create:hardis:
|
|
2635
|
-
"create:
|
|
2650
|
+
"hardis:scratch:create",
|
|
2651
|
+
"scratch:hardis:create",
|
|
2652
|
+
"scratch:create:hardis",
|
|
2653
|
+
"hardis:create:scratch",
|
|
2654
|
+
"create:hardis:scratch",
|
|
2655
|
+
"create:scratch:hardis"
|
|
2636
2656
|
]
|
|
2637
2657
|
},
|
|
2638
|
-
"hardis:
|
|
2658
|
+
"hardis:scratch:delete": {
|
|
2639
2659
|
"aliases": [],
|
|
2640
2660
|
"args": {},
|
|
2641
|
-
"description": "
|
|
2661
|
+
"description": "Assisted menu to delete scratch orgs associated to a DevHub",
|
|
2642
2662
|
"examples": [
|
|
2643
|
-
"$ sf hardis:
|
|
2644
|
-
"$ sf hardis:project:lint --fix"
|
|
2663
|
+
"$ sf hardis:scratch:delete"
|
|
2645
2664
|
],
|
|
2646
2665
|
"flags": {
|
|
2647
2666
|
"json": {
|
|
@@ -2659,13 +2678,178 @@
|
|
|
2659
2678
|
"multiple": false,
|
|
2660
2679
|
"type": "option"
|
|
2661
2680
|
},
|
|
2662
|
-
"
|
|
2663
|
-
"char": "
|
|
2664
|
-
"description": "
|
|
2665
|
-
"name": "
|
|
2681
|
+
"debug": {
|
|
2682
|
+
"char": "d",
|
|
2683
|
+
"description": "Activate debug mode (more logs)",
|
|
2684
|
+
"name": "debug",
|
|
2685
|
+
"allowNo": false,
|
|
2686
|
+
"type": "boolean"
|
|
2687
|
+
},
|
|
2688
|
+
"websocket": {
|
|
2689
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
2690
|
+
"name": "websocket",
|
|
2691
|
+
"hasDynamicHelp": false,
|
|
2692
|
+
"multiple": false,
|
|
2693
|
+
"type": "option"
|
|
2694
|
+
},
|
|
2695
|
+
"skipauth": {
|
|
2696
|
+
"description": "Skip authentication check when a default username is required",
|
|
2697
|
+
"name": "skipauth",
|
|
2698
|
+
"allowNo": false,
|
|
2699
|
+
"type": "boolean"
|
|
2700
|
+
},
|
|
2701
|
+
"target-dev-hub": {
|
|
2702
|
+
"aliases": [
|
|
2703
|
+
"targetdevhubusername"
|
|
2704
|
+
],
|
|
2705
|
+
"char": "v",
|
|
2706
|
+
"deprecateAliases": true,
|
|
2707
|
+
"name": "target-dev-hub",
|
|
2708
|
+
"noCacheDefault": true,
|
|
2709
|
+
"required": true,
|
|
2710
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
2711
|
+
"hasDynamicHelp": true,
|
|
2712
|
+
"multiple": false,
|
|
2713
|
+
"type": "option"
|
|
2714
|
+
}
|
|
2715
|
+
},
|
|
2716
|
+
"hasDynamicHelp": true,
|
|
2717
|
+
"hiddenAliases": [],
|
|
2718
|
+
"id": "hardis:scratch:delete",
|
|
2719
|
+
"pluginAlias": "sfdx-hardis",
|
|
2720
|
+
"pluginName": "sfdx-hardis",
|
|
2721
|
+
"pluginType": "core",
|
|
2722
|
+
"strict": true,
|
|
2723
|
+
"enableJsonFlag": true,
|
|
2724
|
+
"title": "Delete scratch orgs(s)",
|
|
2725
|
+
"isESM": true,
|
|
2726
|
+
"relativePath": [
|
|
2727
|
+
"lib",
|
|
2728
|
+
"commands",
|
|
2729
|
+
"hardis",
|
|
2730
|
+
"scratch",
|
|
2731
|
+
"delete.js"
|
|
2732
|
+
],
|
|
2733
|
+
"aliasPermutations": [],
|
|
2734
|
+
"permutations": [
|
|
2735
|
+
"hardis:scratch:delete",
|
|
2736
|
+
"scratch:hardis:delete",
|
|
2737
|
+
"scratch:delete:hardis",
|
|
2738
|
+
"hardis:delete:scratch",
|
|
2739
|
+
"delete:hardis:scratch",
|
|
2740
|
+
"delete:scratch:hardis"
|
|
2741
|
+
]
|
|
2742
|
+
},
|
|
2743
|
+
"hardis:scratch:pull": {
|
|
2744
|
+
"aliases": [],
|
|
2745
|
+
"args": {},
|
|
2746
|
+
"description": "This commands pulls the updates you performed in your scratch or sandbox org, into your local files\n\nThen, you probably want to stage and commit the files containing the updates you want to keep, as explained in this video.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Ik6whtflmfY\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n- Calls `sf project retrieve start` under the hood\n- If there are errors, proposes to automatically add erroneous item in `.forceignore`, then pull again\n- If you don't see your updated items in the results, you can manually retrieve [using SF Extension **Org Browser** or **Salesforce CLI**](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/#retrieve-metadatas)\n- If you want to always retrieve sources like CustomApplication that are not always detected as updates by project:retrieve:start , you can define property **autoRetrieveWhenPull** in .sfdx-hardis.yml\n\nExample:\n```yaml\nautoRetrieveWhenPull:\n - CustomApplication:MyCustomApplication\n - CustomApplication:MyOtherCustomApplication\n - CustomApplication:MyThirdCustomApp\n```\n",
|
|
2747
|
+
"examples": [
|
|
2748
|
+
"$ sf hardis:scratch:pull"
|
|
2749
|
+
],
|
|
2750
|
+
"flags": {
|
|
2751
|
+
"json": {
|
|
2752
|
+
"description": "Format output as json.",
|
|
2753
|
+
"helpGroup": "GLOBAL",
|
|
2754
|
+
"name": "json",
|
|
2755
|
+
"allowNo": false,
|
|
2756
|
+
"type": "boolean"
|
|
2757
|
+
},
|
|
2758
|
+
"flags-dir": {
|
|
2759
|
+
"helpGroup": "GLOBAL",
|
|
2760
|
+
"name": "flags-dir",
|
|
2761
|
+
"summary": "Import flag values from a directory.",
|
|
2762
|
+
"hasDynamicHelp": false,
|
|
2763
|
+
"multiple": false,
|
|
2764
|
+
"type": "option"
|
|
2765
|
+
},
|
|
2766
|
+
"debug": {
|
|
2767
|
+
"char": "d",
|
|
2768
|
+
"description": "Activate debug mode (more logs)",
|
|
2769
|
+
"name": "debug",
|
|
2770
|
+
"allowNo": false,
|
|
2771
|
+
"type": "boolean"
|
|
2772
|
+
},
|
|
2773
|
+
"websocket": {
|
|
2774
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
2775
|
+
"name": "websocket",
|
|
2776
|
+
"hasDynamicHelp": false,
|
|
2777
|
+
"multiple": false,
|
|
2778
|
+
"type": "option"
|
|
2779
|
+
},
|
|
2780
|
+
"skipauth": {
|
|
2781
|
+
"description": "Skip authentication check when a default username is required",
|
|
2782
|
+
"name": "skipauth",
|
|
2783
|
+
"allowNo": false,
|
|
2784
|
+
"type": "boolean"
|
|
2785
|
+
},
|
|
2786
|
+
"target-org": {
|
|
2787
|
+
"aliases": [
|
|
2788
|
+
"targetusername",
|
|
2789
|
+
"u"
|
|
2790
|
+
],
|
|
2791
|
+
"char": "o",
|
|
2792
|
+
"deprecateAliases": true,
|
|
2793
|
+
"name": "target-org",
|
|
2794
|
+
"noCacheDefault": true,
|
|
2795
|
+
"required": true,
|
|
2796
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2797
|
+
"hasDynamicHelp": true,
|
|
2798
|
+
"multiple": false,
|
|
2799
|
+
"type": "option"
|
|
2800
|
+
}
|
|
2801
|
+
},
|
|
2802
|
+
"hasDynamicHelp": true,
|
|
2803
|
+
"hiddenAliases": [],
|
|
2804
|
+
"id": "hardis:scratch:pull",
|
|
2805
|
+
"pluginAlias": "sfdx-hardis",
|
|
2806
|
+
"pluginName": "sfdx-hardis",
|
|
2807
|
+
"pluginType": "core",
|
|
2808
|
+
"strict": true,
|
|
2809
|
+
"enableJsonFlag": true,
|
|
2810
|
+
"title": "Scratch PULL",
|
|
2811
|
+
"requiresProject": true,
|
|
2812
|
+
"isESM": true,
|
|
2813
|
+
"relativePath": [
|
|
2814
|
+
"lib",
|
|
2815
|
+
"commands",
|
|
2816
|
+
"hardis",
|
|
2817
|
+
"scratch",
|
|
2818
|
+
"pull.js"
|
|
2819
|
+
],
|
|
2820
|
+
"aliasPermutations": [],
|
|
2821
|
+
"permutations": [
|
|
2822
|
+
"hardis:scratch:pull",
|
|
2823
|
+
"scratch:hardis:pull",
|
|
2824
|
+
"scratch:pull:hardis",
|
|
2825
|
+
"hardis:pull:scratch",
|
|
2826
|
+
"pull:hardis:scratch",
|
|
2827
|
+
"pull:scratch:hardis"
|
|
2828
|
+
]
|
|
2829
|
+
},
|
|
2830
|
+
"hardis:scratch:push": {
|
|
2831
|
+
"aliases": [],
|
|
2832
|
+
"args": {},
|
|
2833
|
+
"description": "Push local files to scratch org\n\nCalls `sf project deploy start` under the hood\n",
|
|
2834
|
+
"examples": [
|
|
2835
|
+
"$ sf hardis:scratch:push"
|
|
2836
|
+
],
|
|
2837
|
+
"flags": {
|
|
2838
|
+
"json": {
|
|
2839
|
+
"description": "Format output as json.",
|
|
2840
|
+
"helpGroup": "GLOBAL",
|
|
2841
|
+
"name": "json",
|
|
2666
2842
|
"allowNo": false,
|
|
2667
2843
|
"type": "boolean"
|
|
2668
2844
|
},
|
|
2845
|
+
"flags-dir": {
|
|
2846
|
+
"helpGroup": "GLOBAL",
|
|
2847
|
+
"name": "flags-dir",
|
|
2848
|
+
"summary": "Import flag values from a directory.",
|
|
2849
|
+
"hasDynamicHelp": false,
|
|
2850
|
+
"multiple": false,
|
|
2851
|
+
"type": "option"
|
|
2852
|
+
},
|
|
2669
2853
|
"debug": {
|
|
2670
2854
|
"char": "d",
|
|
2671
2855
|
"description": "Activate debug mode (more logs)",
|
|
@@ -2673,60 +2857,238 @@
|
|
|
2673
2857
|
"allowNo": false,
|
|
2674
2858
|
"type": "boolean"
|
|
2675
2859
|
},
|
|
2676
|
-
"websocket": {
|
|
2677
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
2678
|
-
"name": "websocket",
|
|
2860
|
+
"websocket": {
|
|
2861
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
2862
|
+
"name": "websocket",
|
|
2863
|
+
"hasDynamicHelp": false,
|
|
2864
|
+
"multiple": false,
|
|
2865
|
+
"type": "option"
|
|
2866
|
+
},
|
|
2867
|
+
"skipauth": {
|
|
2868
|
+
"description": "Skip authentication check when a default username is required",
|
|
2869
|
+
"name": "skipauth",
|
|
2870
|
+
"allowNo": false,
|
|
2871
|
+
"type": "boolean"
|
|
2872
|
+
},
|
|
2873
|
+
"target-org": {
|
|
2874
|
+
"aliases": [
|
|
2875
|
+
"targetusername",
|
|
2876
|
+
"u"
|
|
2877
|
+
],
|
|
2878
|
+
"char": "o",
|
|
2879
|
+
"deprecateAliases": true,
|
|
2880
|
+
"name": "target-org",
|
|
2881
|
+
"noCacheDefault": true,
|
|
2882
|
+
"required": true,
|
|
2883
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
2884
|
+
"hasDynamicHelp": true,
|
|
2885
|
+
"multiple": false,
|
|
2886
|
+
"type": "option"
|
|
2887
|
+
}
|
|
2888
|
+
},
|
|
2889
|
+
"hasDynamicHelp": true,
|
|
2890
|
+
"hiddenAliases": [],
|
|
2891
|
+
"id": "hardis:scratch:push",
|
|
2892
|
+
"pluginAlias": "sfdx-hardis",
|
|
2893
|
+
"pluginName": "sfdx-hardis",
|
|
2894
|
+
"pluginType": "core",
|
|
2895
|
+
"strict": true,
|
|
2896
|
+
"enableJsonFlag": true,
|
|
2897
|
+
"title": "Scratch PUSH",
|
|
2898
|
+
"requiresProject": true,
|
|
2899
|
+
"isESM": true,
|
|
2900
|
+
"relativePath": [
|
|
2901
|
+
"lib",
|
|
2902
|
+
"commands",
|
|
2903
|
+
"hardis",
|
|
2904
|
+
"scratch",
|
|
2905
|
+
"push.js"
|
|
2906
|
+
],
|
|
2907
|
+
"aliasPermutations": [],
|
|
2908
|
+
"permutations": [
|
|
2909
|
+
"hardis:scratch:push",
|
|
2910
|
+
"scratch:hardis:push",
|
|
2911
|
+
"scratch:push:hardis",
|
|
2912
|
+
"hardis:push:scratch",
|
|
2913
|
+
"push:hardis:scratch",
|
|
2914
|
+
"push:scratch:hardis"
|
|
2915
|
+
]
|
|
2916
|
+
},
|
|
2917
|
+
"hardis:packagexml:append": {
|
|
2918
|
+
"aliases": [],
|
|
2919
|
+
"args": {},
|
|
2920
|
+
"description": "Append one or multiple package.xml files into a single one",
|
|
2921
|
+
"examples": [
|
|
2922
|
+
"$ sf hardis packagexml append -p package1.xml,package2.xml -o package3.xml"
|
|
2923
|
+
],
|
|
2924
|
+
"flags": {
|
|
2925
|
+
"json": {
|
|
2926
|
+
"description": "Format output as json.",
|
|
2927
|
+
"helpGroup": "GLOBAL",
|
|
2928
|
+
"name": "json",
|
|
2929
|
+
"allowNo": false,
|
|
2930
|
+
"type": "boolean"
|
|
2931
|
+
},
|
|
2932
|
+
"flags-dir": {
|
|
2933
|
+
"helpGroup": "GLOBAL",
|
|
2934
|
+
"name": "flags-dir",
|
|
2935
|
+
"summary": "Import flag values from a directory.",
|
|
2936
|
+
"hasDynamicHelp": false,
|
|
2937
|
+
"multiple": false,
|
|
2938
|
+
"type": "option"
|
|
2939
|
+
},
|
|
2940
|
+
"packagexmls": {
|
|
2941
|
+
"char": "p",
|
|
2942
|
+
"description": "package.xml files path (separated by commas)",
|
|
2943
|
+
"name": "packagexmls",
|
|
2944
|
+
"required": true,
|
|
2945
|
+
"hasDynamicHelp": false,
|
|
2946
|
+
"multiple": false,
|
|
2947
|
+
"type": "option"
|
|
2948
|
+
},
|
|
2949
|
+
"outputfile": {
|
|
2950
|
+
"char": "f",
|
|
2951
|
+
"description": "package.xml output file",
|
|
2952
|
+
"name": "outputfile",
|
|
2953
|
+
"required": true,
|
|
2954
|
+
"hasDynamicHelp": false,
|
|
2955
|
+
"multiple": false,
|
|
2956
|
+
"type": "option"
|
|
2957
|
+
},
|
|
2958
|
+
"debug": {
|
|
2959
|
+
"description": "debug",
|
|
2960
|
+
"name": "debug",
|
|
2961
|
+
"allowNo": false,
|
|
2962
|
+
"type": "boolean"
|
|
2963
|
+
},
|
|
2964
|
+
"websocket": {
|
|
2965
|
+
"description": "websocket",
|
|
2966
|
+
"name": "websocket",
|
|
2967
|
+
"hasDynamicHelp": false,
|
|
2968
|
+
"multiple": false,
|
|
2969
|
+
"type": "option"
|
|
2970
|
+
}
|
|
2971
|
+
},
|
|
2972
|
+
"hasDynamicHelp": false,
|
|
2973
|
+
"hiddenAliases": [],
|
|
2974
|
+
"id": "hardis:packagexml:append",
|
|
2975
|
+
"pluginAlias": "sfdx-hardis",
|
|
2976
|
+
"pluginName": "sfdx-hardis",
|
|
2977
|
+
"pluginType": "core",
|
|
2978
|
+
"strict": true,
|
|
2979
|
+
"enableJsonFlag": true,
|
|
2980
|
+
"isESM": true,
|
|
2981
|
+
"relativePath": [
|
|
2982
|
+
"lib",
|
|
2983
|
+
"commands",
|
|
2984
|
+
"hardis",
|
|
2985
|
+
"packagexml",
|
|
2986
|
+
"append.js"
|
|
2987
|
+
],
|
|
2988
|
+
"aliasPermutations": [],
|
|
2989
|
+
"permutations": [
|
|
2990
|
+
"hardis:packagexml:append",
|
|
2991
|
+
"packagexml:hardis:append",
|
|
2992
|
+
"packagexml:append:hardis",
|
|
2993
|
+
"hardis:append:packagexml",
|
|
2994
|
+
"append:hardis:packagexml",
|
|
2995
|
+
"append:packagexml:hardis"
|
|
2996
|
+
]
|
|
2997
|
+
},
|
|
2998
|
+
"hardis:packagexml:remove": {
|
|
2999
|
+
"aliases": [],
|
|
3000
|
+
"args": {},
|
|
3001
|
+
"description": "Removes the content of a package.xml file matching another package.xml file",
|
|
3002
|
+
"examples": [
|
|
3003
|
+
"$ sf hardis packagexml:remove -p package.xml -r destructiveChanges.xml -o my-reduced-package.xml"
|
|
3004
|
+
],
|
|
3005
|
+
"flags": {
|
|
3006
|
+
"json": {
|
|
3007
|
+
"description": "Format output as json.",
|
|
3008
|
+
"helpGroup": "GLOBAL",
|
|
3009
|
+
"name": "json",
|
|
3010
|
+
"allowNo": false,
|
|
3011
|
+
"type": "boolean"
|
|
3012
|
+
},
|
|
3013
|
+
"flags-dir": {
|
|
3014
|
+
"helpGroup": "GLOBAL",
|
|
3015
|
+
"name": "flags-dir",
|
|
3016
|
+
"summary": "Import flag values from a directory.",
|
|
3017
|
+
"hasDynamicHelp": false,
|
|
3018
|
+
"multiple": false,
|
|
3019
|
+
"type": "option"
|
|
3020
|
+
},
|
|
3021
|
+
"packagexml": {
|
|
3022
|
+
"char": "p",
|
|
3023
|
+
"description": "package.xml file to reduce",
|
|
3024
|
+
"name": "packagexml",
|
|
3025
|
+
"hasDynamicHelp": false,
|
|
3026
|
+
"multiple": false,
|
|
3027
|
+
"type": "option"
|
|
3028
|
+
},
|
|
3029
|
+
"removepackagexml": {
|
|
3030
|
+
"char": "r",
|
|
3031
|
+
"description": "package.xml file to use to filter input package.xml",
|
|
3032
|
+
"name": "removepackagexml",
|
|
3033
|
+
"hasDynamicHelp": false,
|
|
3034
|
+
"multiple": false,
|
|
3035
|
+
"type": "option"
|
|
3036
|
+
},
|
|
3037
|
+
"removedonly": {
|
|
3038
|
+
"char": "z",
|
|
3039
|
+
"description": "Use this flag to generate a package.xml with only removed items",
|
|
3040
|
+
"name": "removedonly",
|
|
3041
|
+
"allowNo": false,
|
|
3042
|
+
"type": "boolean"
|
|
3043
|
+
},
|
|
3044
|
+
"outputfile": {
|
|
3045
|
+
"char": "f",
|
|
3046
|
+
"description": "package.xml output file",
|
|
3047
|
+
"name": "outputfile",
|
|
3048
|
+
"required": true,
|
|
2679
3049
|
"hasDynamicHelp": false,
|
|
2680
3050
|
"multiple": false,
|
|
2681
3051
|
"type": "option"
|
|
2682
3052
|
},
|
|
2683
|
-
"
|
|
2684
|
-
"description": "
|
|
2685
|
-
"name": "
|
|
3053
|
+
"debug": {
|
|
3054
|
+
"description": "debug",
|
|
3055
|
+
"name": "debug",
|
|
2686
3056
|
"allowNo": false,
|
|
2687
3057
|
"type": "boolean"
|
|
2688
3058
|
},
|
|
2689
|
-
"
|
|
2690
|
-
"
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
],
|
|
2694
|
-
"char": "o",
|
|
2695
|
-
"deprecateAliases": true,
|
|
2696
|
-
"name": "target-org",
|
|
2697
|
-
"noCacheDefault": true,
|
|
2698
|
-
"summary": "Username or alias of the target org.",
|
|
2699
|
-
"hasDynamicHelp": true,
|
|
3059
|
+
"websocket": {
|
|
3060
|
+
"description": "websocket",
|
|
3061
|
+
"name": "websocket",
|
|
3062
|
+
"hasDynamicHelp": false,
|
|
2700
3063
|
"multiple": false,
|
|
2701
3064
|
"type": "option"
|
|
2702
3065
|
}
|
|
2703
3066
|
},
|
|
2704
|
-
"hasDynamicHelp":
|
|
3067
|
+
"hasDynamicHelp": false,
|
|
2705
3068
|
"hiddenAliases": [],
|
|
2706
|
-
"id": "hardis:
|
|
3069
|
+
"id": "hardis:packagexml:remove",
|
|
2707
3070
|
"pluginAlias": "sfdx-hardis",
|
|
2708
3071
|
"pluginName": "sfdx-hardis",
|
|
2709
3072
|
"pluginType": "core",
|
|
2710
3073
|
"strict": true,
|
|
2711
3074
|
"enableJsonFlag": true,
|
|
2712
|
-
"title": "Lint",
|
|
2713
3075
|
"requiresProject": false,
|
|
2714
3076
|
"isESM": true,
|
|
2715
3077
|
"relativePath": [
|
|
2716
3078
|
"lib",
|
|
2717
3079
|
"commands",
|
|
2718
3080
|
"hardis",
|
|
2719
|
-
"
|
|
2720
|
-
"
|
|
3081
|
+
"packagexml",
|
|
3082
|
+
"remove.js"
|
|
2721
3083
|
],
|
|
2722
3084
|
"aliasPermutations": [],
|
|
2723
3085
|
"permutations": [
|
|
2724
|
-
"hardis:
|
|
2725
|
-
"
|
|
2726
|
-
"
|
|
2727
|
-
"hardis:
|
|
2728
|
-
"
|
|
2729
|
-
"
|
|
3086
|
+
"hardis:packagexml:remove",
|
|
3087
|
+
"packagexml:hardis:remove",
|
|
3088
|
+
"packagexml:remove:hardis",
|
|
3089
|
+
"hardis:remove:packagexml",
|
|
3090
|
+
"remove:hardis:packagexml",
|
|
3091
|
+
"remove:packagexml:hardis"
|
|
2730
3092
|
]
|
|
2731
3093
|
},
|
|
2732
3094
|
"hardis:source:deploy": {
|
|
@@ -3547,217 +3909,13 @@
|
|
|
3547
3909
|
"resetselection:work:hardis"
|
|
3548
3910
|
]
|
|
3549
3911
|
},
|
|
3550
|
-
"hardis:work:save": {
|
|
3551
|
-
"aliases": [],
|
|
3552
|
-
"args": {},
|
|
3553
|
-
"description": "When a work task is completed, guide user to create a merge request\n\nAdvanced instructions in [Publish a task](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/)\n\n- Generate package-xml diff using sfdx-git-delta\n- Automatically update `manifest/package.xml` and `manifest/destructiveChanges.xml` according to the committed updates\n- Automatically Clean XML files using `.sfdx-hardis.yml` properties\n - `autocleantypes`: List of auto-performed sources cleanings, available on command [hardis:project:clean:references](https://sfdx-hardis.cloudity.com/hardis/project/clean/references/)\n - `autoRemoveUserPermissions`: List of userPermission to automatically remove from profile metadatas\n\nExample:\n\n```yaml\nautoCleanTypes:\n - checkPermissions\n - destructivechanges\n - datadotcom\n - minimizeProfiles\n - listViewsMine\nautoRemoveUserPermissions:\n - EnableCommunityAppLauncher\n - FieldServiceAccess\n - OmnichannelInventorySync\n - SendExternalEmailAvailable\n - UseOmnichannelInventoryAPIs\n - ViewDataLeakageEvents\n - ViewMLModels\n - ViewPlatformEvents\n - WorkCalibrationUser\n```\n\n- Push commit to server\n ",
|
|
3554
|
-
"examples": [
|
|
3555
|
-
"$ sf hardis:work:task:save",
|
|
3556
|
-
"$ sf hardis:work:task:save --nopull --nogit --noclean"
|
|
3557
|
-
],
|
|
3558
|
-
"flags": {
|
|
3559
|
-
"json": {
|
|
3560
|
-
"description": "Format output as json.",
|
|
3561
|
-
"helpGroup": "GLOBAL",
|
|
3562
|
-
"name": "json",
|
|
3563
|
-
"allowNo": false,
|
|
3564
|
-
"type": "boolean"
|
|
3565
|
-
},
|
|
3566
|
-
"flags-dir": {
|
|
3567
|
-
"helpGroup": "GLOBAL",
|
|
3568
|
-
"name": "flags-dir",
|
|
3569
|
-
"summary": "Import flag values from a directory.",
|
|
3570
|
-
"hasDynamicHelp": false,
|
|
3571
|
-
"multiple": false,
|
|
3572
|
-
"type": "option"
|
|
3573
|
-
},
|
|
3574
|
-
"nopull": {
|
|
3575
|
-
"char": "n",
|
|
3576
|
-
"description": "No scratch pull before save",
|
|
3577
|
-
"name": "nopull",
|
|
3578
|
-
"allowNo": false,
|
|
3579
|
-
"type": "boolean"
|
|
3580
|
-
},
|
|
3581
|
-
"nogit": {
|
|
3582
|
-
"char": "g",
|
|
3583
|
-
"description": "No automated git operations",
|
|
3584
|
-
"name": "nogit",
|
|
3585
|
-
"allowNo": false,
|
|
3586
|
-
"type": "boolean"
|
|
3587
|
-
},
|
|
3588
|
-
"noclean": {
|
|
3589
|
-
"char": "c",
|
|
3590
|
-
"description": "No cleaning of local sources",
|
|
3591
|
-
"name": "noclean",
|
|
3592
|
-
"allowNo": false,
|
|
3593
|
-
"type": "boolean"
|
|
3594
|
-
},
|
|
3595
|
-
"auto": {
|
|
3596
|
-
"description": "No user prompts (when called from CI for example)",
|
|
3597
|
-
"name": "auto",
|
|
3598
|
-
"allowNo": false,
|
|
3599
|
-
"type": "boolean"
|
|
3600
|
-
},
|
|
3601
|
-
"targetbranch": {
|
|
3602
|
-
"description": "Name of the Merge Request target branch. Will be guessed or prompted if not provided.",
|
|
3603
|
-
"name": "targetbranch",
|
|
3604
|
-
"hasDynamicHelp": false,
|
|
3605
|
-
"multiple": false,
|
|
3606
|
-
"type": "option"
|
|
3607
|
-
},
|
|
3608
|
-
"debug": {
|
|
3609
|
-
"char": "d",
|
|
3610
|
-
"description": "Activate debug mode (more logs)",
|
|
3611
|
-
"name": "debug",
|
|
3612
|
-
"allowNo": false,
|
|
3613
|
-
"type": "boolean"
|
|
3614
|
-
},
|
|
3615
|
-
"websocket": {
|
|
3616
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
3617
|
-
"name": "websocket",
|
|
3618
|
-
"hasDynamicHelp": false,
|
|
3619
|
-
"multiple": false,
|
|
3620
|
-
"type": "option"
|
|
3621
|
-
},
|
|
3622
|
-
"skipauth": {
|
|
3623
|
-
"description": "Skip authentication check when a default username is required",
|
|
3624
|
-
"name": "skipauth",
|
|
3625
|
-
"allowNo": false,
|
|
3626
|
-
"type": "boolean"
|
|
3627
|
-
},
|
|
3628
|
-
"target-org": {
|
|
3629
|
-
"aliases": [
|
|
3630
|
-
"targetusername",
|
|
3631
|
-
"u"
|
|
3632
|
-
],
|
|
3633
|
-
"char": "o",
|
|
3634
|
-
"deprecateAliases": true,
|
|
3635
|
-
"name": "target-org",
|
|
3636
|
-
"noCacheDefault": true,
|
|
3637
|
-
"required": true,
|
|
3638
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3639
|
-
"hasDynamicHelp": true,
|
|
3640
|
-
"multiple": false,
|
|
3641
|
-
"type": "option"
|
|
3642
|
-
}
|
|
3643
|
-
},
|
|
3644
|
-
"hasDynamicHelp": true,
|
|
3645
|
-
"hiddenAliases": [],
|
|
3646
|
-
"id": "hardis:work:save",
|
|
3647
|
-
"pluginAlias": "sfdx-hardis",
|
|
3648
|
-
"pluginName": "sfdx-hardis",
|
|
3649
|
-
"pluginType": "core",
|
|
3650
|
-
"strict": true,
|
|
3651
|
-
"enableJsonFlag": true,
|
|
3652
|
-
"title": "Save work task",
|
|
3653
|
-
"requiresProject": true,
|
|
3654
|
-
"requiresSfdxPlugins": [
|
|
3655
|
-
"sfdx-git-delta"
|
|
3656
|
-
],
|
|
3657
|
-
"isESM": true,
|
|
3658
|
-
"relativePath": [
|
|
3659
|
-
"lib",
|
|
3660
|
-
"commands",
|
|
3661
|
-
"hardis",
|
|
3662
|
-
"work",
|
|
3663
|
-
"save.js"
|
|
3664
|
-
],
|
|
3665
|
-
"aliasPermutations": [],
|
|
3666
|
-
"permutations": [
|
|
3667
|
-
"hardis:work:save",
|
|
3668
|
-
"work:hardis:save",
|
|
3669
|
-
"work:save:hardis",
|
|
3670
|
-
"hardis:save:work",
|
|
3671
|
-
"save:hardis:work",
|
|
3672
|
-
"save:work:hardis"
|
|
3673
|
-
]
|
|
3674
|
-
},
|
|
3675
|
-
"hardis:work:ws": {
|
|
3676
|
-
"aliases": [],
|
|
3677
|
-
"args": {},
|
|
3678
|
-
"description": "Technical calls to WebSocket functions",
|
|
3679
|
-
"examples": [
|
|
3680
|
-
"$ sf hardis:work:ws --event refreshStatus"
|
|
3681
|
-
],
|
|
3682
|
-
"flags": {
|
|
3683
|
-
"json": {
|
|
3684
|
-
"description": "Format output as json.",
|
|
3685
|
-
"helpGroup": "GLOBAL",
|
|
3686
|
-
"name": "json",
|
|
3687
|
-
"allowNo": false,
|
|
3688
|
-
"type": "boolean"
|
|
3689
|
-
},
|
|
3690
|
-
"flags-dir": {
|
|
3691
|
-
"helpGroup": "GLOBAL",
|
|
3692
|
-
"name": "flags-dir",
|
|
3693
|
-
"summary": "Import flag values from a directory.",
|
|
3694
|
-
"hasDynamicHelp": false,
|
|
3695
|
-
"multiple": false,
|
|
3696
|
-
"type": "option"
|
|
3697
|
-
},
|
|
3698
|
-
"event": {
|
|
3699
|
-
"char": "e",
|
|
3700
|
-
"description": "WebSocket event",
|
|
3701
|
-
"name": "event",
|
|
3702
|
-
"hasDynamicHelp": false,
|
|
3703
|
-
"multiple": false,
|
|
3704
|
-
"type": "option"
|
|
3705
|
-
},
|
|
3706
|
-
"debug": {
|
|
3707
|
-
"char": "d",
|
|
3708
|
-
"description": "Activate debug mode (more logs)",
|
|
3709
|
-
"name": "debug",
|
|
3710
|
-
"allowNo": false,
|
|
3711
|
-
"type": "boolean"
|
|
3712
|
-
},
|
|
3713
|
-
"websocket": {
|
|
3714
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
3715
|
-
"name": "websocket",
|
|
3716
|
-
"hasDynamicHelp": false,
|
|
3717
|
-
"multiple": false,
|
|
3718
|
-
"type": "option"
|
|
3719
|
-
},
|
|
3720
|
-
"skipauth": {
|
|
3721
|
-
"description": "Skip authentication check when a default username is required",
|
|
3722
|
-
"name": "skipauth",
|
|
3723
|
-
"allowNo": false,
|
|
3724
|
-
"type": "boolean"
|
|
3725
|
-
}
|
|
3726
|
-
},
|
|
3727
|
-
"hasDynamicHelp": false,
|
|
3728
|
-
"hiddenAliases": [],
|
|
3729
|
-
"id": "hardis:work:ws",
|
|
3730
|
-
"pluginAlias": "sfdx-hardis",
|
|
3731
|
-
"pluginName": "sfdx-hardis",
|
|
3732
|
-
"pluginType": "core",
|
|
3733
|
-
"strict": true,
|
|
3734
|
-
"enableJsonFlag": true,
|
|
3735
|
-
"title": "WebSocket operations",
|
|
3736
|
-
"requiresProject": false,
|
|
3737
|
-
"isESM": true,
|
|
3738
|
-
"relativePath": [
|
|
3739
|
-
"lib",
|
|
3740
|
-
"commands",
|
|
3741
|
-
"hardis",
|
|
3742
|
-
"work",
|
|
3743
|
-
"ws.js"
|
|
3744
|
-
],
|
|
3745
|
-
"aliasPermutations": [],
|
|
3746
|
-
"permutations": [
|
|
3747
|
-
"hardis:work:ws",
|
|
3748
|
-
"work:hardis:ws",
|
|
3749
|
-
"work:ws:hardis",
|
|
3750
|
-
"hardis:ws:work",
|
|
3751
|
-
"ws:hardis:work",
|
|
3752
|
-
"ws:work:hardis"
|
|
3753
|
-
]
|
|
3754
|
-
},
|
|
3755
|
-
"hardis:scratch:create": {
|
|
3912
|
+
"hardis:work:save": {
|
|
3756
3913
|
"aliases": [],
|
|
3757
3914
|
"args": {},
|
|
3758
|
-
"description": "
|
|
3915
|
+
"description": "When a work task is completed, guide user to create a merge request\n\nAdvanced instructions in [Publish a task](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/)\n\n- Generate package-xml diff using sfdx-git-delta\n- Automatically update `manifest/package.xml` and `manifest/destructiveChanges.xml` according to the committed updates\n- Automatically Clean XML files using `.sfdx-hardis.yml` properties\n - `autocleantypes`: List of auto-performed sources cleanings, available on command [hardis:project:clean:references](https://sfdx-hardis.cloudity.com/hardis/project/clean/references/)\n - `autoRemoveUserPermissions`: List of userPermission to automatically remove from profile metadatas\n\nExample:\n\n```yaml\nautoCleanTypes:\n - checkPermissions\n - destructivechanges\n - datadotcom\n - minimizeProfiles\n - listViewsMine\nautoRemoveUserPermissions:\n - EnableCommunityAppLauncher\n - FieldServiceAccess\n - OmnichannelInventorySync\n - SendExternalEmailAvailable\n - UseOmnichannelInventoryAPIs\n - ViewDataLeakageEvents\n - ViewMLModels\n - ViewPlatformEvents\n - WorkCalibrationUser\n```\n\n- Push commit to server\n ",
|
|
3759
3916
|
"examples": [
|
|
3760
|
-
"$ sf hardis:
|
|
3917
|
+
"$ sf hardis:work:task:save",
|
|
3918
|
+
"$ sf hardis:work:task:save --nopull --nogit --noclean"
|
|
3761
3919
|
],
|
|
3762
3920
|
"flags": {
|
|
3763
3921
|
"json": {
|
|
@@ -3775,19 +3933,40 @@
|
|
|
3775
3933
|
"multiple": false,
|
|
3776
3934
|
"type": "option"
|
|
3777
3935
|
},
|
|
3778
|
-
"
|
|
3936
|
+
"nopull": {
|
|
3779
3937
|
"char": "n",
|
|
3780
|
-
"description": "
|
|
3781
|
-
"name": "
|
|
3938
|
+
"description": "No scratch pull before save",
|
|
3939
|
+
"name": "nopull",
|
|
3782
3940
|
"allowNo": false,
|
|
3783
3941
|
"type": "boolean"
|
|
3784
3942
|
},
|
|
3785
|
-
"
|
|
3786
|
-
"
|
|
3787
|
-
"
|
|
3943
|
+
"nogit": {
|
|
3944
|
+
"char": "g",
|
|
3945
|
+
"description": "No automated git operations",
|
|
3946
|
+
"name": "nogit",
|
|
3947
|
+
"allowNo": false,
|
|
3948
|
+
"type": "boolean"
|
|
3949
|
+
},
|
|
3950
|
+
"noclean": {
|
|
3951
|
+
"char": "c",
|
|
3952
|
+
"description": "No cleaning of local sources",
|
|
3953
|
+
"name": "noclean",
|
|
3954
|
+
"allowNo": false,
|
|
3955
|
+
"type": "boolean"
|
|
3956
|
+
},
|
|
3957
|
+
"auto": {
|
|
3958
|
+
"description": "No user prompts (when called from CI for example)",
|
|
3959
|
+
"name": "auto",
|
|
3788
3960
|
"allowNo": false,
|
|
3789
3961
|
"type": "boolean"
|
|
3790
3962
|
},
|
|
3963
|
+
"targetbranch": {
|
|
3964
|
+
"description": "Name of the Merge Request target branch. Will be guessed or prompted if not provided.",
|
|
3965
|
+
"name": "targetbranch",
|
|
3966
|
+
"hasDynamicHelp": false,
|
|
3967
|
+
"multiple": false,
|
|
3968
|
+
"type": "option"
|
|
3969
|
+
},
|
|
3791
3970
|
"debug": {
|
|
3792
3971
|
"char": "d",
|
|
3793
3972
|
"description": "Activate debug mode (more logs)",
|
|
@@ -3808,16 +3987,17 @@
|
|
|
3808
3987
|
"allowNo": false,
|
|
3809
3988
|
"type": "boolean"
|
|
3810
3989
|
},
|
|
3811
|
-
"target-
|
|
3990
|
+
"target-org": {
|
|
3812
3991
|
"aliases": [
|
|
3813
|
-
"
|
|
3992
|
+
"targetusername",
|
|
3993
|
+
"u"
|
|
3814
3994
|
],
|
|
3815
|
-
"char": "
|
|
3995
|
+
"char": "o",
|
|
3816
3996
|
"deprecateAliases": true,
|
|
3817
|
-
"name": "target-
|
|
3997
|
+
"name": "target-org",
|
|
3818
3998
|
"noCacheDefault": true,
|
|
3819
3999
|
"required": true,
|
|
3820
|
-
"summary": "Username or alias of the
|
|
4000
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3821
4001
|
"hasDynamicHelp": true,
|
|
3822
4002
|
"multiple": false,
|
|
3823
4003
|
"type": "option"
|
|
@@ -3825,42 +4005,41 @@
|
|
|
3825
4005
|
},
|
|
3826
4006
|
"hasDynamicHelp": true,
|
|
3827
4007
|
"hiddenAliases": [],
|
|
3828
|
-
"id": "hardis:
|
|
4008
|
+
"id": "hardis:work:save",
|
|
3829
4009
|
"pluginAlias": "sfdx-hardis",
|
|
3830
4010
|
"pluginName": "sfdx-hardis",
|
|
3831
4011
|
"pluginType": "core",
|
|
3832
4012
|
"strict": true,
|
|
3833
4013
|
"enableJsonFlag": true,
|
|
3834
|
-
"title": "
|
|
4014
|
+
"title": "Save work task",
|
|
3835
4015
|
"requiresProject": true,
|
|
3836
4016
|
"requiresSfdxPlugins": [
|
|
3837
|
-
"
|
|
3838
|
-
"texei-sfdx-plugin"
|
|
4017
|
+
"sfdx-git-delta"
|
|
3839
4018
|
],
|
|
3840
4019
|
"isESM": true,
|
|
3841
4020
|
"relativePath": [
|
|
3842
4021
|
"lib",
|
|
3843
4022
|
"commands",
|
|
3844
4023
|
"hardis",
|
|
3845
|
-
"
|
|
3846
|
-
"
|
|
4024
|
+
"work",
|
|
4025
|
+
"save.js"
|
|
3847
4026
|
],
|
|
3848
4027
|
"aliasPermutations": [],
|
|
3849
4028
|
"permutations": [
|
|
3850
|
-
"hardis:
|
|
3851
|
-
"
|
|
3852
|
-
"
|
|
3853
|
-
"hardis:
|
|
3854
|
-
"
|
|
3855
|
-
"
|
|
4029
|
+
"hardis:work:save",
|
|
4030
|
+
"work:hardis:save",
|
|
4031
|
+
"work:save:hardis",
|
|
4032
|
+
"hardis:save:work",
|
|
4033
|
+
"save:hardis:work",
|
|
4034
|
+
"save:work:hardis"
|
|
3856
4035
|
]
|
|
3857
4036
|
},
|
|
3858
|
-
"hardis:
|
|
4037
|
+
"hardis:work:ws": {
|
|
3859
4038
|
"aliases": [],
|
|
3860
4039
|
"args": {},
|
|
3861
|
-
"description": "
|
|
4040
|
+
"description": "Technical calls to WebSocket functions",
|
|
3862
4041
|
"examples": [
|
|
3863
|
-
"$ sf hardis:
|
|
4042
|
+
"$ sf hardis:work:ws --event refreshStatus"
|
|
3864
4043
|
],
|
|
3865
4044
|
"flags": {
|
|
3866
4045
|
"json": {
|
|
@@ -3878,6 +4057,14 @@
|
|
|
3878
4057
|
"multiple": false,
|
|
3879
4058
|
"type": "option"
|
|
3880
4059
|
},
|
|
4060
|
+
"event": {
|
|
4061
|
+
"char": "e",
|
|
4062
|
+
"description": "WebSocket event",
|
|
4063
|
+
"name": "event",
|
|
4064
|
+
"hasDynamicHelp": false,
|
|
4065
|
+
"multiple": false,
|
|
4066
|
+
"type": "option"
|
|
4067
|
+
},
|
|
3881
4068
|
"debug": {
|
|
3882
4069
|
"char": "d",
|
|
3883
4070
|
"description": "Activate debug mode (more logs)",
|
|
@@ -3897,55 +4084,42 @@
|
|
|
3897
4084
|
"name": "skipauth",
|
|
3898
4085
|
"allowNo": false,
|
|
3899
4086
|
"type": "boolean"
|
|
3900
|
-
},
|
|
3901
|
-
"target-dev-hub": {
|
|
3902
|
-
"aliases": [
|
|
3903
|
-
"targetdevhubusername"
|
|
3904
|
-
],
|
|
3905
|
-
"char": "v",
|
|
3906
|
-
"deprecateAliases": true,
|
|
3907
|
-
"name": "target-dev-hub",
|
|
3908
|
-
"noCacheDefault": true,
|
|
3909
|
-
"required": true,
|
|
3910
|
-
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
3911
|
-
"hasDynamicHelp": true,
|
|
3912
|
-
"multiple": false,
|
|
3913
|
-
"type": "option"
|
|
3914
4087
|
}
|
|
3915
4088
|
},
|
|
3916
|
-
"hasDynamicHelp":
|
|
4089
|
+
"hasDynamicHelp": false,
|
|
3917
4090
|
"hiddenAliases": [],
|
|
3918
|
-
"id": "hardis:
|
|
4091
|
+
"id": "hardis:work:ws",
|
|
3919
4092
|
"pluginAlias": "sfdx-hardis",
|
|
3920
4093
|
"pluginName": "sfdx-hardis",
|
|
3921
4094
|
"pluginType": "core",
|
|
3922
4095
|
"strict": true,
|
|
3923
4096
|
"enableJsonFlag": true,
|
|
3924
|
-
"title": "
|
|
4097
|
+
"title": "WebSocket operations",
|
|
4098
|
+
"requiresProject": false,
|
|
3925
4099
|
"isESM": true,
|
|
3926
4100
|
"relativePath": [
|
|
3927
4101
|
"lib",
|
|
3928
4102
|
"commands",
|
|
3929
4103
|
"hardis",
|
|
3930
|
-
"
|
|
3931
|
-
"
|
|
4104
|
+
"work",
|
|
4105
|
+
"ws.js"
|
|
3932
4106
|
],
|
|
3933
4107
|
"aliasPermutations": [],
|
|
3934
4108
|
"permutations": [
|
|
3935
|
-
"hardis:
|
|
3936
|
-
"
|
|
3937
|
-
"
|
|
3938
|
-
"hardis:
|
|
3939
|
-
"
|
|
3940
|
-
"
|
|
4109
|
+
"hardis:work:ws",
|
|
4110
|
+
"work:hardis:ws",
|
|
4111
|
+
"work:ws:hardis",
|
|
4112
|
+
"hardis:ws:work",
|
|
4113
|
+
"ws:hardis:work",
|
|
4114
|
+
"ws:work:hardis"
|
|
3941
4115
|
]
|
|
3942
4116
|
},
|
|
3943
|
-
"hardis:
|
|
4117
|
+
"hardis:doc:plugin:generate": {
|
|
3944
4118
|
"aliases": [],
|
|
3945
4119
|
"args": {},
|
|
3946
|
-
"description": "
|
|
4120
|
+
"description": "Generate Markdown documentation ready for HTML conversion with mkdocs\n\nAfter the first run, you need to update manually:\n\n- mkdocs.yml\n- .github/workflows/build-deploy-docs.yml\n- docs/javascripts/gtag.js , if you want Google Analytics tracking\n\nThen, activate Github pages, with \"gh_pages\" as target branch\n\nAt each merge into master/main branch, the GitHub Action build-deploy-docs will rebuild documentation and publish it in GitHub pages\n",
|
|
3947
4121
|
"examples": [
|
|
3948
|
-
"$ sf hardis:
|
|
4122
|
+
"$ sf hardis:doc:plugin:generate"
|
|
3949
4123
|
],
|
|
3950
4124
|
"flags": {
|
|
3951
4125
|
"json": {
|
|
@@ -3982,57 +4156,62 @@
|
|
|
3982
4156
|
"name": "skipauth",
|
|
3983
4157
|
"allowNo": false,
|
|
3984
4158
|
"type": "boolean"
|
|
3985
|
-
},
|
|
3986
|
-
"target-org": {
|
|
3987
|
-
"aliases": [
|
|
3988
|
-
"targetusername",
|
|
3989
|
-
"u"
|
|
3990
|
-
],
|
|
3991
|
-
"char": "o",
|
|
3992
|
-
"deprecateAliases": true,
|
|
3993
|
-
"name": "target-org",
|
|
3994
|
-
"noCacheDefault": true,
|
|
3995
|
-
"required": true,
|
|
3996
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3997
|
-
"hasDynamicHelp": true,
|
|
3998
|
-
"multiple": false,
|
|
3999
|
-
"type": "option"
|
|
4000
4159
|
}
|
|
4001
4160
|
},
|
|
4002
|
-
"hasDynamicHelp":
|
|
4161
|
+
"hasDynamicHelp": false,
|
|
4003
4162
|
"hiddenAliases": [],
|
|
4004
|
-
"id": "hardis:
|
|
4163
|
+
"id": "hardis:doc:plugin:generate",
|
|
4005
4164
|
"pluginAlias": "sfdx-hardis",
|
|
4006
4165
|
"pluginName": "sfdx-hardis",
|
|
4007
4166
|
"pluginType": "core",
|
|
4008
4167
|
"strict": true,
|
|
4009
4168
|
"enableJsonFlag": true,
|
|
4010
|
-
"title": "
|
|
4011
|
-
"requiresProject":
|
|
4169
|
+
"title": "Generate SF Cli Plugin Documentation",
|
|
4170
|
+
"requiresProject": false,
|
|
4012
4171
|
"isESM": true,
|
|
4013
4172
|
"relativePath": [
|
|
4014
4173
|
"lib",
|
|
4015
4174
|
"commands",
|
|
4016
4175
|
"hardis",
|
|
4017
|
-
"
|
|
4018
|
-
"
|
|
4176
|
+
"doc",
|
|
4177
|
+
"plugin",
|
|
4178
|
+
"generate.js"
|
|
4019
4179
|
],
|
|
4020
4180
|
"aliasPermutations": [],
|
|
4021
4181
|
"permutations": [
|
|
4022
|
-
"hardis:
|
|
4023
|
-
"
|
|
4024
|
-
"
|
|
4025
|
-
"
|
|
4026
|
-
"
|
|
4027
|
-
"
|
|
4182
|
+
"hardis:doc:plugin:generate",
|
|
4183
|
+
"doc:hardis:plugin:generate",
|
|
4184
|
+
"doc:plugin:hardis:generate",
|
|
4185
|
+
"doc:plugin:generate:hardis",
|
|
4186
|
+
"hardis:plugin:doc:generate",
|
|
4187
|
+
"plugin:hardis:doc:generate",
|
|
4188
|
+
"plugin:doc:hardis:generate",
|
|
4189
|
+
"plugin:doc:generate:hardis",
|
|
4190
|
+
"hardis:plugin:generate:doc",
|
|
4191
|
+
"plugin:hardis:generate:doc",
|
|
4192
|
+
"plugin:generate:hardis:doc",
|
|
4193
|
+
"plugin:generate:doc:hardis",
|
|
4194
|
+
"hardis:doc:generate:plugin",
|
|
4195
|
+
"doc:hardis:generate:plugin",
|
|
4196
|
+
"doc:generate:hardis:plugin",
|
|
4197
|
+
"doc:generate:plugin:hardis",
|
|
4198
|
+
"hardis:generate:doc:plugin",
|
|
4199
|
+
"generate:hardis:doc:plugin",
|
|
4200
|
+
"generate:doc:hardis:plugin",
|
|
4201
|
+
"generate:doc:plugin:hardis",
|
|
4202
|
+
"hardis:generate:plugin:doc",
|
|
4203
|
+
"generate:hardis:plugin:doc",
|
|
4204
|
+
"generate:plugin:hardis:doc",
|
|
4205
|
+
"generate:plugin:doc:hardis"
|
|
4028
4206
|
]
|
|
4029
4207
|
},
|
|
4030
|
-
"hardis:
|
|
4208
|
+
"hardis:git:pull-requests:extract": {
|
|
4031
4209
|
"aliases": [],
|
|
4032
4210
|
"args": {},
|
|
4033
|
-
"description": "
|
|
4211
|
+
"description": "Extract pull requests with filtering criteria",
|
|
4034
4212
|
"examples": [
|
|
4035
|
-
"$ sf hardis:
|
|
4213
|
+
"$ sf hardis:git:pull-requests:extract",
|
|
4214
|
+
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4036
4215
|
],
|
|
4037
4216
|
"flags": {
|
|
4038
4217
|
"json": {
|
|
@@ -4050,6 +4229,43 @@
|
|
|
4050
4229
|
"multiple": false,
|
|
4051
4230
|
"type": "option"
|
|
4052
4231
|
},
|
|
4232
|
+
"target-branch": {
|
|
4233
|
+
"char": "t",
|
|
4234
|
+
"description": "Target branch of PRs",
|
|
4235
|
+
"name": "target-branch",
|
|
4236
|
+
"hasDynamicHelp": false,
|
|
4237
|
+
"multiple": false,
|
|
4238
|
+
"type": "option"
|
|
4239
|
+
},
|
|
4240
|
+
"status": {
|
|
4241
|
+
"char": "x",
|
|
4242
|
+
"description": "Status of the PR",
|
|
4243
|
+
"name": "status",
|
|
4244
|
+
"hasDynamicHelp": false,
|
|
4245
|
+
"multiple": false,
|
|
4246
|
+
"options": [
|
|
4247
|
+
"open",
|
|
4248
|
+
"merged",
|
|
4249
|
+
"abandoned"
|
|
4250
|
+
],
|
|
4251
|
+
"type": "option"
|
|
4252
|
+
},
|
|
4253
|
+
"min-date": {
|
|
4254
|
+
"char": "m",
|
|
4255
|
+
"description": "Minimum date for PR",
|
|
4256
|
+
"name": "min-date",
|
|
4257
|
+
"hasDynamicHelp": false,
|
|
4258
|
+
"multiple": false,
|
|
4259
|
+
"type": "option"
|
|
4260
|
+
},
|
|
4261
|
+
"outputfile": {
|
|
4262
|
+
"char": "f",
|
|
4263
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4264
|
+
"name": "outputfile",
|
|
4265
|
+
"hasDynamicHelp": false,
|
|
4266
|
+
"multiple": false,
|
|
4267
|
+
"type": "option"
|
|
4268
|
+
},
|
|
4053
4269
|
"debug": {
|
|
4054
4270
|
"char": "d",
|
|
4055
4271
|
"description": "Activate debug mode (more logs)",
|
|
@@ -4069,49 +4285,53 @@
|
|
|
4069
4285
|
"name": "skipauth",
|
|
4070
4286
|
"allowNo": false,
|
|
4071
4287
|
"type": "boolean"
|
|
4072
|
-
},
|
|
4073
|
-
"target-org": {
|
|
4074
|
-
"aliases": [
|
|
4075
|
-
"targetusername",
|
|
4076
|
-
"u"
|
|
4077
|
-
],
|
|
4078
|
-
"char": "o",
|
|
4079
|
-
"deprecateAliases": true,
|
|
4080
|
-
"name": "target-org",
|
|
4081
|
-
"noCacheDefault": true,
|
|
4082
|
-
"required": true,
|
|
4083
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
4084
|
-
"hasDynamicHelp": true,
|
|
4085
|
-
"multiple": false,
|
|
4086
|
-
"type": "option"
|
|
4087
4288
|
}
|
|
4088
4289
|
},
|
|
4089
|
-
"hasDynamicHelp":
|
|
4290
|
+
"hasDynamicHelp": false,
|
|
4090
4291
|
"hiddenAliases": [],
|
|
4091
|
-
"id": "hardis:
|
|
4292
|
+
"id": "hardis:git:pull-requests:extract",
|
|
4092
4293
|
"pluginAlias": "sfdx-hardis",
|
|
4093
4294
|
"pluginName": "sfdx-hardis",
|
|
4094
4295
|
"pluginType": "core",
|
|
4095
4296
|
"strict": true,
|
|
4096
4297
|
"enableJsonFlag": true,
|
|
4097
|
-
"title": "
|
|
4298
|
+
"title": "Extract pull requests",
|
|
4098
4299
|
"requiresProject": true,
|
|
4099
4300
|
"isESM": true,
|
|
4100
4301
|
"relativePath": [
|
|
4101
4302
|
"lib",
|
|
4102
4303
|
"commands",
|
|
4103
4304
|
"hardis",
|
|
4104
|
-
"
|
|
4105
|
-
"
|
|
4305
|
+
"git",
|
|
4306
|
+
"pull-requests",
|
|
4307
|
+
"extract.js"
|
|
4106
4308
|
],
|
|
4107
4309
|
"aliasPermutations": [],
|
|
4108
4310
|
"permutations": [
|
|
4109
|
-
"hardis:
|
|
4110
|
-
"
|
|
4111
|
-
"
|
|
4112
|
-
"
|
|
4113
|
-
"
|
|
4114
|
-
"
|
|
4311
|
+
"hardis:git:pull-requests:extract",
|
|
4312
|
+
"git:hardis:pull-requests:extract",
|
|
4313
|
+
"git:pull-requests:hardis:extract",
|
|
4314
|
+
"git:pull-requests:extract:hardis",
|
|
4315
|
+
"hardis:pull-requests:git:extract",
|
|
4316
|
+
"pull-requests:hardis:git:extract",
|
|
4317
|
+
"pull-requests:git:hardis:extract",
|
|
4318
|
+
"pull-requests:git:extract:hardis",
|
|
4319
|
+
"hardis:pull-requests:extract:git",
|
|
4320
|
+
"pull-requests:hardis:extract:git",
|
|
4321
|
+
"pull-requests:extract:hardis:git",
|
|
4322
|
+
"pull-requests:extract:git:hardis",
|
|
4323
|
+
"hardis:git:extract:pull-requests",
|
|
4324
|
+
"git:hardis:extract:pull-requests",
|
|
4325
|
+
"git:extract:hardis:pull-requests",
|
|
4326
|
+
"git:extract:pull-requests:hardis",
|
|
4327
|
+
"hardis:extract:git:pull-requests",
|
|
4328
|
+
"extract:hardis:git:pull-requests",
|
|
4329
|
+
"extract:git:hardis:pull-requests",
|
|
4330
|
+
"extract:git:pull-requests:hardis",
|
|
4331
|
+
"hardis:extract:pull-requests:git",
|
|
4332
|
+
"extract:hardis:pull-requests:git",
|
|
4333
|
+
"extract:pull-requests:hardis:git",
|
|
4334
|
+
"extract:pull-requests:git:hardis"
|
|
4115
4335
|
]
|
|
4116
4336
|
},
|
|
4117
4337
|
"hardis:doc:extract:permsetgroups": {
|
|
@@ -4213,97 +4433,6 @@
|
|
|
4213
4433
|
"permsetgroups:extract:doc:hardis"
|
|
4214
4434
|
]
|
|
4215
4435
|
},
|
|
4216
|
-
"hardis:doc:plugin:generate": {
|
|
4217
|
-
"aliases": [],
|
|
4218
|
-
"args": {},
|
|
4219
|
-
"description": "Generate Markdown documentation ready for HTML conversion with mkdocs\n\nAfter the first run, you need to update manually:\n\n- mkdocs.yml\n- .github/workflows/build-deploy-docs.yml\n- docs/javascripts/gtag.js , if you want Google Analytics tracking\n\nThen, activate Github pages, with \"gh_pages\" as target branch\n\nAt each merge into master/main branch, the GitHub Action build-deploy-docs will rebuild documentation and publish it in GitHub pages\n",
|
|
4220
|
-
"examples": [
|
|
4221
|
-
"$ sf hardis:doc:plugin:generate"
|
|
4222
|
-
],
|
|
4223
|
-
"flags": {
|
|
4224
|
-
"json": {
|
|
4225
|
-
"description": "Format output as json.",
|
|
4226
|
-
"helpGroup": "GLOBAL",
|
|
4227
|
-
"name": "json",
|
|
4228
|
-
"allowNo": false,
|
|
4229
|
-
"type": "boolean"
|
|
4230
|
-
},
|
|
4231
|
-
"flags-dir": {
|
|
4232
|
-
"helpGroup": "GLOBAL",
|
|
4233
|
-
"name": "flags-dir",
|
|
4234
|
-
"summary": "Import flag values from a directory.",
|
|
4235
|
-
"hasDynamicHelp": false,
|
|
4236
|
-
"multiple": false,
|
|
4237
|
-
"type": "option"
|
|
4238
|
-
},
|
|
4239
|
-
"debug": {
|
|
4240
|
-
"char": "d",
|
|
4241
|
-
"description": "Activate debug mode (more logs)",
|
|
4242
|
-
"name": "debug",
|
|
4243
|
-
"allowNo": false,
|
|
4244
|
-
"type": "boolean"
|
|
4245
|
-
},
|
|
4246
|
-
"websocket": {
|
|
4247
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4248
|
-
"name": "websocket",
|
|
4249
|
-
"hasDynamicHelp": false,
|
|
4250
|
-
"multiple": false,
|
|
4251
|
-
"type": "option"
|
|
4252
|
-
},
|
|
4253
|
-
"skipauth": {
|
|
4254
|
-
"description": "Skip authentication check when a default username is required",
|
|
4255
|
-
"name": "skipauth",
|
|
4256
|
-
"allowNo": false,
|
|
4257
|
-
"type": "boolean"
|
|
4258
|
-
}
|
|
4259
|
-
},
|
|
4260
|
-
"hasDynamicHelp": false,
|
|
4261
|
-
"hiddenAliases": [],
|
|
4262
|
-
"id": "hardis:doc:plugin:generate",
|
|
4263
|
-
"pluginAlias": "sfdx-hardis",
|
|
4264
|
-
"pluginName": "sfdx-hardis",
|
|
4265
|
-
"pluginType": "core",
|
|
4266
|
-
"strict": true,
|
|
4267
|
-
"enableJsonFlag": true,
|
|
4268
|
-
"title": "Generate SF Cli Plugin Documentation",
|
|
4269
|
-
"requiresProject": false,
|
|
4270
|
-
"isESM": true,
|
|
4271
|
-
"relativePath": [
|
|
4272
|
-
"lib",
|
|
4273
|
-
"commands",
|
|
4274
|
-
"hardis",
|
|
4275
|
-
"doc",
|
|
4276
|
-
"plugin",
|
|
4277
|
-
"generate.js"
|
|
4278
|
-
],
|
|
4279
|
-
"aliasPermutations": [],
|
|
4280
|
-
"permutations": [
|
|
4281
|
-
"hardis:doc:plugin:generate",
|
|
4282
|
-
"doc:hardis:plugin:generate",
|
|
4283
|
-
"doc:plugin:hardis:generate",
|
|
4284
|
-
"doc:plugin:generate:hardis",
|
|
4285
|
-
"hardis:plugin:doc:generate",
|
|
4286
|
-
"plugin:hardis:doc:generate",
|
|
4287
|
-
"plugin:doc:hardis:generate",
|
|
4288
|
-
"plugin:doc:generate:hardis",
|
|
4289
|
-
"hardis:plugin:generate:doc",
|
|
4290
|
-
"plugin:hardis:generate:doc",
|
|
4291
|
-
"plugin:generate:hardis:doc",
|
|
4292
|
-
"plugin:generate:doc:hardis",
|
|
4293
|
-
"hardis:doc:generate:plugin",
|
|
4294
|
-
"doc:hardis:generate:plugin",
|
|
4295
|
-
"doc:generate:hardis:plugin",
|
|
4296
|
-
"doc:generate:plugin:hardis",
|
|
4297
|
-
"hardis:generate:doc:plugin",
|
|
4298
|
-
"generate:hardis:doc:plugin",
|
|
4299
|
-
"generate:doc:hardis:plugin",
|
|
4300
|
-
"generate:doc:plugin:hardis",
|
|
4301
|
-
"hardis:generate:plugin:doc",
|
|
4302
|
-
"generate:hardis:plugin:doc",
|
|
4303
|
-
"generate:plugin:hardis:doc",
|
|
4304
|
-
"generate:plugin:doc:hardis"
|
|
4305
|
-
]
|
|
4306
|
-
},
|
|
4307
4436
|
"hardis:org:community:update": {
|
|
4308
4437
|
"aliases": [],
|
|
4309
4438
|
"args": {},
|
|
@@ -4716,135 +4845,6 @@
|
|
|
4716
4845
|
"monitoring:configure:org:hardis"
|
|
4717
4846
|
]
|
|
4718
4847
|
},
|
|
4719
|
-
"hardis:git:pull-requests:extract": {
|
|
4720
|
-
"aliases": [],
|
|
4721
|
-
"args": {},
|
|
4722
|
-
"description": "Extract pull requests with filtering criteria",
|
|
4723
|
-
"examples": [
|
|
4724
|
-
"$ sf hardis:git:pull-requests:extract",
|
|
4725
|
-
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4726
|
-
],
|
|
4727
|
-
"flags": {
|
|
4728
|
-
"json": {
|
|
4729
|
-
"description": "Format output as json.",
|
|
4730
|
-
"helpGroup": "GLOBAL",
|
|
4731
|
-
"name": "json",
|
|
4732
|
-
"allowNo": false,
|
|
4733
|
-
"type": "boolean"
|
|
4734
|
-
},
|
|
4735
|
-
"flags-dir": {
|
|
4736
|
-
"helpGroup": "GLOBAL",
|
|
4737
|
-
"name": "flags-dir",
|
|
4738
|
-
"summary": "Import flag values from a directory.",
|
|
4739
|
-
"hasDynamicHelp": false,
|
|
4740
|
-
"multiple": false,
|
|
4741
|
-
"type": "option"
|
|
4742
|
-
},
|
|
4743
|
-
"target-branch": {
|
|
4744
|
-
"char": "t",
|
|
4745
|
-
"description": "Target branch of PRs",
|
|
4746
|
-
"name": "target-branch",
|
|
4747
|
-
"hasDynamicHelp": false,
|
|
4748
|
-
"multiple": false,
|
|
4749
|
-
"type": "option"
|
|
4750
|
-
},
|
|
4751
|
-
"status": {
|
|
4752
|
-
"char": "x",
|
|
4753
|
-
"description": "Status of the PR",
|
|
4754
|
-
"name": "status",
|
|
4755
|
-
"hasDynamicHelp": false,
|
|
4756
|
-
"multiple": false,
|
|
4757
|
-
"options": [
|
|
4758
|
-
"open",
|
|
4759
|
-
"merged",
|
|
4760
|
-
"abandoned"
|
|
4761
|
-
],
|
|
4762
|
-
"type": "option"
|
|
4763
|
-
},
|
|
4764
|
-
"min-date": {
|
|
4765
|
-
"char": "m",
|
|
4766
|
-
"description": "Minimum date for PR",
|
|
4767
|
-
"name": "min-date",
|
|
4768
|
-
"hasDynamicHelp": false,
|
|
4769
|
-
"multiple": false,
|
|
4770
|
-
"type": "option"
|
|
4771
|
-
},
|
|
4772
|
-
"outputfile": {
|
|
4773
|
-
"char": "f",
|
|
4774
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4775
|
-
"name": "outputfile",
|
|
4776
|
-
"hasDynamicHelp": false,
|
|
4777
|
-
"multiple": false,
|
|
4778
|
-
"type": "option"
|
|
4779
|
-
},
|
|
4780
|
-
"debug": {
|
|
4781
|
-
"char": "d",
|
|
4782
|
-
"description": "Activate debug mode (more logs)",
|
|
4783
|
-
"name": "debug",
|
|
4784
|
-
"allowNo": false,
|
|
4785
|
-
"type": "boolean"
|
|
4786
|
-
},
|
|
4787
|
-
"websocket": {
|
|
4788
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4789
|
-
"name": "websocket",
|
|
4790
|
-
"hasDynamicHelp": false,
|
|
4791
|
-
"multiple": false,
|
|
4792
|
-
"type": "option"
|
|
4793
|
-
},
|
|
4794
|
-
"skipauth": {
|
|
4795
|
-
"description": "Skip authentication check when a default username is required",
|
|
4796
|
-
"name": "skipauth",
|
|
4797
|
-
"allowNo": false,
|
|
4798
|
-
"type": "boolean"
|
|
4799
|
-
}
|
|
4800
|
-
},
|
|
4801
|
-
"hasDynamicHelp": false,
|
|
4802
|
-
"hiddenAliases": [],
|
|
4803
|
-
"id": "hardis:git:pull-requests:extract",
|
|
4804
|
-
"pluginAlias": "sfdx-hardis",
|
|
4805
|
-
"pluginName": "sfdx-hardis",
|
|
4806
|
-
"pluginType": "core",
|
|
4807
|
-
"strict": true,
|
|
4808
|
-
"enableJsonFlag": true,
|
|
4809
|
-
"title": "Extract pull requests",
|
|
4810
|
-
"requiresProject": true,
|
|
4811
|
-
"isESM": true,
|
|
4812
|
-
"relativePath": [
|
|
4813
|
-
"lib",
|
|
4814
|
-
"commands",
|
|
4815
|
-
"hardis",
|
|
4816
|
-
"git",
|
|
4817
|
-
"pull-requests",
|
|
4818
|
-
"extract.js"
|
|
4819
|
-
],
|
|
4820
|
-
"aliasPermutations": [],
|
|
4821
|
-
"permutations": [
|
|
4822
|
-
"hardis:git:pull-requests:extract",
|
|
4823
|
-
"git:hardis:pull-requests:extract",
|
|
4824
|
-
"git:pull-requests:hardis:extract",
|
|
4825
|
-
"git:pull-requests:extract:hardis",
|
|
4826
|
-
"hardis:pull-requests:git:extract",
|
|
4827
|
-
"pull-requests:hardis:git:extract",
|
|
4828
|
-
"pull-requests:git:hardis:extract",
|
|
4829
|
-
"pull-requests:git:extract:hardis",
|
|
4830
|
-
"hardis:pull-requests:extract:git",
|
|
4831
|
-
"pull-requests:hardis:extract:git",
|
|
4832
|
-
"pull-requests:extract:hardis:git",
|
|
4833
|
-
"pull-requests:extract:git:hardis",
|
|
4834
|
-
"hardis:git:extract:pull-requests",
|
|
4835
|
-
"git:hardis:extract:pull-requests",
|
|
4836
|
-
"git:extract:hardis:pull-requests",
|
|
4837
|
-
"git:extract:pull-requests:hardis",
|
|
4838
|
-
"hardis:extract:git:pull-requests",
|
|
4839
|
-
"extract:hardis:git:pull-requests",
|
|
4840
|
-
"extract:git:hardis:pull-requests",
|
|
4841
|
-
"extract:git:pull-requests:hardis",
|
|
4842
|
-
"hardis:extract:pull-requests:git",
|
|
4843
|
-
"extract:hardis:pull-requests:git",
|
|
4844
|
-
"extract:pull-requests:hardis:git",
|
|
4845
|
-
"extract:pull-requests:git:hardis"
|
|
4846
|
-
]
|
|
4847
|
-
},
|
|
4848
4848
|
"hardis:org:data:delete": {
|
|
4849
4849
|
"aliases": [],
|
|
4850
4850
|
"args": {},
|
|
@@ -7039,7 +7039,7 @@
|
|
|
7039
7039
|
"hardis:org:monitor:backup": {
|
|
7040
7040
|
"aliases": [],
|
|
7041
7041
|
"args": {},
|
|
7042
|
-
"description": "Retrieve sfdx sources in the context of a monitoring backup\n\nThe command exists in 2 modes: filtered(default & recommended) and full.\n\n## Filtered mode (default, better performances)\n\nAutomatically skips metadatas from installed packages with namespace. \n\nYou can remove more metadata types from backup, especially in case you have too many metadatas and that provokes a crash, using:\n\n- Manual update of `manifest/package-skip-items.xml` config file (then commit & push in the same branch)\n\n - Works with full wildcard (`<members>*</members>`) , named metadata (`<members>Account.Name</members>`) or partial wildcards names (`<members>pi__*</members>` , `<members>*__dlm</members>` , or `<members>prefix*suffix</members>`)\n\n- Environment variable MONITORING_BACKUP_SKIP_METADATA_TYPES (example: `MONITORING_BACKUP_SKIP_METADATA_TYPES=CustomLabel,StaticResource,Translation`): that will be applied to all monitoring branches.\n\n## Full mode\n\nActivate it with **--full** parameter, or variable MONITORING_BACKUP_MODE_FULL=true\n\nIgnores filters (namespaces items & manifest/package-skip-items.xml) to retrieve ALL metadatas, including those you might not care about (reports, translations...)\n\nAs we can retrieve only 10000 files by call, the list of all metadatas will be chunked to make multiple calls (and take more time than filtered mode)\n\n- if you use `--full-apply-filters` , manifest/package-skip-items.xml and MONITORING_BACKUP_SKIP_METADATA_TYPES filters will be applied anyway\n- if you use `--exclude-namespaces` , namespaced items will be ignored\n\n_With those both options, it's like if you are not using --full, but with chunked metadata download_\n\n## In CI/CD\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-metadata-backup/) and can output Grafana, Slack and MsTeams Notifications.\n\n## Documentation\n\n[Doc generation (including visual flows)](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) is triggered at the end of the command.\n\nIf you want to also upload HTML Documentation on your Salesforce Org as static resource, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_ORG=\"true\"**\n\nIf you want to also upload HTML Documentation on Cloudflare, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_CLOUDFLARE=\"true\"**\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",
|
|
7042
|
+
"description": "Retrieve sfdx sources in the context of a monitoring backup\n\nThe command exists in 2 modes: filtered(default & recommended) and full.\n\n## Filtered mode (default, better performances)\n\nAutomatically skips metadatas from installed packages with namespace. \n\nYou can remove more metadata types from backup, especially in case you have too many metadatas and that provokes a crash, using:\n\n- Manual update of `manifest/package-skip-items.xml` config file (then commit & push in the same branch)\n\n - Works with full wildcard (`<members>*</members>`) , named metadata (`<members>Account.Name</members>`) or partial wildcards names (`<members>pi__*</members>` , `<members>*__dlm</members>` , or `<members>prefix*suffix</members>`)\n\n- Environment variable MONITORING_BACKUP_SKIP_METADATA_TYPES (example: `MONITORING_BACKUP_SKIP_METADATA_TYPES=CustomLabel,StaticResource,Translation`): that will be applied to all monitoring branches.\n\n## Full mode\n\nActivate it with **--full** parameter, or variable MONITORING_BACKUP_MODE_FULL=true\n\nIgnores filters (namespaces items & manifest/package-skip-items.xml) to retrieve ALL metadatas, including those you might not care about (reports, translations...)\n\nAs we can retrieve only 10000 files by call, the list of all metadatas will be chunked to make multiple calls (and take more time than filtered mode)\n\n- if you use `--full-apply-filters` , manifest/package-skip-items.xml and MONITORING_BACKUP_SKIP_METADATA_TYPES filters will be applied anyway\n- if you use `--exclude-namespaces` , namespaced items will be ignored\n\n_With those both options, it's like if you are not using --full, but with chunked metadata download_\n\n## In CI/CD\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-metadata-backup/) and can output Grafana, Slack and MsTeams Notifications.\n\n## Troubleshooting\n\nIf you have unknown errors (it happens !), you can investigate using the full command with smaller chunks.\n\nExample: `sf hardis:org:monitor:backup --full --exclude-namespaces --full-apply-filters --max-by-chunk 500`\n\nIt will allow you the identify the responsible metadata and ignore it using package-skip-items.xml or MONITORING_BACKUP_SKIP_METADATA_TYPES env variable.\n\n## Documentation\n\n[Doc generation (including visual flows)](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) is triggered at the end of the command.\n\nIf you want to also upload HTML Documentation on your Salesforce Org as static resource, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_ORG=\"true\"**\n\nIf you want to also upload HTML Documentation on Cloudflare, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_CLOUDFLARE=\"true\"**\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",
|
|
7043
7043
|
"examples": [
|
|
7044
7044
|
"$ sf hardis:org:monitor:backup",
|
|
7045
7045
|
"$ sf hardis:org:monitor:backup --full",
|
|
@@ -7091,6 +7091,14 @@
|
|
|
7091
7091
|
"allowNo": false,
|
|
7092
7092
|
"type": "boolean"
|
|
7093
7093
|
},
|
|
7094
|
+
"start-chunk": {
|
|
7095
|
+
"description": "Use this parameter to troubleshoot a specific chunk. It will be used as the first chunk to retrieve",
|
|
7096
|
+
"name": "start-chunk",
|
|
7097
|
+
"default": 1,
|
|
7098
|
+
"hasDynamicHelp": false,
|
|
7099
|
+
"multiple": false,
|
|
7100
|
+
"type": "option"
|
|
7101
|
+
},
|
|
7094
7102
|
"skip-doc": {
|
|
7095
7103
|
"description": "Skip the generation of project documentation at the end of the command",
|
|
7096
7104
|
"name": "skip-doc",
|
|
@@ -14517,5 +14525,5 @@
|
|
|
14517
14525
|
]
|
|
14518
14526
|
}
|
|
14519
14527
|
},
|
|
14520
|
-
"version": "5.
|
|
14528
|
+
"version": "5.27.0"
|
|
14521
14529
|
}
|