sfdx-hardis 6.7.2-beta202510122234.0 → 6.7.2
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 +2 -0
- package/lib/common/utils/index.js +11 -11
- package/lib/common/utils/index.js.map +1 -1
- package/oclif.manifest.json +667 -667
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -132,12 +132,13 @@
|
|
|
132
132
|
"clear:cache:hardis"
|
|
133
133
|
]
|
|
134
134
|
},
|
|
135
|
-
"hardis:
|
|
135
|
+
"hardis:auth:login": {
|
|
136
136
|
"aliases": [],
|
|
137
137
|
"args": {},
|
|
138
|
-
"description": "\n## Command Behavior\n\n**
|
|
138
|
+
"description": "\n## Command Behavior\n\n**Authenticates to a Salesforce org, primarily designed for CI/CD workflows.**\n\nThis command facilitates secure and automated logins to Salesforce organizations within continuous integration and continuous delivery pipelines. It leverages pre-configured authentication details, ensuring that CI/CD processes can interact with Salesforce without manual intervention.\n\nKey aspects:\n\n- **Configuration-Driven:** It relies on authentication variables and files set up by dedicated configuration commands:\n - For CI/CD repositories: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n - For Monitoring repositories: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n- **Technical Org Support:** Supports authentication to a 'technical org' (e.g., for calling Agentforce from another org) by utilizing the `SFDX_AUTH_URL_TECHNICAL_ORG` environment variable. If this variable is set, the command authenticates to this org with the alias `TECHNICAL_ORG`.\n\nTo obtain the `SFDX_AUTH_URL_TECHNICAL_ORG` value, you can run `sf org display --verbose --json` and copy the `sfdxAuthUrl` field from the output.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical flow involves:\n\n- **Flag Parsing:** It parses command-line flags such as `instanceurl`, `devhub`, `scratchorg`, and `debug` to determine the authentication context.\n- **Authentication Hook:** It triggers an internal authentication hook (`this.config.runHook('auth', ...`)) which is responsible for executing the actual authentication logic based on the provided flags (e.g., whether it's a Dev Hub or a scratch org).\n- **Environment Variable Check:** It checks for the presence of `SFDX_AUTH_URL_TECHNICAL_ORG` or `TECHNICAL_ORG_ALIAS` environment variables.\n- **`authOrg` Utility:** If a technical org is configured, it calls the `authOrg` utility function to perform the authentication for that specific org, ensuring it's connected and available for subsequent operations.\n- **Salesforce CLI Integration:** It integrates with the Salesforce CLI's authentication mechanisms to establish and manage org connections.\n</details>\n",
|
|
139
139
|
"examples": [
|
|
140
|
-
"$ sf hardis:
|
|
140
|
+
"$ sf hardis:auth:login",
|
|
141
|
+
"CI=true sf hardis:auth:login"
|
|
141
142
|
],
|
|
142
143
|
"flags": {
|
|
143
144
|
"json": {
|
|
@@ -155,20 +156,28 @@
|
|
|
155
156
|
"multiple": false,
|
|
156
157
|
"type": "option"
|
|
157
158
|
},
|
|
158
|
-
"
|
|
159
|
-
"char": "
|
|
160
|
-
"description": "
|
|
161
|
-
"name": "
|
|
162
|
-
"default": "project",
|
|
159
|
+
"instanceurl": {
|
|
160
|
+
"char": "r",
|
|
161
|
+
"description": "URL of org instance",
|
|
162
|
+
"name": "instanceurl",
|
|
163
163
|
"hasDynamicHelp": false,
|
|
164
164
|
"multiple": false,
|
|
165
|
-
"options": [
|
|
166
|
-
"project",
|
|
167
|
-
"branch",
|
|
168
|
-
"user"
|
|
169
|
-
],
|
|
170
165
|
"type": "option"
|
|
171
166
|
},
|
|
167
|
+
"devhub": {
|
|
168
|
+
"char": "h",
|
|
169
|
+
"description": "Also connect associated DevHub",
|
|
170
|
+
"name": "devhub",
|
|
171
|
+
"allowNo": false,
|
|
172
|
+
"type": "boolean"
|
|
173
|
+
},
|
|
174
|
+
"scratchorg": {
|
|
175
|
+
"char": "s",
|
|
176
|
+
"description": "Scratch org",
|
|
177
|
+
"name": "scratchorg",
|
|
178
|
+
"allowNo": false,
|
|
179
|
+
"type": "boolean"
|
|
180
|
+
},
|
|
172
181
|
"debug": {
|
|
173
182
|
"char": "d",
|
|
174
183
|
"description": "Activate debug mode (more logs)",
|
|
@@ -192,39 +201,38 @@
|
|
|
192
201
|
},
|
|
193
202
|
"hasDynamicHelp": false,
|
|
194
203
|
"hiddenAliases": [],
|
|
195
|
-
"id": "hardis:
|
|
204
|
+
"id": "hardis:auth:login",
|
|
196
205
|
"pluginAlias": "sfdx-hardis",
|
|
197
206
|
"pluginName": "sfdx-hardis",
|
|
198
207
|
"pluginType": "core",
|
|
199
208
|
"strict": true,
|
|
200
209
|
"enableJsonFlag": true,
|
|
201
|
-
"title": "
|
|
210
|
+
"title": "Login",
|
|
202
211
|
"requiresProject": false,
|
|
203
212
|
"isESM": true,
|
|
204
213
|
"relativePath": [
|
|
205
214
|
"lib",
|
|
206
215
|
"commands",
|
|
207
216
|
"hardis",
|
|
208
|
-
"
|
|
209
|
-
"
|
|
217
|
+
"auth",
|
|
218
|
+
"login.js"
|
|
210
219
|
],
|
|
211
220
|
"aliasPermutations": [],
|
|
212
221
|
"permutations": [
|
|
213
|
-
"hardis:
|
|
214
|
-
"
|
|
215
|
-
"
|
|
216
|
-
"hardis:
|
|
217
|
-
"
|
|
218
|
-
"
|
|
222
|
+
"hardis:auth:login",
|
|
223
|
+
"auth:hardis:login",
|
|
224
|
+
"auth:login:hardis",
|
|
225
|
+
"hardis:login:auth",
|
|
226
|
+
"login:hardis:auth",
|
|
227
|
+
"login:auth:hardis"
|
|
219
228
|
]
|
|
220
229
|
},
|
|
221
|
-
"hardis:
|
|
230
|
+
"hardis:config:get": {
|
|
222
231
|
"aliases": [],
|
|
223
232
|
"args": {},
|
|
224
|
-
"description": "\n## Command Behavior\n\n**
|
|
233
|
+
"description": "\n## Command Behavior\n\n**Retrieves and displays the sfdx-hardis configuration for a specified level.**\n\nThis command allows you to inspect the configuration that is currently in effect for your project, which is useful for debugging and understanding how sfdx-hardis will behave.\n\n- **Configuration levels:** It can retrieve configuration from three different levels:\n - **Project:** The configuration defined in the project's `.sfdx-hardis.yml` file.\n - **Branch:** The configuration defined in a branch-specific configuration file (e.g., `.sfdx-hardis.production.yml`).\n - **User:** The global user-level configuration.\n\n## Technical explanations\n\nThe command's logic is straightforward:\n\n- **`getConfig` function:** It calls the `getConfig` utility function, passing the desired configuration level as an argument.\n- **Configuration loading:** The `getConfig` function is responsible for finding the appropriate configuration file, reading its contents, and parsing it as YAML or JSON.\n- **Output:** The retrieved configuration is then displayed to the user as a JSON string.\n",
|
|
225
234
|
"examples": [
|
|
226
|
-
"$ sf hardis:
|
|
227
|
-
"CI=true sf hardis:auth:login"
|
|
235
|
+
"$ sf hardis:project:deploy:sources:metadata"
|
|
228
236
|
],
|
|
229
237
|
"flags": {
|
|
230
238
|
"json": {
|
|
@@ -242,28 +250,20 @@
|
|
|
242
250
|
"multiple": false,
|
|
243
251
|
"type": "option"
|
|
244
252
|
},
|
|
245
|
-
"
|
|
246
|
-
"char": "
|
|
247
|
-
"description": "
|
|
248
|
-
"name": "
|
|
253
|
+
"level": {
|
|
254
|
+
"char": "l",
|
|
255
|
+
"description": "project,branch or user",
|
|
256
|
+
"name": "level",
|
|
257
|
+
"default": "project",
|
|
249
258
|
"hasDynamicHelp": false,
|
|
250
259
|
"multiple": false,
|
|
260
|
+
"options": [
|
|
261
|
+
"project",
|
|
262
|
+
"branch",
|
|
263
|
+
"user"
|
|
264
|
+
],
|
|
251
265
|
"type": "option"
|
|
252
266
|
},
|
|
253
|
-
"devhub": {
|
|
254
|
-
"char": "h",
|
|
255
|
-
"description": "Also connect associated DevHub",
|
|
256
|
-
"name": "devhub",
|
|
257
|
-
"allowNo": false,
|
|
258
|
-
"type": "boolean"
|
|
259
|
-
},
|
|
260
|
-
"scratchorg": {
|
|
261
|
-
"char": "s",
|
|
262
|
-
"description": "Scratch org",
|
|
263
|
-
"name": "scratchorg",
|
|
264
|
-
"allowNo": false,
|
|
265
|
-
"type": "boolean"
|
|
266
|
-
},
|
|
267
267
|
"debug": {
|
|
268
268
|
"char": "d",
|
|
269
269
|
"description": "Activate debug mode (more logs)",
|
|
@@ -287,30 +287,30 @@
|
|
|
287
287
|
},
|
|
288
288
|
"hasDynamicHelp": false,
|
|
289
289
|
"hiddenAliases": [],
|
|
290
|
-
"id": "hardis:
|
|
290
|
+
"id": "hardis:config:get",
|
|
291
291
|
"pluginAlias": "sfdx-hardis",
|
|
292
292
|
"pluginName": "sfdx-hardis",
|
|
293
293
|
"pluginType": "core",
|
|
294
294
|
"strict": true,
|
|
295
295
|
"enableJsonFlag": true,
|
|
296
|
-
"title": "
|
|
296
|
+
"title": "Deploy metadata sources to org",
|
|
297
297
|
"requiresProject": false,
|
|
298
298
|
"isESM": true,
|
|
299
299
|
"relativePath": [
|
|
300
300
|
"lib",
|
|
301
301
|
"commands",
|
|
302
302
|
"hardis",
|
|
303
|
-
"
|
|
304
|
-
"
|
|
303
|
+
"config",
|
|
304
|
+
"get.js"
|
|
305
305
|
],
|
|
306
306
|
"aliasPermutations": [],
|
|
307
307
|
"permutations": [
|
|
308
|
-
"hardis:
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
"hardis:
|
|
312
|
-
"
|
|
313
|
-
"
|
|
308
|
+
"hardis:config:get",
|
|
309
|
+
"config:hardis:get",
|
|
310
|
+
"config:get:hardis",
|
|
311
|
+
"hardis:get:config",
|
|
312
|
+
"get:hardis:config",
|
|
313
|
+
"get:config:hardis"
|
|
314
314
|
]
|
|
315
315
|
},
|
|
316
316
|
"hardis:doc:fieldusage": {
|
|
@@ -4421,135 +4421,6 @@
|
|
|
4421
4421
|
"ws:work:hardis"
|
|
4422
4422
|
]
|
|
4423
4423
|
},
|
|
4424
|
-
"hardis:git:pull-requests:extract": {
|
|
4425
|
-
"aliases": [],
|
|
4426
|
-
"args": {},
|
|
4427
|
-
"description": "\n## Command Behavior\n\n**Extracts pull request information from your Git server based on specified filtering criteria.**\n\nThis command provides a powerful way to query and retrieve details about pull requests (or merge requests, depending on your Git provider) in your repository. It's highly useful for reporting, auditing, and analyzing development workflows.\n\nKey functionalities include:\n\n- **Target Branch Filtering:** You can filter pull requests by their target branch using the `--target-branch` flag. If not specified, the command will prompt you to select one.\n- **Status Filtering:** Filter pull requests by their status: `open`, `merged`, or `abandoned` using the `--status` flag. An interactive prompt is provided if no status is specified.\n- **Minimum Date Filtering:** Use the `--min-date` flag to retrieve pull requests created or updated after a specific date.\n- **CSV Output:** The extracted pull request data is generated into a CSV file, which can be used for further analysis in spreadsheet software.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves interacting with a Git provider's API:\n\n- **Git Provider Abstraction:** It uses the `GitProvider.getInstance(true)` to abstract away the specifics of different Git platforms (e.g., GitHub, GitLab, Azure DevOps). This ensures the command can work across various environments.\n- **API Calls:** The `gitProvider.listPullRequests()` method is called with a `prConstraint` object that encapsulates the filtering criteria (target branch, minimum date, status).\n- **Interactive Prompts:** The `prompts` library is used to interactively gather input from the user for the target branch and pull request status if they are not provided as command-line flags.\n- **Date Handling:** The `moment` library is used to parse and handle date inputs for the `--min-date` flag.\n- **CSV Generation:** The `generateCsvFile` utility is responsible for converting the retrieved pull request data into a CSV format, and `generateReportPath` determines the output file location.\n- **Error Handling:** It includes error handling for cases where a Git provider cannot be identified.\n</details>\n",
|
|
4428
|
-
"examples": [
|
|
4429
|
-
"$ sf hardis:git:pull-requests:extract",
|
|
4430
|
-
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4431
|
-
],
|
|
4432
|
-
"flags": {
|
|
4433
|
-
"json": {
|
|
4434
|
-
"description": "Format output as json.",
|
|
4435
|
-
"helpGroup": "GLOBAL",
|
|
4436
|
-
"name": "json",
|
|
4437
|
-
"allowNo": false,
|
|
4438
|
-
"type": "boolean"
|
|
4439
|
-
},
|
|
4440
|
-
"flags-dir": {
|
|
4441
|
-
"helpGroup": "GLOBAL",
|
|
4442
|
-
"name": "flags-dir",
|
|
4443
|
-
"summary": "Import flag values from a directory.",
|
|
4444
|
-
"hasDynamicHelp": false,
|
|
4445
|
-
"multiple": false,
|
|
4446
|
-
"type": "option"
|
|
4447
|
-
},
|
|
4448
|
-
"target-branch": {
|
|
4449
|
-
"char": "t",
|
|
4450
|
-
"description": "Target branch of PRs",
|
|
4451
|
-
"name": "target-branch",
|
|
4452
|
-
"hasDynamicHelp": false,
|
|
4453
|
-
"multiple": false,
|
|
4454
|
-
"type": "option"
|
|
4455
|
-
},
|
|
4456
|
-
"status": {
|
|
4457
|
-
"char": "x",
|
|
4458
|
-
"description": "Status of the PR",
|
|
4459
|
-
"name": "status",
|
|
4460
|
-
"hasDynamicHelp": false,
|
|
4461
|
-
"multiple": false,
|
|
4462
|
-
"options": [
|
|
4463
|
-
"open",
|
|
4464
|
-
"merged",
|
|
4465
|
-
"abandoned"
|
|
4466
|
-
],
|
|
4467
|
-
"type": "option"
|
|
4468
|
-
},
|
|
4469
|
-
"min-date": {
|
|
4470
|
-
"char": "m",
|
|
4471
|
-
"description": "Minimum date for PR",
|
|
4472
|
-
"name": "min-date",
|
|
4473
|
-
"hasDynamicHelp": false,
|
|
4474
|
-
"multiple": false,
|
|
4475
|
-
"type": "option"
|
|
4476
|
-
},
|
|
4477
|
-
"outputfile": {
|
|
4478
|
-
"char": "f",
|
|
4479
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4480
|
-
"name": "outputfile",
|
|
4481
|
-
"hasDynamicHelp": false,
|
|
4482
|
-
"multiple": false,
|
|
4483
|
-
"type": "option"
|
|
4484
|
-
},
|
|
4485
|
-
"debug": {
|
|
4486
|
-
"char": "d",
|
|
4487
|
-
"description": "Activate debug mode (more logs)",
|
|
4488
|
-
"name": "debug",
|
|
4489
|
-
"allowNo": false,
|
|
4490
|
-
"type": "boolean"
|
|
4491
|
-
},
|
|
4492
|
-
"websocket": {
|
|
4493
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4494
|
-
"name": "websocket",
|
|
4495
|
-
"hasDynamicHelp": false,
|
|
4496
|
-
"multiple": false,
|
|
4497
|
-
"type": "option"
|
|
4498
|
-
},
|
|
4499
|
-
"skipauth": {
|
|
4500
|
-
"description": "Skip authentication check when a default username is required",
|
|
4501
|
-
"name": "skipauth",
|
|
4502
|
-
"allowNo": false,
|
|
4503
|
-
"type": "boolean"
|
|
4504
|
-
}
|
|
4505
|
-
},
|
|
4506
|
-
"hasDynamicHelp": false,
|
|
4507
|
-
"hiddenAliases": [],
|
|
4508
|
-
"id": "hardis:git:pull-requests:extract",
|
|
4509
|
-
"pluginAlias": "sfdx-hardis",
|
|
4510
|
-
"pluginName": "sfdx-hardis",
|
|
4511
|
-
"pluginType": "core",
|
|
4512
|
-
"strict": true,
|
|
4513
|
-
"enableJsonFlag": true,
|
|
4514
|
-
"title": "Extract pull requests",
|
|
4515
|
-
"requiresProject": true,
|
|
4516
|
-
"isESM": true,
|
|
4517
|
-
"relativePath": [
|
|
4518
|
-
"lib",
|
|
4519
|
-
"commands",
|
|
4520
|
-
"hardis",
|
|
4521
|
-
"git",
|
|
4522
|
-
"pull-requests",
|
|
4523
|
-
"extract.js"
|
|
4524
|
-
],
|
|
4525
|
-
"aliasPermutations": [],
|
|
4526
|
-
"permutations": [
|
|
4527
|
-
"hardis:git:pull-requests:extract",
|
|
4528
|
-
"git:hardis:pull-requests:extract",
|
|
4529
|
-
"git:pull-requests:hardis:extract",
|
|
4530
|
-
"git:pull-requests:extract:hardis",
|
|
4531
|
-
"hardis:pull-requests:git:extract",
|
|
4532
|
-
"pull-requests:hardis:git:extract",
|
|
4533
|
-
"pull-requests:git:hardis:extract",
|
|
4534
|
-
"pull-requests:git:extract:hardis",
|
|
4535
|
-
"hardis:pull-requests:extract:git",
|
|
4536
|
-
"pull-requests:hardis:extract:git",
|
|
4537
|
-
"pull-requests:extract:hardis:git",
|
|
4538
|
-
"pull-requests:extract:git:hardis",
|
|
4539
|
-
"hardis:git:extract:pull-requests",
|
|
4540
|
-
"git:hardis:extract:pull-requests",
|
|
4541
|
-
"git:extract:hardis:pull-requests",
|
|
4542
|
-
"git:extract:pull-requests:hardis",
|
|
4543
|
-
"hardis:extract:git:pull-requests",
|
|
4544
|
-
"extract:hardis:git:pull-requests",
|
|
4545
|
-
"extract:git:hardis:pull-requests",
|
|
4546
|
-
"extract:git:pull-requests:hardis",
|
|
4547
|
-
"hardis:extract:pull-requests:git",
|
|
4548
|
-
"extract:hardis:pull-requests:git",
|
|
4549
|
-
"extract:pull-requests:hardis:git",
|
|
4550
|
-
"extract:pull-requests:git:hardis"
|
|
4551
|
-
]
|
|
4552
|
-
},
|
|
4553
4424
|
"hardis:doc:extract:permsetgroups": {
|
|
4554
4425
|
"aliases": [],
|
|
4555
4426
|
"args": {},
|
|
@@ -4740,13 +4611,13 @@
|
|
|
4740
4611
|
"generate:plugin:doc:hardis"
|
|
4741
4612
|
]
|
|
4742
4613
|
},
|
|
4743
|
-
"hardis:
|
|
4614
|
+
"hardis:git:pull-requests:extract": {
|
|
4744
4615
|
"aliases": [],
|
|
4745
4616
|
"args": {},
|
|
4746
|
-
"description": "\n## Command Behavior\n\n**
|
|
4617
|
+
"description": "\n## Command Behavior\n\n**Extracts pull request information from your Git server based on specified filtering criteria.**\n\nThis command provides a powerful way to query and retrieve details about pull requests (or merge requests, depending on your Git provider) in your repository. It's highly useful for reporting, auditing, and analyzing development workflows.\n\nKey functionalities include:\n\n- **Target Branch Filtering:** You can filter pull requests by their target branch using the `--target-branch` flag. If not specified, the command will prompt you to select one.\n- **Status Filtering:** Filter pull requests by their status: `open`, `merged`, or `abandoned` using the `--status` flag. An interactive prompt is provided if no status is specified.\n- **Minimum Date Filtering:** Use the `--min-date` flag to retrieve pull requests created or updated after a specific date.\n- **CSV Output:** The extracted pull request data is generated into a CSV file, which can be used for further analysis in spreadsheet software.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves interacting with a Git provider's API:\n\n- **Git Provider Abstraction:** It uses the `GitProvider.getInstance(true)` to abstract away the specifics of different Git platforms (e.g., GitHub, GitLab, Azure DevOps). This ensures the command can work across various environments.\n- **API Calls:** The `gitProvider.listPullRequests()` method is called with a `prConstraint` object that encapsulates the filtering criteria (target branch, minimum date, status).\n- **Interactive Prompts:** The `prompts` library is used to interactively gather input from the user for the target branch and pull request status if they are not provided as command-line flags.\n- **Date Handling:** The `moment` library is used to parse and handle date inputs for the `--min-date` flag.\n- **CSV Generation:** The `generateCsvFile` utility is responsible for converting the retrieved pull request data into a CSV format, and `generateReportPath` determines the output file location.\n- **Error Handling:** It includes error handling for cases where a Git provider cannot be identified.\n</details>\n",
|
|
4747
4618
|
"examples": [
|
|
4748
|
-
"$ sf hardis:
|
|
4749
|
-
"$ sf hardis:
|
|
4619
|
+
"$ sf hardis:git:pull-requests:extract",
|
|
4620
|
+
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4750
4621
|
],
|
|
4751
4622
|
"flags": {
|
|
4752
4623
|
"json": {
|
|
@@ -4764,11 +4635,140 @@
|
|
|
4764
4635
|
"multiple": false,
|
|
4765
4636
|
"type": "option"
|
|
4766
4637
|
},
|
|
4767
|
-
"
|
|
4768
|
-
"char": "
|
|
4769
|
-
"description": "
|
|
4770
|
-
"name": "
|
|
4771
|
-
"
|
|
4638
|
+
"target-branch": {
|
|
4639
|
+
"char": "t",
|
|
4640
|
+
"description": "Target branch of PRs",
|
|
4641
|
+
"name": "target-branch",
|
|
4642
|
+
"hasDynamicHelp": false,
|
|
4643
|
+
"multiple": false,
|
|
4644
|
+
"type": "option"
|
|
4645
|
+
},
|
|
4646
|
+
"status": {
|
|
4647
|
+
"char": "x",
|
|
4648
|
+
"description": "Status of the PR",
|
|
4649
|
+
"name": "status",
|
|
4650
|
+
"hasDynamicHelp": false,
|
|
4651
|
+
"multiple": false,
|
|
4652
|
+
"options": [
|
|
4653
|
+
"open",
|
|
4654
|
+
"merged",
|
|
4655
|
+
"abandoned"
|
|
4656
|
+
],
|
|
4657
|
+
"type": "option"
|
|
4658
|
+
},
|
|
4659
|
+
"min-date": {
|
|
4660
|
+
"char": "m",
|
|
4661
|
+
"description": "Minimum date for PR",
|
|
4662
|
+
"name": "min-date",
|
|
4663
|
+
"hasDynamicHelp": false,
|
|
4664
|
+
"multiple": false,
|
|
4665
|
+
"type": "option"
|
|
4666
|
+
},
|
|
4667
|
+
"outputfile": {
|
|
4668
|
+
"char": "f",
|
|
4669
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4670
|
+
"name": "outputfile",
|
|
4671
|
+
"hasDynamicHelp": false,
|
|
4672
|
+
"multiple": false,
|
|
4673
|
+
"type": "option"
|
|
4674
|
+
},
|
|
4675
|
+
"debug": {
|
|
4676
|
+
"char": "d",
|
|
4677
|
+
"description": "Activate debug mode (more logs)",
|
|
4678
|
+
"name": "debug",
|
|
4679
|
+
"allowNo": false,
|
|
4680
|
+
"type": "boolean"
|
|
4681
|
+
},
|
|
4682
|
+
"websocket": {
|
|
4683
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4684
|
+
"name": "websocket",
|
|
4685
|
+
"hasDynamicHelp": false,
|
|
4686
|
+
"multiple": false,
|
|
4687
|
+
"type": "option"
|
|
4688
|
+
},
|
|
4689
|
+
"skipauth": {
|
|
4690
|
+
"description": "Skip authentication check when a default username is required",
|
|
4691
|
+
"name": "skipauth",
|
|
4692
|
+
"allowNo": false,
|
|
4693
|
+
"type": "boolean"
|
|
4694
|
+
}
|
|
4695
|
+
},
|
|
4696
|
+
"hasDynamicHelp": false,
|
|
4697
|
+
"hiddenAliases": [],
|
|
4698
|
+
"id": "hardis:git:pull-requests:extract",
|
|
4699
|
+
"pluginAlias": "sfdx-hardis",
|
|
4700
|
+
"pluginName": "sfdx-hardis",
|
|
4701
|
+
"pluginType": "core",
|
|
4702
|
+
"strict": true,
|
|
4703
|
+
"enableJsonFlag": true,
|
|
4704
|
+
"title": "Extract pull requests",
|
|
4705
|
+
"requiresProject": true,
|
|
4706
|
+
"isESM": true,
|
|
4707
|
+
"relativePath": [
|
|
4708
|
+
"lib",
|
|
4709
|
+
"commands",
|
|
4710
|
+
"hardis",
|
|
4711
|
+
"git",
|
|
4712
|
+
"pull-requests",
|
|
4713
|
+
"extract.js"
|
|
4714
|
+
],
|
|
4715
|
+
"aliasPermutations": [],
|
|
4716
|
+
"permutations": [
|
|
4717
|
+
"hardis:git:pull-requests:extract",
|
|
4718
|
+
"git:hardis:pull-requests:extract",
|
|
4719
|
+
"git:pull-requests:hardis:extract",
|
|
4720
|
+
"git:pull-requests:extract:hardis",
|
|
4721
|
+
"hardis:pull-requests:git:extract",
|
|
4722
|
+
"pull-requests:hardis:git:extract",
|
|
4723
|
+
"pull-requests:git:hardis:extract",
|
|
4724
|
+
"pull-requests:git:extract:hardis",
|
|
4725
|
+
"hardis:pull-requests:extract:git",
|
|
4726
|
+
"pull-requests:hardis:extract:git",
|
|
4727
|
+
"pull-requests:extract:hardis:git",
|
|
4728
|
+
"pull-requests:extract:git:hardis",
|
|
4729
|
+
"hardis:git:extract:pull-requests",
|
|
4730
|
+
"git:hardis:extract:pull-requests",
|
|
4731
|
+
"git:extract:hardis:pull-requests",
|
|
4732
|
+
"git:extract:pull-requests:hardis",
|
|
4733
|
+
"hardis:extract:git:pull-requests",
|
|
4734
|
+
"extract:hardis:git:pull-requests",
|
|
4735
|
+
"extract:git:hardis:pull-requests",
|
|
4736
|
+
"extract:git:pull-requests:hardis",
|
|
4737
|
+
"hardis:extract:pull-requests:git",
|
|
4738
|
+
"extract:hardis:pull-requests:git",
|
|
4739
|
+
"extract:pull-requests:hardis:git",
|
|
4740
|
+
"extract:pull-requests:git:hardis"
|
|
4741
|
+
]
|
|
4742
|
+
},
|
|
4743
|
+
"hardis:org:community:update": {
|
|
4744
|
+
"aliases": [],
|
|
4745
|
+
"args": {},
|
|
4746
|
+
"description": "\n## Command Behavior\n\n**Updates the status of one or more Salesforce Experience Cloud (Community) networks.**\n\nThis command provides a way to programmatically change the status of your Salesforce Communities, allowing you to manage their availability. This is particularly useful for:\n\n- **Maintenance:** Taking communities offline for planned maintenance (`DownForMaintenance`).\n- **Activation/Deactivation:** Bringing communities online or offline (`Live`, `DownForMaintenance`).\n- **Automation:** Integrating community status changes into CI/CD pipelines or scheduled jobs.\n\nKey functionalities:\n\n- **Network Selection:** You can specify one or more community network names (separated by commas) using the `--name` flag.\n- **Status Update:** You can set the new status for the selected communities using the `--status` flag. Supported values are `Live` and `DownForMaintenance`.\n- **Confirmation Prompt:** In non-CI environments, it provides a confirmation prompt before executing the update, ensuring intentional changes.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce SOQL Query:** It first queries the Salesforce `Network` object using SOQL to retrieve the `Id`, `Name`, and `Status` of the specified communities. This ensures that only existing communities are targeted.\n- **SObject Update:** It then constructs an array of `Network` sObjects with their `Id` and the new `Status` and performs a DML update operation using `conn.sobject(\"Network\").update()`. The `allOrNone: false` option is used to allow partial success in case some updates fail.\n- **Error Handling and Reporting:** It iterates through the update results, logging success or failure for each community. It also provides a summary of successful and erroneous updates.\n- **User Interaction:** Uses `prompts` to confirm the update action with the user when not running in a CI environment.\n- **Salesforce Connection:** Establishes a connection to the target Salesforce org using the `target-org` flag.\n</details>\n",
|
|
4747
|
+
"examples": [
|
|
4748
|
+
"$ sf hardis:org:community:update --name 'MyNetworkName' --status DownForMaintenance",
|
|
4749
|
+
"$ sf hardis:org:community:update --name 'MyNetworkName,MySecondNetworkName' --status Live"
|
|
4750
|
+
],
|
|
4751
|
+
"flags": {
|
|
4752
|
+
"json": {
|
|
4753
|
+
"description": "Format output as json.",
|
|
4754
|
+
"helpGroup": "GLOBAL",
|
|
4755
|
+
"name": "json",
|
|
4756
|
+
"allowNo": false,
|
|
4757
|
+
"type": "boolean"
|
|
4758
|
+
},
|
|
4759
|
+
"flags-dir": {
|
|
4760
|
+
"helpGroup": "GLOBAL",
|
|
4761
|
+
"name": "flags-dir",
|
|
4762
|
+
"summary": "Import flag values from a directory.",
|
|
4763
|
+
"hasDynamicHelp": false,
|
|
4764
|
+
"multiple": false,
|
|
4765
|
+
"type": "option"
|
|
4766
|
+
},
|
|
4767
|
+
"name": {
|
|
4768
|
+
"char": "n",
|
|
4769
|
+
"description": "List of Networks Names that you want to update, separated by comma",
|
|
4770
|
+
"name": "name",
|
|
4771
|
+
"required": true,
|
|
4772
4772
|
"hasDynamicHelp": false,
|
|
4773
4773
|
"multiple": false,
|
|
4774
4774
|
"type": "option"
|
|
@@ -8295,113 +8295,6 @@
|
|
|
8295
8295
|
"before-refresh:refresh:org:hardis"
|
|
8296
8296
|
]
|
|
8297
8297
|
},
|
|
8298
|
-
"hardis:org:retrieve:packageconfig": {
|
|
8299
|
-
"aliases": [],
|
|
8300
|
-
"args": {},
|
|
8301
|
-
"description": "\n**Retrieves the installed package configuration from a Salesforce org and optionally updates the local project configuration.**\n\nThis command is useful for maintaining an accurate record of installed packages within your Salesforce project, which is crucial for managing dependencies and ensuring consistent deployments across environments.\n\nKey functionalities:\n\n- **Package Listing:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a list of all installed packages.\n- **Configuration Update:** Offers the option to update your local project's configuration with the retrieved list of installed packages. This can be beneficial for automating package installations during environment setup or CI/CD processes.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Org Connection:** It establishes a connection to the target Salesforce org using the provided or prompted username.\n- **Metadata Retrieval:** It utilizes `MetadataUtils.listInstalledPackages` to query the Salesforce org and obtain details about the installed packages.\n- **Interactive Prompt:** It uses the `prompts` library to ask the user whether they want to update their local project configuration with the retrieved package list.\n- **Configuration Management:** If the user confirms, it calls `managePackageConfig` to update the project's configuration file (likely `.sfdx-hardis.yml`) with the new package information.\n- **User Feedback:** Provides clear messages to the user about the success of the package retrieval and configuration update.\n</details>\n",
|
|
8302
|
-
"examples": [
|
|
8303
|
-
"$ sf hardis:org:retrieve:packageconfig",
|
|
8304
|
-
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
8305
|
-
],
|
|
8306
|
-
"flags": {
|
|
8307
|
-
"json": {
|
|
8308
|
-
"description": "Format output as json.",
|
|
8309
|
-
"helpGroup": "GLOBAL",
|
|
8310
|
-
"name": "json",
|
|
8311
|
-
"allowNo": false,
|
|
8312
|
-
"type": "boolean"
|
|
8313
|
-
},
|
|
8314
|
-
"flags-dir": {
|
|
8315
|
-
"helpGroup": "GLOBAL",
|
|
8316
|
-
"name": "flags-dir",
|
|
8317
|
-
"summary": "Import flag values from a directory.",
|
|
8318
|
-
"hasDynamicHelp": false,
|
|
8319
|
-
"multiple": false,
|
|
8320
|
-
"type": "option"
|
|
8321
|
-
},
|
|
8322
|
-
"debug": {
|
|
8323
|
-
"char": "d",
|
|
8324
|
-
"description": "Activate debug mode (more logs)",
|
|
8325
|
-
"name": "debug",
|
|
8326
|
-
"allowNo": false,
|
|
8327
|
-
"type": "boolean"
|
|
8328
|
-
},
|
|
8329
|
-
"websocket": {
|
|
8330
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
8331
|
-
"name": "websocket",
|
|
8332
|
-
"hasDynamicHelp": false,
|
|
8333
|
-
"multiple": false,
|
|
8334
|
-
"type": "option"
|
|
8335
|
-
},
|
|
8336
|
-
"skipauth": {
|
|
8337
|
-
"description": "Skip authentication check when a default username is required",
|
|
8338
|
-
"name": "skipauth",
|
|
8339
|
-
"allowNo": false,
|
|
8340
|
-
"type": "boolean"
|
|
8341
|
-
},
|
|
8342
|
-
"target-org": {
|
|
8343
|
-
"aliases": [
|
|
8344
|
-
"targetusername",
|
|
8345
|
-
"u"
|
|
8346
|
-
],
|
|
8347
|
-
"char": "o",
|
|
8348
|
-
"deprecateAliases": true,
|
|
8349
|
-
"name": "target-org",
|
|
8350
|
-
"noCacheDefault": true,
|
|
8351
|
-
"required": true,
|
|
8352
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8353
|
-
"hasDynamicHelp": true,
|
|
8354
|
-
"multiple": false,
|
|
8355
|
-
"type": "option"
|
|
8356
|
-
}
|
|
8357
|
-
},
|
|
8358
|
-
"hasDynamicHelp": true,
|
|
8359
|
-
"hiddenAliases": [],
|
|
8360
|
-
"id": "hardis:org:retrieve:packageconfig",
|
|
8361
|
-
"pluginAlias": "sfdx-hardis",
|
|
8362
|
-
"pluginName": "sfdx-hardis",
|
|
8363
|
-
"pluginType": "core",
|
|
8364
|
-
"strict": true,
|
|
8365
|
-
"enableJsonFlag": true,
|
|
8366
|
-
"title": "Retrieve package configuration from an org",
|
|
8367
|
-
"requiresProject": false,
|
|
8368
|
-
"isESM": true,
|
|
8369
|
-
"relativePath": [
|
|
8370
|
-
"lib",
|
|
8371
|
-
"commands",
|
|
8372
|
-
"hardis",
|
|
8373
|
-
"org",
|
|
8374
|
-
"retrieve",
|
|
8375
|
-
"packageconfig.js"
|
|
8376
|
-
],
|
|
8377
|
-
"aliasPermutations": [],
|
|
8378
|
-
"permutations": [
|
|
8379
|
-
"hardis:org:retrieve:packageconfig",
|
|
8380
|
-
"org:hardis:retrieve:packageconfig",
|
|
8381
|
-
"org:retrieve:hardis:packageconfig",
|
|
8382
|
-
"org:retrieve:packageconfig:hardis",
|
|
8383
|
-
"hardis:retrieve:org:packageconfig",
|
|
8384
|
-
"retrieve:hardis:org:packageconfig",
|
|
8385
|
-
"retrieve:org:hardis:packageconfig",
|
|
8386
|
-
"retrieve:org:packageconfig:hardis",
|
|
8387
|
-
"hardis:retrieve:packageconfig:org",
|
|
8388
|
-
"retrieve:hardis:packageconfig:org",
|
|
8389
|
-
"retrieve:packageconfig:hardis:org",
|
|
8390
|
-
"retrieve:packageconfig:org:hardis",
|
|
8391
|
-
"hardis:org:packageconfig:retrieve",
|
|
8392
|
-
"org:hardis:packageconfig:retrieve",
|
|
8393
|
-
"org:packageconfig:hardis:retrieve",
|
|
8394
|
-
"org:packageconfig:retrieve:hardis",
|
|
8395
|
-
"hardis:packageconfig:org:retrieve",
|
|
8396
|
-
"packageconfig:hardis:org:retrieve",
|
|
8397
|
-
"packageconfig:org:hardis:retrieve",
|
|
8398
|
-
"packageconfig:org:retrieve:hardis",
|
|
8399
|
-
"hardis:packageconfig:retrieve:org",
|
|
8400
|
-
"packageconfig:hardis:retrieve:org",
|
|
8401
|
-
"packageconfig:retrieve:hardis:org",
|
|
8402
|
-
"packageconfig:retrieve:org:hardis"
|
|
8403
|
-
]
|
|
8404
|
-
},
|
|
8405
8298
|
"hardis:org:test:apex": {
|
|
8406
8299
|
"aliases": [],
|
|
8407
8300
|
"args": {},
|
|
@@ -8522,14 +8415,13 @@
|
|
|
8522
8415
|
"apex:test:org:hardis"
|
|
8523
8416
|
]
|
|
8524
8417
|
},
|
|
8525
|
-
"hardis:org:
|
|
8418
|
+
"hardis:org:retrieve:packageconfig": {
|
|
8526
8419
|
"aliases": [],
|
|
8527
8420
|
"args": {},
|
|
8528
|
-
"description": "
|
|
8421
|
+
"description": "\n**Retrieves the installed package configuration from a Salesforce org and optionally updates the local project configuration.**\n\nThis command is useful for maintaining an accurate record of installed packages within your Salesforce project, which is crucial for managing dependencies and ensuring consistent deployments across environments.\n\nKey functionalities:\n\n- **Package Listing:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a list of all installed packages.\n- **Configuration Update:** Offers the option to update your local project's configuration with the retrieved list of installed packages. This can be beneficial for automating package installations during environment setup or CI/CD processes.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Org Connection:** It establishes a connection to the target Salesforce org using the provided or prompted username.\n- **Metadata Retrieval:** It utilizes `MetadataUtils.listInstalledPackages` to query the Salesforce org and obtain details about the installed packages.\n- **Interactive Prompt:** It uses the `prompts` library to ask the user whether they want to update their local project configuration with the retrieved package list.\n- **Configuration Management:** If the user confirms, it calls `managePackageConfig` to update the project's configuration file (likely `.sfdx-hardis.yml`) with the new package information.\n- **User Feedback:** Provides clear messages to the user about the success of the package retrieval and configuration update.\n</details>\n",
|
|
8529
8422
|
"examples": [
|
|
8530
|
-
"$ sf hardis:org:
|
|
8531
|
-
"
|
|
8532
|
-
"$ sf hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --target-org my-user@myorg.com"
|
|
8423
|
+
"$ sf hardis:org:retrieve:packageconfig",
|
|
8424
|
+
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
8533
8425
|
],
|
|
8534
8426
|
"flags": {
|
|
8535
8427
|
"json": {
|
|
@@ -8547,14 +8439,6 @@
|
|
|
8547
8439
|
"multiple": false,
|
|
8548
8440
|
"type": "option"
|
|
8549
8441
|
},
|
|
8550
|
-
"profiles": {
|
|
8551
|
-
"char": "p",
|
|
8552
|
-
"description": "Comma-separated list of profiles names that you want to reactive users assigned to and with a .invalid email",
|
|
8553
|
-
"name": "profiles",
|
|
8554
|
-
"hasDynamicHelp": false,
|
|
8555
|
-
"multiple": false,
|
|
8556
|
-
"type": "option"
|
|
8557
|
-
},
|
|
8558
8442
|
"debug": {
|
|
8559
8443
|
"char": "d",
|
|
8560
8444
|
"description": "Activate debug mode (more logs)",
|
|
@@ -8593,7 +8477,123 @@
|
|
|
8593
8477
|
},
|
|
8594
8478
|
"hasDynamicHelp": true,
|
|
8595
8479
|
"hiddenAliases": [],
|
|
8596
|
-
"id": "hardis:org:
|
|
8480
|
+
"id": "hardis:org:retrieve:packageconfig",
|
|
8481
|
+
"pluginAlias": "sfdx-hardis",
|
|
8482
|
+
"pluginName": "sfdx-hardis",
|
|
8483
|
+
"pluginType": "core",
|
|
8484
|
+
"strict": true,
|
|
8485
|
+
"enableJsonFlag": true,
|
|
8486
|
+
"title": "Retrieve package configuration from an org",
|
|
8487
|
+
"requiresProject": false,
|
|
8488
|
+
"isESM": true,
|
|
8489
|
+
"relativePath": [
|
|
8490
|
+
"lib",
|
|
8491
|
+
"commands",
|
|
8492
|
+
"hardis",
|
|
8493
|
+
"org",
|
|
8494
|
+
"retrieve",
|
|
8495
|
+
"packageconfig.js"
|
|
8496
|
+
],
|
|
8497
|
+
"aliasPermutations": [],
|
|
8498
|
+
"permutations": [
|
|
8499
|
+
"hardis:org:retrieve:packageconfig",
|
|
8500
|
+
"org:hardis:retrieve:packageconfig",
|
|
8501
|
+
"org:retrieve:hardis:packageconfig",
|
|
8502
|
+
"org:retrieve:packageconfig:hardis",
|
|
8503
|
+
"hardis:retrieve:org:packageconfig",
|
|
8504
|
+
"retrieve:hardis:org:packageconfig",
|
|
8505
|
+
"retrieve:org:hardis:packageconfig",
|
|
8506
|
+
"retrieve:org:packageconfig:hardis",
|
|
8507
|
+
"hardis:retrieve:packageconfig:org",
|
|
8508
|
+
"retrieve:hardis:packageconfig:org",
|
|
8509
|
+
"retrieve:packageconfig:hardis:org",
|
|
8510
|
+
"retrieve:packageconfig:org:hardis",
|
|
8511
|
+
"hardis:org:packageconfig:retrieve",
|
|
8512
|
+
"org:hardis:packageconfig:retrieve",
|
|
8513
|
+
"org:packageconfig:hardis:retrieve",
|
|
8514
|
+
"org:packageconfig:retrieve:hardis",
|
|
8515
|
+
"hardis:packageconfig:org:retrieve",
|
|
8516
|
+
"packageconfig:hardis:org:retrieve",
|
|
8517
|
+
"packageconfig:org:hardis:retrieve",
|
|
8518
|
+
"packageconfig:org:retrieve:hardis",
|
|
8519
|
+
"hardis:packageconfig:retrieve:org",
|
|
8520
|
+
"packageconfig:hardis:retrieve:org",
|
|
8521
|
+
"packageconfig:retrieve:hardis:org",
|
|
8522
|
+
"packageconfig:retrieve:org:hardis"
|
|
8523
|
+
]
|
|
8524
|
+
},
|
|
8525
|
+
"hardis:org:user:activateinvalid": {
|
|
8526
|
+
"aliases": [],
|
|
8527
|
+
"args": {},
|
|
8528
|
+
"description": "Update sandbox users so their email is valid\n\n Example: replaces `toto@company.com.dev.invalid` with `toto@company.com.dev.invalid`\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d)\n",
|
|
8529
|
+
"examples": [
|
|
8530
|
+
"$ sf hardis:org:user:activateinvalid",
|
|
8531
|
+
"$ sf hardis:org:user:activateinvalid --target-org my-user@myorg.com",
|
|
8532
|
+
"$ sf hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --target-org my-user@myorg.com"
|
|
8533
|
+
],
|
|
8534
|
+
"flags": {
|
|
8535
|
+
"json": {
|
|
8536
|
+
"description": "Format output as json.",
|
|
8537
|
+
"helpGroup": "GLOBAL",
|
|
8538
|
+
"name": "json",
|
|
8539
|
+
"allowNo": false,
|
|
8540
|
+
"type": "boolean"
|
|
8541
|
+
},
|
|
8542
|
+
"flags-dir": {
|
|
8543
|
+
"helpGroup": "GLOBAL",
|
|
8544
|
+
"name": "flags-dir",
|
|
8545
|
+
"summary": "Import flag values from a directory.",
|
|
8546
|
+
"hasDynamicHelp": false,
|
|
8547
|
+
"multiple": false,
|
|
8548
|
+
"type": "option"
|
|
8549
|
+
},
|
|
8550
|
+
"profiles": {
|
|
8551
|
+
"char": "p",
|
|
8552
|
+
"description": "Comma-separated list of profiles names that you want to reactive users assigned to and with a .invalid email",
|
|
8553
|
+
"name": "profiles",
|
|
8554
|
+
"hasDynamicHelp": false,
|
|
8555
|
+
"multiple": false,
|
|
8556
|
+
"type": "option"
|
|
8557
|
+
},
|
|
8558
|
+
"debug": {
|
|
8559
|
+
"char": "d",
|
|
8560
|
+
"description": "Activate debug mode (more logs)",
|
|
8561
|
+
"name": "debug",
|
|
8562
|
+
"allowNo": false,
|
|
8563
|
+
"type": "boolean"
|
|
8564
|
+
},
|
|
8565
|
+
"websocket": {
|
|
8566
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
8567
|
+
"name": "websocket",
|
|
8568
|
+
"hasDynamicHelp": false,
|
|
8569
|
+
"multiple": false,
|
|
8570
|
+
"type": "option"
|
|
8571
|
+
},
|
|
8572
|
+
"skipauth": {
|
|
8573
|
+
"description": "Skip authentication check when a default username is required",
|
|
8574
|
+
"name": "skipauth",
|
|
8575
|
+
"allowNo": false,
|
|
8576
|
+
"type": "boolean"
|
|
8577
|
+
},
|
|
8578
|
+
"target-org": {
|
|
8579
|
+
"aliases": [
|
|
8580
|
+
"targetusername",
|
|
8581
|
+
"u"
|
|
8582
|
+
],
|
|
8583
|
+
"char": "o",
|
|
8584
|
+
"deprecateAliases": true,
|
|
8585
|
+
"name": "target-org",
|
|
8586
|
+
"noCacheDefault": true,
|
|
8587
|
+
"required": true,
|
|
8588
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8589
|
+
"hasDynamicHelp": true,
|
|
8590
|
+
"multiple": false,
|
|
8591
|
+
"type": "option"
|
|
8592
|
+
}
|
|
8593
|
+
},
|
|
8594
|
+
"hasDynamicHelp": true,
|
|
8595
|
+
"hiddenAliases": [],
|
|
8596
|
+
"id": "hardis:org:user:activateinvalid",
|
|
8597
8597
|
"pluginAlias": "sfdx-hardis",
|
|
8598
8598
|
"pluginName": "sfdx-hardis",
|
|
8599
8599
|
"pluginType": "core",
|
|
@@ -9689,135 +9689,6 @@
|
|
|
9689
9689
|
"remotesites:audit:project:hardis"
|
|
9690
9690
|
]
|
|
9691
9691
|
},
|
|
9692
|
-
"hardis:project:configure:auth": {
|
|
9693
|
-
"aliases": [],
|
|
9694
|
-
"args": {},
|
|
9695
|
-
"description": "\n## Command Behavior\n\n**Configures authentication between a Git branch and a target Salesforce org for CI/CD deployments.**\n\nThis command facilitates the setup of automated CI/CD pipelines, enabling seamless deployments from specific Git branches to designated Salesforce orgs. It supports both standard Salesforce orgs and Dev Hub configurations, catering to various enterprise deployment workflows.\n\nKey functionalities include:\n\n- **Org Selection/Login:** Guides the user to select an existing Salesforce org or log in to a new one.\n- **Git Branch Association:** Allows associating a specific Git branch with the chosen Salesforce org.\n- **Merge Target Definition:** Enables defining target Git branches into which the configured branch can merge, ensuring controlled deployment flows.\n- **Salesforce Username Configuration:** Prompts for the Salesforce username to be used by the CI server for deployments.\n- **SSL Certificate Generation:** Automatically generates an SSL certificate for secure authentication.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's implementation involves several key technical aspects:\n\n- **SF CLI Integration:** Utilizes \n@salesforce/sf-plugins-core\n for command structure and flag parsing.\n- **Interactive Prompts:** Employs the \nprompts\n library for interactive user input, guiding the configuration process.\n- **Git Integration:** Interacts with Git to retrieve branch information using \n`git().branch([\"--list\", \"-r\"])`\n.\n- **Configuration Management:** Leverages internal utilities (`checkConfig`, `getConfig`, `setConfig`, `setInConfigFile`) to read from and write to project-specific configuration files (e.g., `.sfdx-hardis.<branchName>.yml`).\n- **Salesforce CLI Execution:** Executes Salesforce CLI commands programmatically via `execSfdxJson` for org interactions.\n- **SSL Certificate Generation:** Calls `generateSSLCertificate` to create necessary SSL certificates for JWT-based authentication.\n- **WebSocket Communication:** Uses `WebSocketClient` for potential communication with external tools or processes, such as restarting the command in VS Code.\n- **Dependency Check:** Ensures the presence of `openssl` on the system, which is required for SSL certificate generation.\n",
|
|
9696
|
-
"examples": [
|
|
9697
|
-
"$ sf hardis:project:configure:auth"
|
|
9698
|
-
],
|
|
9699
|
-
"flags": {
|
|
9700
|
-
"json": {
|
|
9701
|
-
"description": "Format output as json.",
|
|
9702
|
-
"helpGroup": "GLOBAL",
|
|
9703
|
-
"name": "json",
|
|
9704
|
-
"allowNo": false,
|
|
9705
|
-
"type": "boolean"
|
|
9706
|
-
},
|
|
9707
|
-
"flags-dir": {
|
|
9708
|
-
"helpGroup": "GLOBAL",
|
|
9709
|
-
"name": "flags-dir",
|
|
9710
|
-
"summary": "Import flag values from a directory.",
|
|
9711
|
-
"hasDynamicHelp": false,
|
|
9712
|
-
"multiple": false,
|
|
9713
|
-
"type": "option"
|
|
9714
|
-
},
|
|
9715
|
-
"devhub": {
|
|
9716
|
-
"char": "b",
|
|
9717
|
-
"description": "Configure project DevHub",
|
|
9718
|
-
"name": "devhub",
|
|
9719
|
-
"allowNo": false,
|
|
9720
|
-
"type": "boolean"
|
|
9721
|
-
},
|
|
9722
|
-
"debug": {
|
|
9723
|
-
"char": "d",
|
|
9724
|
-
"description": "Activate debug mode (more logs)",
|
|
9725
|
-
"name": "debug",
|
|
9726
|
-
"allowNo": false,
|
|
9727
|
-
"type": "boolean"
|
|
9728
|
-
},
|
|
9729
|
-
"websocket": {
|
|
9730
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
9731
|
-
"name": "websocket",
|
|
9732
|
-
"hasDynamicHelp": false,
|
|
9733
|
-
"multiple": false,
|
|
9734
|
-
"type": "option"
|
|
9735
|
-
},
|
|
9736
|
-
"skipauth": {
|
|
9737
|
-
"description": "Skip authentication check when a default username is required",
|
|
9738
|
-
"name": "skipauth",
|
|
9739
|
-
"allowNo": false,
|
|
9740
|
-
"type": "boolean"
|
|
9741
|
-
},
|
|
9742
|
-
"target-org": {
|
|
9743
|
-
"aliases": [
|
|
9744
|
-
"targetusername",
|
|
9745
|
-
"u"
|
|
9746
|
-
],
|
|
9747
|
-
"char": "o",
|
|
9748
|
-
"deprecateAliases": true,
|
|
9749
|
-
"name": "target-org",
|
|
9750
|
-
"noCacheDefault": true,
|
|
9751
|
-
"summary": "Username or alias of the target org.",
|
|
9752
|
-
"hasDynamicHelp": true,
|
|
9753
|
-
"multiple": false,
|
|
9754
|
-
"type": "option"
|
|
9755
|
-
},
|
|
9756
|
-
"target-dev-hub": {
|
|
9757
|
-
"aliases": [
|
|
9758
|
-
"targetdevhubusername"
|
|
9759
|
-
],
|
|
9760
|
-
"char": "v",
|
|
9761
|
-
"deprecateAliases": true,
|
|
9762
|
-
"name": "target-dev-hub",
|
|
9763
|
-
"noCacheDefault": true,
|
|
9764
|
-
"required": false,
|
|
9765
|
-
"summary": "Username or alias of the Dev Hub org.",
|
|
9766
|
-
"hasDynamicHelp": true,
|
|
9767
|
-
"multiple": false,
|
|
9768
|
-
"type": "option"
|
|
9769
|
-
}
|
|
9770
|
-
},
|
|
9771
|
-
"hasDynamicHelp": true,
|
|
9772
|
-
"hiddenAliases": [],
|
|
9773
|
-
"id": "hardis:project:configure:auth",
|
|
9774
|
-
"pluginAlias": "sfdx-hardis",
|
|
9775
|
-
"pluginName": "sfdx-hardis",
|
|
9776
|
-
"pluginType": "core",
|
|
9777
|
-
"strict": true,
|
|
9778
|
-
"enableJsonFlag": true,
|
|
9779
|
-
"title": "Configure authentication",
|
|
9780
|
-
"requiresProject": false,
|
|
9781
|
-
"requiresDependencies": [
|
|
9782
|
-
"openssl"
|
|
9783
|
-
],
|
|
9784
|
-
"isESM": true,
|
|
9785
|
-
"relativePath": [
|
|
9786
|
-
"lib",
|
|
9787
|
-
"commands",
|
|
9788
|
-
"hardis",
|
|
9789
|
-
"project",
|
|
9790
|
-
"configure",
|
|
9791
|
-
"auth.js"
|
|
9792
|
-
],
|
|
9793
|
-
"aliasPermutations": [],
|
|
9794
|
-
"permutations": [
|
|
9795
|
-
"hardis:project:configure:auth",
|
|
9796
|
-
"project:hardis:configure:auth",
|
|
9797
|
-
"project:configure:hardis:auth",
|
|
9798
|
-
"project:configure:auth:hardis",
|
|
9799
|
-
"hardis:configure:project:auth",
|
|
9800
|
-
"configure:hardis:project:auth",
|
|
9801
|
-
"configure:project:hardis:auth",
|
|
9802
|
-
"configure:project:auth:hardis",
|
|
9803
|
-
"hardis:configure:auth:project",
|
|
9804
|
-
"configure:hardis:auth:project",
|
|
9805
|
-
"configure:auth:hardis:project",
|
|
9806
|
-
"configure:auth:project:hardis",
|
|
9807
|
-
"hardis:project:auth:configure",
|
|
9808
|
-
"project:hardis:auth:configure",
|
|
9809
|
-
"project:auth:hardis:configure",
|
|
9810
|
-
"project:auth:configure:hardis",
|
|
9811
|
-
"hardis:auth:project:configure",
|
|
9812
|
-
"auth:hardis:project:configure",
|
|
9813
|
-
"auth:project:hardis:configure",
|
|
9814
|
-
"auth:project:configure:hardis",
|
|
9815
|
-
"hardis:auth:configure:project",
|
|
9816
|
-
"auth:hardis:configure:project",
|
|
9817
|
-
"auth:configure:hardis:project",
|
|
9818
|
-
"auth:configure:project:hardis"
|
|
9819
|
-
]
|
|
9820
|
-
},
|
|
9821
9692
|
"hardis:project:clean:emptyitems": {
|
|
9822
9693
|
"aliases": [],
|
|
9823
9694
|
"args": {},
|
|
@@ -11303,12 +11174,12 @@
|
|
|
11303
11174
|
"xml:clean:project:hardis"
|
|
11304
11175
|
]
|
|
11305
11176
|
},
|
|
11306
|
-
"hardis:project:
|
|
11177
|
+
"hardis:project:configure:auth": {
|
|
11307
11178
|
"aliases": [],
|
|
11308
11179
|
"args": {},
|
|
11309
|
-
"description": "\n## Command Behavior\n\n**
|
|
11180
|
+
"description": "\n## Command Behavior\n\n**Configures authentication between a Git branch and a target Salesforce org for CI/CD deployments.**\n\nThis command facilitates the setup of automated CI/CD pipelines, enabling seamless deployments from specific Git branches to designated Salesforce orgs. It supports both standard Salesforce orgs and Dev Hub configurations, catering to various enterprise deployment workflows.\n\nKey functionalities include:\n\n- **Org Selection/Login:** Guides the user to select an existing Salesforce org or log in to a new one.\n- **Git Branch Association:** Allows associating a specific Git branch with the chosen Salesforce org.\n- **Merge Target Definition:** Enables defining target Git branches into which the configured branch can merge, ensuring controlled deployment flows.\n- **Salesforce Username Configuration:** Prompts for the Salesforce username to be used by the CI server for deployments.\n- **SSL Certificate Generation:** Automatically generates an SSL certificate for secure authentication.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's implementation involves several key technical aspects:\n\n- **SF CLI Integration:** Utilizes \n@salesforce/sf-plugins-core\n for command structure and flag parsing.\n- **Interactive Prompts:** Employs the \nprompts\n library for interactive user input, guiding the configuration process.\n- **Git Integration:** Interacts with Git to retrieve branch information using \n`git().branch([\"--list\", \"-r\"])`\n.\n- **Configuration Management:** Leverages internal utilities (`checkConfig`, `getConfig`, `setConfig`, `setInConfigFile`) to read from and write to project-specific configuration files (e.g., `.sfdx-hardis.<branchName>.yml`).\n- **Salesforce CLI Execution:** Executes Salesforce CLI commands programmatically via `execSfdxJson` for org interactions.\n- **SSL Certificate Generation:** Calls `generateSSLCertificate` to create necessary SSL certificates for JWT-based authentication.\n- **WebSocket Communication:** Uses `WebSocketClient` for potential communication with external tools or processes, such as restarting the command in VS Code.\n- **Dependency Check:** Ensures the presence of `openssl` on the system, which is required for SSL certificate generation.\n",
|
|
11310
11181
|
"examples": [
|
|
11311
|
-
"$ sf hardis:project:
|
|
11182
|
+
"$ sf hardis:project:configure:auth"
|
|
11312
11183
|
],
|
|
11313
11184
|
"flags": {
|
|
11314
11185
|
"json": {
|
|
@@ -11326,11 +11197,140 @@
|
|
|
11326
11197
|
"multiple": false,
|
|
11327
11198
|
"type": "option"
|
|
11328
11199
|
},
|
|
11329
|
-
"
|
|
11330
|
-
"char": "
|
|
11331
|
-
"description": "
|
|
11332
|
-
"name": "
|
|
11333
|
-
"
|
|
11200
|
+
"devhub": {
|
|
11201
|
+
"char": "b",
|
|
11202
|
+
"description": "Configure project DevHub",
|
|
11203
|
+
"name": "devhub",
|
|
11204
|
+
"allowNo": false,
|
|
11205
|
+
"type": "boolean"
|
|
11206
|
+
},
|
|
11207
|
+
"debug": {
|
|
11208
|
+
"char": "d",
|
|
11209
|
+
"description": "Activate debug mode (more logs)",
|
|
11210
|
+
"name": "debug",
|
|
11211
|
+
"allowNo": false,
|
|
11212
|
+
"type": "boolean"
|
|
11213
|
+
},
|
|
11214
|
+
"websocket": {
|
|
11215
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11216
|
+
"name": "websocket",
|
|
11217
|
+
"hasDynamicHelp": false,
|
|
11218
|
+
"multiple": false,
|
|
11219
|
+
"type": "option"
|
|
11220
|
+
},
|
|
11221
|
+
"skipauth": {
|
|
11222
|
+
"description": "Skip authentication check when a default username is required",
|
|
11223
|
+
"name": "skipauth",
|
|
11224
|
+
"allowNo": false,
|
|
11225
|
+
"type": "boolean"
|
|
11226
|
+
},
|
|
11227
|
+
"target-org": {
|
|
11228
|
+
"aliases": [
|
|
11229
|
+
"targetusername",
|
|
11230
|
+
"u"
|
|
11231
|
+
],
|
|
11232
|
+
"char": "o",
|
|
11233
|
+
"deprecateAliases": true,
|
|
11234
|
+
"name": "target-org",
|
|
11235
|
+
"noCacheDefault": true,
|
|
11236
|
+
"summary": "Username or alias of the target org.",
|
|
11237
|
+
"hasDynamicHelp": true,
|
|
11238
|
+
"multiple": false,
|
|
11239
|
+
"type": "option"
|
|
11240
|
+
},
|
|
11241
|
+
"target-dev-hub": {
|
|
11242
|
+
"aliases": [
|
|
11243
|
+
"targetdevhubusername"
|
|
11244
|
+
],
|
|
11245
|
+
"char": "v",
|
|
11246
|
+
"deprecateAliases": true,
|
|
11247
|
+
"name": "target-dev-hub",
|
|
11248
|
+
"noCacheDefault": true,
|
|
11249
|
+
"required": false,
|
|
11250
|
+
"summary": "Username or alias of the Dev Hub org.",
|
|
11251
|
+
"hasDynamicHelp": true,
|
|
11252
|
+
"multiple": false,
|
|
11253
|
+
"type": "option"
|
|
11254
|
+
}
|
|
11255
|
+
},
|
|
11256
|
+
"hasDynamicHelp": true,
|
|
11257
|
+
"hiddenAliases": [],
|
|
11258
|
+
"id": "hardis:project:configure:auth",
|
|
11259
|
+
"pluginAlias": "sfdx-hardis",
|
|
11260
|
+
"pluginName": "sfdx-hardis",
|
|
11261
|
+
"pluginType": "core",
|
|
11262
|
+
"strict": true,
|
|
11263
|
+
"enableJsonFlag": true,
|
|
11264
|
+
"title": "Configure authentication",
|
|
11265
|
+
"requiresProject": false,
|
|
11266
|
+
"requiresDependencies": [
|
|
11267
|
+
"openssl"
|
|
11268
|
+
],
|
|
11269
|
+
"isESM": true,
|
|
11270
|
+
"relativePath": [
|
|
11271
|
+
"lib",
|
|
11272
|
+
"commands",
|
|
11273
|
+
"hardis",
|
|
11274
|
+
"project",
|
|
11275
|
+
"configure",
|
|
11276
|
+
"auth.js"
|
|
11277
|
+
],
|
|
11278
|
+
"aliasPermutations": [],
|
|
11279
|
+
"permutations": [
|
|
11280
|
+
"hardis:project:configure:auth",
|
|
11281
|
+
"project:hardis:configure:auth",
|
|
11282
|
+
"project:configure:hardis:auth",
|
|
11283
|
+
"project:configure:auth:hardis",
|
|
11284
|
+
"hardis:configure:project:auth",
|
|
11285
|
+
"configure:hardis:project:auth",
|
|
11286
|
+
"configure:project:hardis:auth",
|
|
11287
|
+
"configure:project:auth:hardis",
|
|
11288
|
+
"hardis:configure:auth:project",
|
|
11289
|
+
"configure:hardis:auth:project",
|
|
11290
|
+
"configure:auth:hardis:project",
|
|
11291
|
+
"configure:auth:project:hardis",
|
|
11292
|
+
"hardis:project:auth:configure",
|
|
11293
|
+
"project:hardis:auth:configure",
|
|
11294
|
+
"project:auth:hardis:configure",
|
|
11295
|
+
"project:auth:configure:hardis",
|
|
11296
|
+
"hardis:auth:project:configure",
|
|
11297
|
+
"auth:hardis:project:configure",
|
|
11298
|
+
"auth:project:hardis:configure",
|
|
11299
|
+
"auth:project:configure:hardis",
|
|
11300
|
+
"hardis:auth:configure:project",
|
|
11301
|
+
"auth:hardis:configure:project",
|
|
11302
|
+
"auth:configure:hardis:project",
|
|
11303
|
+
"auth:configure:project:hardis"
|
|
11304
|
+
]
|
|
11305
|
+
},
|
|
11306
|
+
"hardis:project:convert:profilestopermsets": {
|
|
11307
|
+
"aliases": [],
|
|
11308
|
+
"args": {},
|
|
11309
|
+
"description": "\n## Command Behavior\n\n**Converts existing Salesforce Profiles into Permission Sets, facilitating a more granular and recommended security model.**\n\nThis command helps in migrating permissions from Profiles to Permission Sets, which is a best practice for managing user access in Salesforce. It creates a new Permission Set for each specified Profile, adopting a naming convention of `PS_PROFILENAME`.\n\nKey functionalities:\n\n- **Profile to Permission Set Conversion:** Automatically extracts permissions from a Profile and creates a corresponding Permission Set.\n- **Naming Convention:** New Permission Sets are named with a `PS_` prefix followed by the Profile name (e.g., `PS_Standard_User`).\n- **Exclusion Filter:** Allows you to exclude specific Profiles from the conversion process using the `--except` flag.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **External Plugin Integration:** It relies on the `shane-sfdx-plugins` (specifically the `sf shane:profile:convert` command) to perform the actual conversion.\n- **File System Scan:** It reads the contents of the `force-app/main/default/profiles` directory to identify all available Profile metadata files.\n- **Command Execution:** For each identified Profile (that is not excluded), it constructs and executes the `sf shane:profile:convert` command with the appropriate Profile name and desired Permission Set name.\n- **Error Handling:** Includes basic error handling for the external command execution.\n</details>\n",
|
|
11310
|
+
"examples": [
|
|
11311
|
+
"$ sf hardis:project:convert:profilestopermsets"
|
|
11312
|
+
],
|
|
11313
|
+
"flags": {
|
|
11314
|
+
"json": {
|
|
11315
|
+
"description": "Format output as json.",
|
|
11316
|
+
"helpGroup": "GLOBAL",
|
|
11317
|
+
"name": "json",
|
|
11318
|
+
"allowNo": false,
|
|
11319
|
+
"type": "boolean"
|
|
11320
|
+
},
|
|
11321
|
+
"flags-dir": {
|
|
11322
|
+
"helpGroup": "GLOBAL",
|
|
11323
|
+
"name": "flags-dir",
|
|
11324
|
+
"summary": "Import flag values from a directory.",
|
|
11325
|
+
"hasDynamicHelp": false,
|
|
11326
|
+
"multiple": false,
|
|
11327
|
+
"type": "option"
|
|
11328
|
+
},
|
|
11329
|
+
"except": {
|
|
11330
|
+
"char": "e",
|
|
11331
|
+
"description": "List of filters",
|
|
11332
|
+
"name": "except",
|
|
11333
|
+
"default": [],
|
|
11334
11334
|
"hasDynamicHelp": false,
|
|
11335
11335
|
"multiple": true,
|
|
11336
11336
|
"type": "option"
|
|
@@ -11406,6 +11406,221 @@
|
|
|
11406
11406
|
"profilestopermsets:convert:project:hardis"
|
|
11407
11407
|
]
|
|
11408
11408
|
},
|
|
11409
|
+
"hardis:project:fix:profiletabs": {
|
|
11410
|
+
"aliases": [],
|
|
11411
|
+
"args": {},
|
|
11412
|
+
"description": "\n## Command Behavior\n\n**Interactively updates tab visibility settings in Salesforce profiles, addressing a common issue where tab visibilities are not correctly retrieved by `sf project retrieve start`.**\n\nThis command provides a user-friendly interface to manage tab settings within your profile XML files, ensuring that your local project accurately reflects the intended tab configurations in your Salesforce org.\n\nKey functionalities:\n\n- **Interactive Tab Selection:** Displays a multi-select menu of all available tabs in your org, allowing you to choose which tabs to update.\n- **Visibility Control:** Lets you set the visibility for the selected tabs to either `DefaultOn` (Visible) or `Hidden`.\n- **Profile Selection:** Presents a multi-select menu of all .profile-meta.xml files in your project, allowing you to apply the tab visibility changes to specific profiles.\n- **XML Updates:** Modifies the <tabVisibilities> section of the selected profile XML files to reflect the chosen tab settings. If a tab visibility setting already exists for a selected tab, it will be updated; otherwise, a new one will be added.\n- **Sorted Output:** The <tabVisibilities> in the updated profile XML files are sorted alphabetically for consistency and readability.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **SOQL Queries (Tooling API):** It queries the `TabDefinition` object using `soqlQueryTooling` to retrieve a list of all available tabs in the target org.\n- **File Discovery:** Uses `glob` to find all .profile-meta.xml files within the specified project path.\n- **Interactive Prompts:** Leverages the `prompts` library to create interactive menus for selecting tabs, visibility settings, and profiles.\n- **XML Parsing and Manipulation:** Uses `parseXmlFile` to read the content of profile XML files and `writeXmlFile` to write the modified content back. It manipulates the `tabVisibilities` array within the parsed XML to add or update tab settings.\n- **Array Sorting:** Employs the `sort-array` library to sort the `tabVisibilities` alphabetically by tab name.\n- **Logging:** Provides feedback to the user about which profiles have been updated and a summary of the changes.\n</details>\n",
|
|
11413
|
+
"examples": [
|
|
11414
|
+
"$ sf hardis:project:fix:profiletabs"
|
|
11415
|
+
],
|
|
11416
|
+
"flags": {
|
|
11417
|
+
"json": {
|
|
11418
|
+
"description": "Format output as json.",
|
|
11419
|
+
"helpGroup": "GLOBAL",
|
|
11420
|
+
"name": "json",
|
|
11421
|
+
"allowNo": false,
|
|
11422
|
+
"type": "boolean"
|
|
11423
|
+
},
|
|
11424
|
+
"flags-dir": {
|
|
11425
|
+
"helpGroup": "GLOBAL",
|
|
11426
|
+
"name": "flags-dir",
|
|
11427
|
+
"summary": "Import flag values from a directory.",
|
|
11428
|
+
"hasDynamicHelp": false,
|
|
11429
|
+
"multiple": false,
|
|
11430
|
+
"type": "option"
|
|
11431
|
+
},
|
|
11432
|
+
"path": {
|
|
11433
|
+
"char": "p",
|
|
11434
|
+
"description": "Root folder",
|
|
11435
|
+
"name": "path",
|
|
11436
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
11437
|
+
"hasDynamicHelp": false,
|
|
11438
|
+
"multiple": false,
|
|
11439
|
+
"type": "option"
|
|
11440
|
+
},
|
|
11441
|
+
"debug": {
|
|
11442
|
+
"char": "d",
|
|
11443
|
+
"description": "Activate debug mode (more logs)",
|
|
11444
|
+
"name": "debug",
|
|
11445
|
+
"allowNo": false,
|
|
11446
|
+
"type": "boolean"
|
|
11447
|
+
},
|
|
11448
|
+
"websocket": {
|
|
11449
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11450
|
+
"name": "websocket",
|
|
11451
|
+
"hasDynamicHelp": false,
|
|
11452
|
+
"multiple": false,
|
|
11453
|
+
"type": "option"
|
|
11454
|
+
},
|
|
11455
|
+
"skipauth": {
|
|
11456
|
+
"description": "Skip authentication check when a default username is required",
|
|
11457
|
+
"name": "skipauth",
|
|
11458
|
+
"allowNo": false,
|
|
11459
|
+
"type": "boolean"
|
|
11460
|
+
},
|
|
11461
|
+
"target-org": {
|
|
11462
|
+
"aliases": [
|
|
11463
|
+
"targetusername",
|
|
11464
|
+
"u"
|
|
11465
|
+
],
|
|
11466
|
+
"char": "o",
|
|
11467
|
+
"deprecateAliases": true,
|
|
11468
|
+
"name": "target-org",
|
|
11469
|
+
"noCacheDefault": true,
|
|
11470
|
+
"required": true,
|
|
11471
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
11472
|
+
"hasDynamicHelp": true,
|
|
11473
|
+
"multiple": false,
|
|
11474
|
+
"type": "option"
|
|
11475
|
+
}
|
|
11476
|
+
},
|
|
11477
|
+
"hasDynamicHelp": true,
|
|
11478
|
+
"hiddenAliases": [],
|
|
11479
|
+
"id": "hardis:project:fix:profiletabs",
|
|
11480
|
+
"pluginAlias": "sfdx-hardis",
|
|
11481
|
+
"pluginName": "sfdx-hardis",
|
|
11482
|
+
"pluginType": "core",
|
|
11483
|
+
"strict": true,
|
|
11484
|
+
"enableJsonFlag": true,
|
|
11485
|
+
"title": "Fix profiles to add tabs that are not retrieved by SF CLI",
|
|
11486
|
+
"requiresProject": true,
|
|
11487
|
+
"isESM": true,
|
|
11488
|
+
"relativePath": [
|
|
11489
|
+
"lib",
|
|
11490
|
+
"commands",
|
|
11491
|
+
"hardis",
|
|
11492
|
+
"project",
|
|
11493
|
+
"fix",
|
|
11494
|
+
"profiletabs.js"
|
|
11495
|
+
],
|
|
11496
|
+
"aliasPermutations": [],
|
|
11497
|
+
"permutations": [
|
|
11498
|
+
"hardis:project:fix:profiletabs",
|
|
11499
|
+
"project:hardis:fix:profiletabs",
|
|
11500
|
+
"project:fix:hardis:profiletabs",
|
|
11501
|
+
"project:fix:profiletabs:hardis",
|
|
11502
|
+
"hardis:fix:project:profiletabs",
|
|
11503
|
+
"fix:hardis:project:profiletabs",
|
|
11504
|
+
"fix:project:hardis:profiletabs",
|
|
11505
|
+
"fix:project:profiletabs:hardis",
|
|
11506
|
+
"hardis:fix:profiletabs:project",
|
|
11507
|
+
"fix:hardis:profiletabs:project",
|
|
11508
|
+
"fix:profiletabs:hardis:project",
|
|
11509
|
+
"fix:profiletabs:project:hardis",
|
|
11510
|
+
"hardis:project:profiletabs:fix",
|
|
11511
|
+
"project:hardis:profiletabs:fix",
|
|
11512
|
+
"project:profiletabs:hardis:fix",
|
|
11513
|
+
"project:profiletabs:fix:hardis",
|
|
11514
|
+
"hardis:profiletabs:project:fix",
|
|
11515
|
+
"profiletabs:hardis:project:fix",
|
|
11516
|
+
"profiletabs:project:hardis:fix",
|
|
11517
|
+
"profiletabs:project:fix:hardis",
|
|
11518
|
+
"hardis:profiletabs:fix:project",
|
|
11519
|
+
"profiletabs:hardis:fix:project",
|
|
11520
|
+
"profiletabs:fix:hardis:project",
|
|
11521
|
+
"profiletabs:fix:project:hardis"
|
|
11522
|
+
]
|
|
11523
|
+
},
|
|
11524
|
+
"hardis:project:fix:v53flexipages": {
|
|
11525
|
+
"aliases": [],
|
|
11526
|
+
"args": {},
|
|
11527
|
+
"description": "\n## Command Behavior\n\n**Fixes Salesforce FlexiPages for compatibility with API Version 53.0 (Winter '22 release) by adding missing identifiers to component instances.**\n\nSalesforce introduced a change in API Version 53.0 that requires `identifier` tags within `componentInstance` and `fieldInstance` elements in FlexiPage metadata. If these identifiers are missing, deployments to orgs with API version 53.0 or higher will fail. This command automates the process of adding these missing identifiers, ensuring your FlexiPages remain deployable.\n\nKey functionalities:\n\n- **Targeted FlexiPage Processing:** Scans all .flexipage-meta.xml files within the specified root folder (defaults to current working directory).\n- **Identifier Injection:** Inserts a unique `identifier` tag (e.g., `SFDX_HARDIS_REPLACEMENT_ID`) into `componentInstance` and `fieldInstance` elements that lack one.\n\n**Important Note:** After running this command, ensure you update your `apiVersion` to `53.0` (or higher) in your `package.xml` and `sfdx-project.json` files.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **File Discovery:** Uses `glob` to find all .flexipage-meta.xml files.\n- **Content Reading:** Reads the XML content of each FlexiPage file.\n- **Regular Expression Replacement:** Employs a set of regular expressions to identify specific XML patterns (componentName.../componentName.../componentInstance, componentName.../componentName.../visibilityRule, fieldItem.../fieldItem.../fieldInstance) that are missing the `identifier` tag.\n- **Dynamic ID Generation:** For each match, it generates a unique identifier (e.g., `sfdxHardisIdX`) and injects it into the XML structure.\n- **File Writing:** If changes are made, the modified XML content is written back to the FlexiPage file using `fs.writeFile`.\n- **Logging:** Provides messages about which FlexiPages are being processed and a summary of the total number of identifiers added.\n</details>\n",
|
|
11528
|
+
"examples": [
|
|
11529
|
+
"$ sf hardis:project:fix:v53flexipages"
|
|
11530
|
+
],
|
|
11531
|
+
"flags": {
|
|
11532
|
+
"json": {
|
|
11533
|
+
"description": "Format output as json.",
|
|
11534
|
+
"helpGroup": "GLOBAL",
|
|
11535
|
+
"name": "json",
|
|
11536
|
+
"allowNo": false,
|
|
11537
|
+
"type": "boolean"
|
|
11538
|
+
},
|
|
11539
|
+
"flags-dir": {
|
|
11540
|
+
"helpGroup": "GLOBAL",
|
|
11541
|
+
"name": "flags-dir",
|
|
11542
|
+
"summary": "Import flag values from a directory.",
|
|
11543
|
+
"hasDynamicHelp": false,
|
|
11544
|
+
"multiple": false,
|
|
11545
|
+
"type": "option"
|
|
11546
|
+
},
|
|
11547
|
+
"path": {
|
|
11548
|
+
"char": "p",
|
|
11549
|
+
"description": "Root folder",
|
|
11550
|
+
"name": "path",
|
|
11551
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
11552
|
+
"hasDynamicHelp": false,
|
|
11553
|
+
"multiple": false,
|
|
11554
|
+
"type": "option"
|
|
11555
|
+
},
|
|
11556
|
+
"debug": {
|
|
11557
|
+
"char": "d",
|
|
11558
|
+
"description": "Activate debug mode (more logs)",
|
|
11559
|
+
"name": "debug",
|
|
11560
|
+
"allowNo": false,
|
|
11561
|
+
"type": "boolean"
|
|
11562
|
+
},
|
|
11563
|
+
"websocket": {
|
|
11564
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11565
|
+
"name": "websocket",
|
|
11566
|
+
"hasDynamicHelp": false,
|
|
11567
|
+
"multiple": false,
|
|
11568
|
+
"type": "option"
|
|
11569
|
+
},
|
|
11570
|
+
"skipauth": {
|
|
11571
|
+
"description": "Skip authentication check when a default username is required",
|
|
11572
|
+
"name": "skipauth",
|
|
11573
|
+
"allowNo": false,
|
|
11574
|
+
"type": "boolean"
|
|
11575
|
+
}
|
|
11576
|
+
},
|
|
11577
|
+
"hasDynamicHelp": false,
|
|
11578
|
+
"hiddenAliases": [],
|
|
11579
|
+
"id": "hardis:project:fix:v53flexipages",
|
|
11580
|
+
"pluginAlias": "sfdx-hardis",
|
|
11581
|
+
"pluginName": "sfdx-hardis",
|
|
11582
|
+
"pluginType": "core",
|
|
11583
|
+
"strict": true,
|
|
11584
|
+
"enableJsonFlag": true,
|
|
11585
|
+
"title": "Fix flexipages for v53",
|
|
11586
|
+
"requiresProject": true,
|
|
11587
|
+
"isESM": true,
|
|
11588
|
+
"relativePath": [
|
|
11589
|
+
"lib",
|
|
11590
|
+
"commands",
|
|
11591
|
+
"hardis",
|
|
11592
|
+
"project",
|
|
11593
|
+
"fix",
|
|
11594
|
+
"v53flexipages.js"
|
|
11595
|
+
],
|
|
11596
|
+
"aliasPermutations": [],
|
|
11597
|
+
"permutations": [
|
|
11598
|
+
"hardis:project:fix:v53flexipages",
|
|
11599
|
+
"project:hardis:fix:v53flexipages",
|
|
11600
|
+
"project:fix:hardis:v53flexipages",
|
|
11601
|
+
"project:fix:v53flexipages:hardis",
|
|
11602
|
+
"hardis:fix:project:v53flexipages",
|
|
11603
|
+
"fix:hardis:project:v53flexipages",
|
|
11604
|
+
"fix:project:hardis:v53flexipages",
|
|
11605
|
+
"fix:project:v53flexipages:hardis",
|
|
11606
|
+
"hardis:fix:v53flexipages:project",
|
|
11607
|
+
"fix:hardis:v53flexipages:project",
|
|
11608
|
+
"fix:v53flexipages:hardis:project",
|
|
11609
|
+
"fix:v53flexipages:project:hardis",
|
|
11610
|
+
"hardis:project:v53flexipages:fix",
|
|
11611
|
+
"project:hardis:v53flexipages:fix",
|
|
11612
|
+
"project:v53flexipages:hardis:fix",
|
|
11613
|
+
"project:v53flexipages:fix:hardis",
|
|
11614
|
+
"hardis:v53flexipages:project:fix",
|
|
11615
|
+
"v53flexipages:hardis:project:fix",
|
|
11616
|
+
"v53flexipages:project:hardis:fix",
|
|
11617
|
+
"v53flexipages:project:fix:hardis",
|
|
11618
|
+
"hardis:v53flexipages:fix:project",
|
|
11619
|
+
"v53flexipages:hardis:fix:project",
|
|
11620
|
+
"v53flexipages:fix:hardis:project",
|
|
11621
|
+
"v53flexipages:fix:project:hardis"
|
|
11622
|
+
]
|
|
11623
|
+
},
|
|
11409
11624
|
"hardis:project:deploy:notify": {
|
|
11410
11625
|
"aliases": [],
|
|
11411
11626
|
"args": {},
|
|
@@ -12581,221 +12796,6 @@
|
|
|
12581
12796
|
"validate:deploy:project:hardis"
|
|
12582
12797
|
]
|
|
12583
12798
|
},
|
|
12584
|
-
"hardis:project:fix:profiletabs": {
|
|
12585
|
-
"aliases": [],
|
|
12586
|
-
"args": {},
|
|
12587
|
-
"description": "\n## Command Behavior\n\n**Interactively updates tab visibility settings in Salesforce profiles, addressing a common issue where tab visibilities are not correctly retrieved by `sf project retrieve start`.**\n\nThis command provides a user-friendly interface to manage tab settings within your profile XML files, ensuring that your local project accurately reflects the intended tab configurations in your Salesforce org.\n\nKey functionalities:\n\n- **Interactive Tab Selection:** Displays a multi-select menu of all available tabs in your org, allowing you to choose which tabs to update.\n- **Visibility Control:** Lets you set the visibility for the selected tabs to either `DefaultOn` (Visible) or `Hidden`.\n- **Profile Selection:** Presents a multi-select menu of all .profile-meta.xml files in your project, allowing you to apply the tab visibility changes to specific profiles.\n- **XML Updates:** Modifies the <tabVisibilities> section of the selected profile XML files to reflect the chosen tab settings. If a tab visibility setting already exists for a selected tab, it will be updated; otherwise, a new one will be added.\n- **Sorted Output:** The <tabVisibilities> in the updated profile XML files are sorted alphabetically for consistency and readability.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **SOQL Queries (Tooling API):** It queries the `TabDefinition` object using `soqlQueryTooling` to retrieve a list of all available tabs in the target org.\n- **File Discovery:** Uses `glob` to find all .profile-meta.xml files within the specified project path.\n- **Interactive Prompts:** Leverages the `prompts` library to create interactive menus for selecting tabs, visibility settings, and profiles.\n- **XML Parsing and Manipulation:** Uses `parseXmlFile` to read the content of profile XML files and `writeXmlFile` to write the modified content back. It manipulates the `tabVisibilities` array within the parsed XML to add or update tab settings.\n- **Array Sorting:** Employs the `sort-array` library to sort the `tabVisibilities` alphabetically by tab name.\n- **Logging:** Provides feedback to the user about which profiles have been updated and a summary of the changes.\n</details>\n",
|
|
12588
|
-
"examples": [
|
|
12589
|
-
"$ sf hardis:project:fix:profiletabs"
|
|
12590
|
-
],
|
|
12591
|
-
"flags": {
|
|
12592
|
-
"json": {
|
|
12593
|
-
"description": "Format output as json.",
|
|
12594
|
-
"helpGroup": "GLOBAL",
|
|
12595
|
-
"name": "json",
|
|
12596
|
-
"allowNo": false,
|
|
12597
|
-
"type": "boolean"
|
|
12598
|
-
},
|
|
12599
|
-
"flags-dir": {
|
|
12600
|
-
"helpGroup": "GLOBAL",
|
|
12601
|
-
"name": "flags-dir",
|
|
12602
|
-
"summary": "Import flag values from a directory.",
|
|
12603
|
-
"hasDynamicHelp": false,
|
|
12604
|
-
"multiple": false,
|
|
12605
|
-
"type": "option"
|
|
12606
|
-
},
|
|
12607
|
-
"path": {
|
|
12608
|
-
"char": "p",
|
|
12609
|
-
"description": "Root folder",
|
|
12610
|
-
"name": "path",
|
|
12611
|
-
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12612
|
-
"hasDynamicHelp": false,
|
|
12613
|
-
"multiple": false,
|
|
12614
|
-
"type": "option"
|
|
12615
|
-
},
|
|
12616
|
-
"debug": {
|
|
12617
|
-
"char": "d",
|
|
12618
|
-
"description": "Activate debug mode (more logs)",
|
|
12619
|
-
"name": "debug",
|
|
12620
|
-
"allowNo": false,
|
|
12621
|
-
"type": "boolean"
|
|
12622
|
-
},
|
|
12623
|
-
"websocket": {
|
|
12624
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12625
|
-
"name": "websocket",
|
|
12626
|
-
"hasDynamicHelp": false,
|
|
12627
|
-
"multiple": false,
|
|
12628
|
-
"type": "option"
|
|
12629
|
-
},
|
|
12630
|
-
"skipauth": {
|
|
12631
|
-
"description": "Skip authentication check when a default username is required",
|
|
12632
|
-
"name": "skipauth",
|
|
12633
|
-
"allowNo": false,
|
|
12634
|
-
"type": "boolean"
|
|
12635
|
-
},
|
|
12636
|
-
"target-org": {
|
|
12637
|
-
"aliases": [
|
|
12638
|
-
"targetusername",
|
|
12639
|
-
"u"
|
|
12640
|
-
],
|
|
12641
|
-
"char": "o",
|
|
12642
|
-
"deprecateAliases": true,
|
|
12643
|
-
"name": "target-org",
|
|
12644
|
-
"noCacheDefault": true,
|
|
12645
|
-
"required": true,
|
|
12646
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
12647
|
-
"hasDynamicHelp": true,
|
|
12648
|
-
"multiple": false,
|
|
12649
|
-
"type": "option"
|
|
12650
|
-
}
|
|
12651
|
-
},
|
|
12652
|
-
"hasDynamicHelp": true,
|
|
12653
|
-
"hiddenAliases": [],
|
|
12654
|
-
"id": "hardis:project:fix:profiletabs",
|
|
12655
|
-
"pluginAlias": "sfdx-hardis",
|
|
12656
|
-
"pluginName": "sfdx-hardis",
|
|
12657
|
-
"pluginType": "core",
|
|
12658
|
-
"strict": true,
|
|
12659
|
-
"enableJsonFlag": true,
|
|
12660
|
-
"title": "Fix profiles to add tabs that are not retrieved by SF CLI",
|
|
12661
|
-
"requiresProject": true,
|
|
12662
|
-
"isESM": true,
|
|
12663
|
-
"relativePath": [
|
|
12664
|
-
"lib",
|
|
12665
|
-
"commands",
|
|
12666
|
-
"hardis",
|
|
12667
|
-
"project",
|
|
12668
|
-
"fix",
|
|
12669
|
-
"profiletabs.js"
|
|
12670
|
-
],
|
|
12671
|
-
"aliasPermutations": [],
|
|
12672
|
-
"permutations": [
|
|
12673
|
-
"hardis:project:fix:profiletabs",
|
|
12674
|
-
"project:hardis:fix:profiletabs",
|
|
12675
|
-
"project:fix:hardis:profiletabs",
|
|
12676
|
-
"project:fix:profiletabs:hardis",
|
|
12677
|
-
"hardis:fix:project:profiletabs",
|
|
12678
|
-
"fix:hardis:project:profiletabs",
|
|
12679
|
-
"fix:project:hardis:profiletabs",
|
|
12680
|
-
"fix:project:profiletabs:hardis",
|
|
12681
|
-
"hardis:fix:profiletabs:project",
|
|
12682
|
-
"fix:hardis:profiletabs:project",
|
|
12683
|
-
"fix:profiletabs:hardis:project",
|
|
12684
|
-
"fix:profiletabs:project:hardis",
|
|
12685
|
-
"hardis:project:profiletabs:fix",
|
|
12686
|
-
"project:hardis:profiletabs:fix",
|
|
12687
|
-
"project:profiletabs:hardis:fix",
|
|
12688
|
-
"project:profiletabs:fix:hardis",
|
|
12689
|
-
"hardis:profiletabs:project:fix",
|
|
12690
|
-
"profiletabs:hardis:project:fix",
|
|
12691
|
-
"profiletabs:project:hardis:fix",
|
|
12692
|
-
"profiletabs:project:fix:hardis",
|
|
12693
|
-
"hardis:profiletabs:fix:project",
|
|
12694
|
-
"profiletabs:hardis:fix:project",
|
|
12695
|
-
"profiletabs:fix:hardis:project",
|
|
12696
|
-
"profiletabs:fix:project:hardis"
|
|
12697
|
-
]
|
|
12698
|
-
},
|
|
12699
|
-
"hardis:project:fix:v53flexipages": {
|
|
12700
|
-
"aliases": [],
|
|
12701
|
-
"args": {},
|
|
12702
|
-
"description": "\n## Command Behavior\n\n**Fixes Salesforce FlexiPages for compatibility with API Version 53.0 (Winter '22 release) by adding missing identifiers to component instances.**\n\nSalesforce introduced a change in API Version 53.0 that requires `identifier` tags within `componentInstance` and `fieldInstance` elements in FlexiPage metadata. If these identifiers are missing, deployments to orgs with API version 53.0 or higher will fail. This command automates the process of adding these missing identifiers, ensuring your FlexiPages remain deployable.\n\nKey functionalities:\n\n- **Targeted FlexiPage Processing:** Scans all .flexipage-meta.xml files within the specified root folder (defaults to current working directory).\n- **Identifier Injection:** Inserts a unique `identifier` tag (e.g., `SFDX_HARDIS_REPLACEMENT_ID`) into `componentInstance` and `fieldInstance` elements that lack one.\n\n**Important Note:** After running this command, ensure you update your `apiVersion` to `53.0` (or higher) in your `package.xml` and `sfdx-project.json` files.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **File Discovery:** Uses `glob` to find all .flexipage-meta.xml files.\n- **Content Reading:** Reads the XML content of each FlexiPage file.\n- **Regular Expression Replacement:** Employs a set of regular expressions to identify specific XML patterns (componentName.../componentName.../componentInstance, componentName.../componentName.../visibilityRule, fieldItem.../fieldItem.../fieldInstance) that are missing the `identifier` tag.\n- **Dynamic ID Generation:** For each match, it generates a unique identifier (e.g., `sfdxHardisIdX`) and injects it into the XML structure.\n- **File Writing:** If changes are made, the modified XML content is written back to the FlexiPage file using `fs.writeFile`.\n- **Logging:** Provides messages about which FlexiPages are being processed and a summary of the total number of identifiers added.\n</details>\n",
|
|
12703
|
-
"examples": [
|
|
12704
|
-
"$ sf hardis:project:fix:v53flexipages"
|
|
12705
|
-
],
|
|
12706
|
-
"flags": {
|
|
12707
|
-
"json": {
|
|
12708
|
-
"description": "Format output as json.",
|
|
12709
|
-
"helpGroup": "GLOBAL",
|
|
12710
|
-
"name": "json",
|
|
12711
|
-
"allowNo": false,
|
|
12712
|
-
"type": "boolean"
|
|
12713
|
-
},
|
|
12714
|
-
"flags-dir": {
|
|
12715
|
-
"helpGroup": "GLOBAL",
|
|
12716
|
-
"name": "flags-dir",
|
|
12717
|
-
"summary": "Import flag values from a directory.",
|
|
12718
|
-
"hasDynamicHelp": false,
|
|
12719
|
-
"multiple": false,
|
|
12720
|
-
"type": "option"
|
|
12721
|
-
},
|
|
12722
|
-
"path": {
|
|
12723
|
-
"char": "p",
|
|
12724
|
-
"description": "Root folder",
|
|
12725
|
-
"name": "path",
|
|
12726
|
-
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12727
|
-
"hasDynamicHelp": false,
|
|
12728
|
-
"multiple": false,
|
|
12729
|
-
"type": "option"
|
|
12730
|
-
},
|
|
12731
|
-
"debug": {
|
|
12732
|
-
"char": "d",
|
|
12733
|
-
"description": "Activate debug mode (more logs)",
|
|
12734
|
-
"name": "debug",
|
|
12735
|
-
"allowNo": false,
|
|
12736
|
-
"type": "boolean"
|
|
12737
|
-
},
|
|
12738
|
-
"websocket": {
|
|
12739
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12740
|
-
"name": "websocket",
|
|
12741
|
-
"hasDynamicHelp": false,
|
|
12742
|
-
"multiple": false,
|
|
12743
|
-
"type": "option"
|
|
12744
|
-
},
|
|
12745
|
-
"skipauth": {
|
|
12746
|
-
"description": "Skip authentication check when a default username is required",
|
|
12747
|
-
"name": "skipauth",
|
|
12748
|
-
"allowNo": false,
|
|
12749
|
-
"type": "boolean"
|
|
12750
|
-
}
|
|
12751
|
-
},
|
|
12752
|
-
"hasDynamicHelp": false,
|
|
12753
|
-
"hiddenAliases": [],
|
|
12754
|
-
"id": "hardis:project:fix:v53flexipages",
|
|
12755
|
-
"pluginAlias": "sfdx-hardis",
|
|
12756
|
-
"pluginName": "sfdx-hardis",
|
|
12757
|
-
"pluginType": "core",
|
|
12758
|
-
"strict": true,
|
|
12759
|
-
"enableJsonFlag": true,
|
|
12760
|
-
"title": "Fix flexipages for v53",
|
|
12761
|
-
"requiresProject": true,
|
|
12762
|
-
"isESM": true,
|
|
12763
|
-
"relativePath": [
|
|
12764
|
-
"lib",
|
|
12765
|
-
"commands",
|
|
12766
|
-
"hardis",
|
|
12767
|
-
"project",
|
|
12768
|
-
"fix",
|
|
12769
|
-
"v53flexipages.js"
|
|
12770
|
-
],
|
|
12771
|
-
"aliasPermutations": [],
|
|
12772
|
-
"permutations": [
|
|
12773
|
-
"hardis:project:fix:v53flexipages",
|
|
12774
|
-
"project:hardis:fix:v53flexipages",
|
|
12775
|
-
"project:fix:hardis:v53flexipages",
|
|
12776
|
-
"project:fix:v53flexipages:hardis",
|
|
12777
|
-
"hardis:fix:project:v53flexipages",
|
|
12778
|
-
"fix:hardis:project:v53flexipages",
|
|
12779
|
-
"fix:project:hardis:v53flexipages",
|
|
12780
|
-
"fix:project:v53flexipages:hardis",
|
|
12781
|
-
"hardis:fix:v53flexipages:project",
|
|
12782
|
-
"fix:hardis:v53flexipages:project",
|
|
12783
|
-
"fix:v53flexipages:hardis:project",
|
|
12784
|
-
"fix:v53flexipages:project:hardis",
|
|
12785
|
-
"hardis:project:v53flexipages:fix",
|
|
12786
|
-
"project:hardis:v53flexipages:fix",
|
|
12787
|
-
"project:v53flexipages:hardis:fix",
|
|
12788
|
-
"project:v53flexipages:fix:hardis",
|
|
12789
|
-
"hardis:v53flexipages:project:fix",
|
|
12790
|
-
"v53flexipages:hardis:project:fix",
|
|
12791
|
-
"v53flexipages:project:hardis:fix",
|
|
12792
|
-
"v53flexipages:project:fix:hardis",
|
|
12793
|
-
"hardis:v53flexipages:fix:project",
|
|
12794
|
-
"v53flexipages:hardis:fix:project",
|
|
12795
|
-
"v53flexipages:fix:hardis:project",
|
|
12796
|
-
"v53flexipages:fix:project:hardis"
|
|
12797
|
-
]
|
|
12798
|
-
},
|
|
12799
12799
|
"hardis:project:generate:bypass": {
|
|
12800
12800
|
"aliases": [],
|
|
12801
12801
|
"args": {},
|
|
@@ -15369,5 +15369,5 @@
|
|
|
15369
15369
|
]
|
|
15370
15370
|
}
|
|
15371
15371
|
},
|
|
15372
|
-
"version": "6.7.2
|
|
15372
|
+
"version": "6.7.2"
|
|
15373
15373
|
}
|