sfdx-hardis 6.15.2-beta202512140349.0 → 6.16.1-alpha202512161824.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/lib/commands/hardis/org/diagnose/legacyapi.d.ts +32 -8
- package/lib/commands/hardis/org/diagnose/legacyapi.js +272 -78
- package/lib/commands/hardis/org/diagnose/legacyapi.js.map +1 -1
- package/lib/common/notifProvider/apiProvider.d.ts +2 -0
- package/lib/common/notifProvider/apiProvider.js +28 -4
- package/lib/common/notifProvider/apiProvider.js.map +1 -1
- package/lib/common/utils/filesUtils.d.ts +6 -0
- package/lib/common/utils/filesUtils.js +1 -1
- package/lib/common/utils/filesUtils.js.map +1 -1
- package/oclif.manifest.json +488 -488
- package/package.json +1 -1
- package/CHANGELOG.md +0 -3660
- package/defaults/monitoring/.gitignore +0 -56
- package/yarn.lock +0 -13799
package/oclif.manifest.json
CHANGED
|
@@ -132,13 +132,12 @@
|
|
|
132
132
|
"clear:cache:hardis"
|
|
133
133
|
]
|
|
134
134
|
},
|
|
135
|
-
"hardis:
|
|
135
|
+
"hardis:config:get": {
|
|
136
136
|
"aliases": [],
|
|
137
137
|
"args": {},
|
|
138
|
-
"description": "\n## Command Behavior\n\n**
|
|
138
|
+
"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",
|
|
139
139
|
"examples": [
|
|
140
|
-
"$ sf hardis:
|
|
141
|
-
"CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
|
|
140
|
+
"$ sf hardis:project:deploy:sources:metadata"
|
|
142
141
|
],
|
|
143
142
|
"flags": {
|
|
144
143
|
"json": {
|
|
@@ -156,28 +155,20 @@
|
|
|
156
155
|
"multiple": false,
|
|
157
156
|
"type": "option"
|
|
158
157
|
},
|
|
159
|
-
"
|
|
160
|
-
"char": "
|
|
161
|
-
"description": "
|
|
162
|
-
"name": "
|
|
158
|
+
"level": {
|
|
159
|
+
"char": "l",
|
|
160
|
+
"description": "project,branch or user",
|
|
161
|
+
"name": "level",
|
|
162
|
+
"default": "project",
|
|
163
163
|
"hasDynamicHelp": false,
|
|
164
164
|
"multiple": false,
|
|
165
|
+
"options": [
|
|
166
|
+
"project",
|
|
167
|
+
"branch",
|
|
168
|
+
"user"
|
|
169
|
+
],
|
|
165
170
|
"type": "option"
|
|
166
171
|
},
|
|
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
|
-
},
|
|
181
172
|
"debug": {
|
|
182
173
|
"char": "d",
|
|
183
174
|
"description": "Activate debug mode (more logs)",
|
|
@@ -201,38 +192,39 @@
|
|
|
201
192
|
},
|
|
202
193
|
"hasDynamicHelp": false,
|
|
203
194
|
"hiddenAliases": [],
|
|
204
|
-
"id": "hardis:
|
|
195
|
+
"id": "hardis:config:get",
|
|
205
196
|
"pluginAlias": "sfdx-hardis",
|
|
206
197
|
"pluginName": "sfdx-hardis",
|
|
207
198
|
"pluginType": "core",
|
|
208
199
|
"strict": true,
|
|
209
200
|
"enableJsonFlag": true,
|
|
210
|
-
"title": "
|
|
201
|
+
"title": "Deploy metadata sources to org",
|
|
211
202
|
"requiresProject": false,
|
|
212
203
|
"isESM": true,
|
|
213
204
|
"relativePath": [
|
|
214
205
|
"lib",
|
|
215
206
|
"commands",
|
|
216
207
|
"hardis",
|
|
217
|
-
"
|
|
218
|
-
"
|
|
208
|
+
"config",
|
|
209
|
+
"get.js"
|
|
219
210
|
],
|
|
220
211
|
"aliasPermutations": [],
|
|
221
212
|
"permutations": [
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"hardis:
|
|
226
|
-
"
|
|
227
|
-
"
|
|
213
|
+
"hardis:config:get",
|
|
214
|
+
"config:hardis:get",
|
|
215
|
+
"config:get:hardis",
|
|
216
|
+
"hardis:get:config",
|
|
217
|
+
"get:hardis:config",
|
|
218
|
+
"get:config:hardis"
|
|
228
219
|
]
|
|
229
220
|
},
|
|
230
|
-
"hardis:
|
|
221
|
+
"hardis:auth:login": {
|
|
231
222
|
"aliases": [],
|
|
232
223
|
"args": {},
|
|
233
|
-
"description": "\n## Command Behavior\n\n**
|
|
224
|
+
"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",
|
|
234
225
|
"examples": [
|
|
235
|
-
"$ sf hardis:
|
|
226
|
+
"$ sf hardis:auth:login",
|
|
227
|
+
"CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
|
|
236
228
|
],
|
|
237
229
|
"flags": {
|
|
238
230
|
"json": {
|
|
@@ -250,20 +242,28 @@
|
|
|
250
242
|
"multiple": false,
|
|
251
243
|
"type": "option"
|
|
252
244
|
},
|
|
253
|
-
"
|
|
254
|
-
"char": "
|
|
255
|
-
"description": "
|
|
256
|
-
"name": "
|
|
257
|
-
"default": "project",
|
|
245
|
+
"instanceurl": {
|
|
246
|
+
"char": "r",
|
|
247
|
+
"description": "URL of org instance",
|
|
248
|
+
"name": "instanceurl",
|
|
258
249
|
"hasDynamicHelp": false,
|
|
259
250
|
"multiple": false,
|
|
260
|
-
"options": [
|
|
261
|
-
"project",
|
|
262
|
-
"branch",
|
|
263
|
-
"user"
|
|
264
|
-
],
|
|
265
251
|
"type": "option"
|
|
266
252
|
},
|
|
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:auth:login",
|
|
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": "Login",
|
|
297
297
|
"requiresProject": false,
|
|
298
298
|
"isESM": true,
|
|
299
299
|
"relativePath": [
|
|
300
300
|
"lib",
|
|
301
301
|
"commands",
|
|
302
302
|
"hardis",
|
|
303
|
-
"
|
|
304
|
-
"
|
|
303
|
+
"auth",
|
|
304
|
+
"login.js"
|
|
305
305
|
],
|
|
306
306
|
"aliasPermutations": [],
|
|
307
307
|
"permutations": [
|
|
308
|
-
"hardis:
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
"hardis:
|
|
312
|
-
"
|
|
313
|
-
"
|
|
308
|
+
"hardis:auth:login",
|
|
309
|
+
"auth:hardis:login",
|
|
310
|
+
"auth:login:hardis",
|
|
311
|
+
"hardis:login:auth",
|
|
312
|
+
"login:hardis:auth",
|
|
313
|
+
"login:auth:hardis"
|
|
314
314
|
]
|
|
315
315
|
},
|
|
316
316
|
"hardis:doc:fieldusage": {
|
|
@@ -8306,6 +8306,113 @@
|
|
|
8306
8306
|
"profile:purge:org:hardis"
|
|
8307
8307
|
]
|
|
8308
8308
|
},
|
|
8309
|
+
"hardis:org:retrieve:packageconfig": {
|
|
8310
|
+
"aliases": [],
|
|
8311
|
+
"args": {},
|
|
8312
|
+
"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",
|
|
8313
|
+
"examples": [
|
|
8314
|
+
"$ sf hardis:org:retrieve:packageconfig",
|
|
8315
|
+
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
8316
|
+
],
|
|
8317
|
+
"flags": {
|
|
8318
|
+
"json": {
|
|
8319
|
+
"description": "Format output as json.",
|
|
8320
|
+
"helpGroup": "GLOBAL",
|
|
8321
|
+
"name": "json",
|
|
8322
|
+
"allowNo": false,
|
|
8323
|
+
"type": "boolean"
|
|
8324
|
+
},
|
|
8325
|
+
"flags-dir": {
|
|
8326
|
+
"helpGroup": "GLOBAL",
|
|
8327
|
+
"name": "flags-dir",
|
|
8328
|
+
"summary": "Import flag values from a directory.",
|
|
8329
|
+
"hasDynamicHelp": false,
|
|
8330
|
+
"multiple": false,
|
|
8331
|
+
"type": "option"
|
|
8332
|
+
},
|
|
8333
|
+
"debug": {
|
|
8334
|
+
"char": "d",
|
|
8335
|
+
"description": "Activate debug mode (more logs)",
|
|
8336
|
+
"name": "debug",
|
|
8337
|
+
"allowNo": false,
|
|
8338
|
+
"type": "boolean"
|
|
8339
|
+
},
|
|
8340
|
+
"websocket": {
|
|
8341
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
8342
|
+
"name": "websocket",
|
|
8343
|
+
"hasDynamicHelp": false,
|
|
8344
|
+
"multiple": false,
|
|
8345
|
+
"type": "option"
|
|
8346
|
+
},
|
|
8347
|
+
"skipauth": {
|
|
8348
|
+
"description": "Skip authentication check when a default username is required",
|
|
8349
|
+
"name": "skipauth",
|
|
8350
|
+
"allowNo": false,
|
|
8351
|
+
"type": "boolean"
|
|
8352
|
+
},
|
|
8353
|
+
"target-org": {
|
|
8354
|
+
"aliases": [
|
|
8355
|
+
"targetusername",
|
|
8356
|
+
"u"
|
|
8357
|
+
],
|
|
8358
|
+
"char": "o",
|
|
8359
|
+
"deprecateAliases": true,
|
|
8360
|
+
"name": "target-org",
|
|
8361
|
+
"noCacheDefault": true,
|
|
8362
|
+
"required": true,
|
|
8363
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8364
|
+
"hasDynamicHelp": true,
|
|
8365
|
+
"multiple": false,
|
|
8366
|
+
"type": "option"
|
|
8367
|
+
}
|
|
8368
|
+
},
|
|
8369
|
+
"hasDynamicHelp": true,
|
|
8370
|
+
"hiddenAliases": [],
|
|
8371
|
+
"id": "hardis:org:retrieve:packageconfig",
|
|
8372
|
+
"pluginAlias": "sfdx-hardis",
|
|
8373
|
+
"pluginName": "sfdx-hardis",
|
|
8374
|
+
"pluginType": "core",
|
|
8375
|
+
"strict": true,
|
|
8376
|
+
"enableJsonFlag": true,
|
|
8377
|
+
"title": "Retrieve package configuration from an org",
|
|
8378
|
+
"requiresProject": false,
|
|
8379
|
+
"isESM": true,
|
|
8380
|
+
"relativePath": [
|
|
8381
|
+
"lib",
|
|
8382
|
+
"commands",
|
|
8383
|
+
"hardis",
|
|
8384
|
+
"org",
|
|
8385
|
+
"retrieve",
|
|
8386
|
+
"packageconfig.js"
|
|
8387
|
+
],
|
|
8388
|
+
"aliasPermutations": [],
|
|
8389
|
+
"permutations": [
|
|
8390
|
+
"hardis:org:retrieve:packageconfig",
|
|
8391
|
+
"org:hardis:retrieve:packageconfig",
|
|
8392
|
+
"org:retrieve:hardis:packageconfig",
|
|
8393
|
+
"org:retrieve:packageconfig:hardis",
|
|
8394
|
+
"hardis:retrieve:org:packageconfig",
|
|
8395
|
+
"retrieve:hardis:org:packageconfig",
|
|
8396
|
+
"retrieve:org:hardis:packageconfig",
|
|
8397
|
+
"retrieve:org:packageconfig:hardis",
|
|
8398
|
+
"hardis:retrieve:packageconfig:org",
|
|
8399
|
+
"retrieve:hardis:packageconfig:org",
|
|
8400
|
+
"retrieve:packageconfig:hardis:org",
|
|
8401
|
+
"retrieve:packageconfig:org:hardis",
|
|
8402
|
+
"hardis:org:packageconfig:retrieve",
|
|
8403
|
+
"org:hardis:packageconfig:retrieve",
|
|
8404
|
+
"org:packageconfig:hardis:retrieve",
|
|
8405
|
+
"org:packageconfig:retrieve:hardis",
|
|
8406
|
+
"hardis:packageconfig:org:retrieve",
|
|
8407
|
+
"packageconfig:hardis:org:retrieve",
|
|
8408
|
+
"packageconfig:org:hardis:retrieve",
|
|
8409
|
+
"packageconfig:org:retrieve:hardis",
|
|
8410
|
+
"hardis:packageconfig:retrieve:org",
|
|
8411
|
+
"packageconfig:hardis:retrieve:org",
|
|
8412
|
+
"packageconfig:retrieve:hardis:org",
|
|
8413
|
+
"packageconfig:retrieve:org:hardis"
|
|
8414
|
+
]
|
|
8415
|
+
},
|
|
8309
8416
|
"hardis:org:refresh:after-refresh": {
|
|
8310
8417
|
"aliases": [],
|
|
8311
8418
|
"args": {},
|
|
@@ -8545,13 +8652,12 @@
|
|
|
8545
8652
|
"before-refresh:refresh:org:hardis"
|
|
8546
8653
|
]
|
|
8547
8654
|
},
|
|
8548
|
-
"hardis:org:
|
|
8655
|
+
"hardis:org:test:apex": {
|
|
8549
8656
|
"aliases": [],
|
|
8550
8657
|
"args": {},
|
|
8551
|
-
"description": "
|
|
8658
|
+
"description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 120 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
8552
8659
|
"examples": [
|
|
8553
|
-
"$ sf hardis:org:
|
|
8554
|
-
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
8660
|
+
"$ sf hardis:org:test:apex"
|
|
8555
8661
|
],
|
|
8556
8662
|
"flags": {
|
|
8557
8663
|
"json": {
|
|
@@ -8569,6 +8675,21 @@
|
|
|
8569
8675
|
"multiple": false,
|
|
8570
8676
|
"type": "option"
|
|
8571
8677
|
},
|
|
8678
|
+
"testlevel": {
|
|
8679
|
+
"char": "l",
|
|
8680
|
+
"description": "Level of tests to apply to validate deployment",
|
|
8681
|
+
"name": "testlevel",
|
|
8682
|
+
"default": "RunLocalTests",
|
|
8683
|
+
"hasDynamicHelp": false,
|
|
8684
|
+
"multiple": false,
|
|
8685
|
+
"options": [
|
|
8686
|
+
"NoTestRun",
|
|
8687
|
+
"RunSpecifiedTests",
|
|
8688
|
+
"RunLocalTests",
|
|
8689
|
+
"RunAllTestsInOrg"
|
|
8690
|
+
],
|
|
8691
|
+
"type": "option"
|
|
8692
|
+
},
|
|
8572
8693
|
"debug": {
|
|
8573
8694
|
"char": "d",
|
|
8574
8695
|
"description": "Activate debug mode (more logs)",
|
|
@@ -8607,142 +8728,21 @@
|
|
|
8607
8728
|
},
|
|
8608
8729
|
"hasDynamicHelp": true,
|
|
8609
8730
|
"hiddenAliases": [],
|
|
8610
|
-
"id": "hardis:org:
|
|
8731
|
+
"id": "hardis:org:test:apex",
|
|
8611
8732
|
"pluginAlias": "sfdx-hardis",
|
|
8612
8733
|
"pluginName": "sfdx-hardis",
|
|
8613
8734
|
"pluginType": "core",
|
|
8614
8735
|
"strict": true,
|
|
8615
8736
|
"enableJsonFlag": true,
|
|
8616
|
-
"title": "
|
|
8617
|
-
"requiresProject": false,
|
|
8737
|
+
"title": "Run apex tests",
|
|
8618
8738
|
"isESM": true,
|
|
8619
8739
|
"relativePath": [
|
|
8620
8740
|
"lib",
|
|
8621
8741
|
"commands",
|
|
8622
8742
|
"hardis",
|
|
8623
8743
|
"org",
|
|
8624
|
-
"
|
|
8625
|
-
"
|
|
8626
|
-
],
|
|
8627
|
-
"aliasPermutations": [],
|
|
8628
|
-
"permutations": [
|
|
8629
|
-
"hardis:org:retrieve:packageconfig",
|
|
8630
|
-
"org:hardis:retrieve:packageconfig",
|
|
8631
|
-
"org:retrieve:hardis:packageconfig",
|
|
8632
|
-
"org:retrieve:packageconfig:hardis",
|
|
8633
|
-
"hardis:retrieve:org:packageconfig",
|
|
8634
|
-
"retrieve:hardis:org:packageconfig",
|
|
8635
|
-
"retrieve:org:hardis:packageconfig",
|
|
8636
|
-
"retrieve:org:packageconfig:hardis",
|
|
8637
|
-
"hardis:retrieve:packageconfig:org",
|
|
8638
|
-
"retrieve:hardis:packageconfig:org",
|
|
8639
|
-
"retrieve:packageconfig:hardis:org",
|
|
8640
|
-
"retrieve:packageconfig:org:hardis",
|
|
8641
|
-
"hardis:org:packageconfig:retrieve",
|
|
8642
|
-
"org:hardis:packageconfig:retrieve",
|
|
8643
|
-
"org:packageconfig:hardis:retrieve",
|
|
8644
|
-
"org:packageconfig:retrieve:hardis",
|
|
8645
|
-
"hardis:packageconfig:org:retrieve",
|
|
8646
|
-
"packageconfig:hardis:org:retrieve",
|
|
8647
|
-
"packageconfig:org:hardis:retrieve",
|
|
8648
|
-
"packageconfig:org:retrieve:hardis",
|
|
8649
|
-
"hardis:packageconfig:retrieve:org",
|
|
8650
|
-
"packageconfig:hardis:retrieve:org",
|
|
8651
|
-
"packageconfig:retrieve:hardis:org",
|
|
8652
|
-
"packageconfig:retrieve:org:hardis"
|
|
8653
|
-
]
|
|
8654
|
-
},
|
|
8655
|
-
"hardis:org:test:apex": {
|
|
8656
|
-
"aliases": [],
|
|
8657
|
-
"args": {},
|
|
8658
|
-
"description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 120 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
8659
|
-
"examples": [
|
|
8660
|
-
"$ sf hardis:org:test:apex"
|
|
8661
|
-
],
|
|
8662
|
-
"flags": {
|
|
8663
|
-
"json": {
|
|
8664
|
-
"description": "Format output as json.",
|
|
8665
|
-
"helpGroup": "GLOBAL",
|
|
8666
|
-
"name": "json",
|
|
8667
|
-
"allowNo": false,
|
|
8668
|
-
"type": "boolean"
|
|
8669
|
-
},
|
|
8670
|
-
"flags-dir": {
|
|
8671
|
-
"helpGroup": "GLOBAL",
|
|
8672
|
-
"name": "flags-dir",
|
|
8673
|
-
"summary": "Import flag values from a directory.",
|
|
8674
|
-
"hasDynamicHelp": false,
|
|
8675
|
-
"multiple": false,
|
|
8676
|
-
"type": "option"
|
|
8677
|
-
},
|
|
8678
|
-
"testlevel": {
|
|
8679
|
-
"char": "l",
|
|
8680
|
-
"description": "Level of tests to apply to validate deployment",
|
|
8681
|
-
"name": "testlevel",
|
|
8682
|
-
"default": "RunLocalTests",
|
|
8683
|
-
"hasDynamicHelp": false,
|
|
8684
|
-
"multiple": false,
|
|
8685
|
-
"options": [
|
|
8686
|
-
"NoTestRun",
|
|
8687
|
-
"RunSpecifiedTests",
|
|
8688
|
-
"RunLocalTests",
|
|
8689
|
-
"RunAllTestsInOrg"
|
|
8690
|
-
],
|
|
8691
|
-
"type": "option"
|
|
8692
|
-
},
|
|
8693
|
-
"debug": {
|
|
8694
|
-
"char": "d",
|
|
8695
|
-
"description": "Activate debug mode (more logs)",
|
|
8696
|
-
"name": "debug",
|
|
8697
|
-
"allowNo": false,
|
|
8698
|
-
"type": "boolean"
|
|
8699
|
-
},
|
|
8700
|
-
"websocket": {
|
|
8701
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
8702
|
-
"name": "websocket",
|
|
8703
|
-
"hasDynamicHelp": false,
|
|
8704
|
-
"multiple": false,
|
|
8705
|
-
"type": "option"
|
|
8706
|
-
},
|
|
8707
|
-
"skipauth": {
|
|
8708
|
-
"description": "Skip authentication check when a default username is required",
|
|
8709
|
-
"name": "skipauth",
|
|
8710
|
-
"allowNo": false,
|
|
8711
|
-
"type": "boolean"
|
|
8712
|
-
},
|
|
8713
|
-
"target-org": {
|
|
8714
|
-
"aliases": [
|
|
8715
|
-
"targetusername",
|
|
8716
|
-
"u"
|
|
8717
|
-
],
|
|
8718
|
-
"char": "o",
|
|
8719
|
-
"deprecateAliases": true,
|
|
8720
|
-
"name": "target-org",
|
|
8721
|
-
"noCacheDefault": true,
|
|
8722
|
-
"required": true,
|
|
8723
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
8724
|
-
"hasDynamicHelp": true,
|
|
8725
|
-
"multiple": false,
|
|
8726
|
-
"type": "option"
|
|
8727
|
-
}
|
|
8728
|
-
},
|
|
8729
|
-
"hasDynamicHelp": true,
|
|
8730
|
-
"hiddenAliases": [],
|
|
8731
|
-
"id": "hardis:org:test:apex",
|
|
8732
|
-
"pluginAlias": "sfdx-hardis",
|
|
8733
|
-
"pluginName": "sfdx-hardis",
|
|
8734
|
-
"pluginType": "core",
|
|
8735
|
-
"strict": true,
|
|
8736
|
-
"enableJsonFlag": true,
|
|
8737
|
-
"title": "Run apex tests",
|
|
8738
|
-
"isESM": true,
|
|
8739
|
-
"relativePath": [
|
|
8740
|
-
"lib",
|
|
8741
|
-
"commands",
|
|
8742
|
-
"hardis",
|
|
8743
|
-
"org",
|
|
8744
|
-
"test",
|
|
8745
|
-
"apex.js"
|
|
8744
|
+
"test",
|
|
8745
|
+
"apex.js"
|
|
8746
8746
|
],
|
|
8747
8747
|
"aliasPermutations": [],
|
|
8748
8748
|
"permutations": [
|
|
@@ -11757,14 +11757,12 @@
|
|
|
11757
11757
|
"xml:clean:project:hardis"
|
|
11758
11758
|
]
|
|
11759
11759
|
},
|
|
11760
|
-
"hardis:project:
|
|
11760
|
+
"hardis:project:fix:profiletabs": {
|
|
11761
11761
|
"aliases": [],
|
|
11762
11762
|
"args": {},
|
|
11763
|
-
"description": "
|
|
11763
|
+
"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",
|
|
11764
11764
|
"examples": [
|
|
11765
|
-
"$ sf hardis:project:
|
|
11766
|
-
"$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
|
|
11767
|
-
"$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
|
|
11765
|
+
"$ sf hardis:project:fix:profiletabs"
|
|
11768
11766
|
],
|
|
11769
11767
|
"flags": {
|
|
11770
11768
|
"json": {
|
|
@@ -11782,32 +11780,11 @@
|
|
|
11782
11780
|
"multiple": false,
|
|
11783
11781
|
"type": "option"
|
|
11784
11782
|
},
|
|
11785
|
-
"
|
|
11786
|
-
"char": "
|
|
11787
|
-
"description": "
|
|
11788
|
-
"name": "
|
|
11789
|
-
"
|
|
11790
|
-
"type": "boolean"
|
|
11791
|
-
},
|
|
11792
|
-
"deploy-status": {
|
|
11793
|
-
"char": "s",
|
|
11794
|
-
"description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
|
|
11795
|
-
"name": "deploy-status",
|
|
11796
|
-
"default": "unknown",
|
|
11797
|
-
"hasDynamicHelp": false,
|
|
11798
|
-
"multiple": false,
|
|
11799
|
-
"options": [
|
|
11800
|
-
"valid",
|
|
11801
|
-
"invalid",
|
|
11802
|
-
"unknown"
|
|
11803
|
-
],
|
|
11804
|
-
"type": "option"
|
|
11805
|
-
},
|
|
11806
|
-
"message": {
|
|
11807
|
-
"char": "m",
|
|
11808
|
-
"description": "Custom message that you want to be added in notifications (string or markdown format)",
|
|
11809
|
-
"name": "message",
|
|
11810
|
-
"default": "",
|
|
11783
|
+
"path": {
|
|
11784
|
+
"char": "p",
|
|
11785
|
+
"description": "Root folder",
|
|
11786
|
+
"name": "path",
|
|
11787
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
11811
11788
|
"hasDynamicHelp": false,
|
|
11812
11789
|
"multiple": false,
|
|
11813
11790
|
"type": "option"
|
|
@@ -11841,7 +11818,8 @@
|
|
|
11841
11818
|
"deprecateAliases": true,
|
|
11842
11819
|
"name": "target-org",
|
|
11843
11820
|
"noCacheDefault": true,
|
|
11844
|
-
"
|
|
11821
|
+
"required": true,
|
|
11822
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
11845
11823
|
"hasDynamicHelp": true,
|
|
11846
11824
|
"multiple": false,
|
|
11847
11825
|
"type": "option"
|
|
@@ -11849,13 +11827,13 @@
|
|
|
11849
11827
|
},
|
|
11850
11828
|
"hasDynamicHelp": true,
|
|
11851
11829
|
"hiddenAliases": [],
|
|
11852
|
-
"id": "hardis:project:
|
|
11830
|
+
"id": "hardis:project:fix:profiletabs",
|
|
11853
11831
|
"pluginAlias": "sfdx-hardis",
|
|
11854
11832
|
"pluginName": "sfdx-hardis",
|
|
11855
11833
|
"pluginType": "core",
|
|
11856
11834
|
"strict": true,
|
|
11857
11835
|
"enableJsonFlag": true,
|
|
11858
|
-
"title": "
|
|
11836
|
+
"title": "Fix profiles to add tabs that are not retrieved by SF CLI",
|
|
11859
11837
|
"requiresProject": true,
|
|
11860
11838
|
"isESM": true,
|
|
11861
11839
|
"relativePath": [
|
|
@@ -11863,43 +11841,44 @@
|
|
|
11863
11841
|
"commands",
|
|
11864
11842
|
"hardis",
|
|
11865
11843
|
"project",
|
|
11866
|
-
"
|
|
11867
|
-
"
|
|
11844
|
+
"fix",
|
|
11845
|
+
"profiletabs.js"
|
|
11868
11846
|
],
|
|
11869
11847
|
"aliasPermutations": [],
|
|
11870
11848
|
"permutations": [
|
|
11871
|
-
"hardis:project:
|
|
11872
|
-
"project:hardis:
|
|
11873
|
-
"project:
|
|
11874
|
-
"project:
|
|
11875
|
-
"hardis:
|
|
11876
|
-
"
|
|
11877
|
-
"
|
|
11878
|
-
"
|
|
11879
|
-
"hardis:
|
|
11880
|
-
"
|
|
11881
|
-
"
|
|
11882
|
-
"
|
|
11883
|
-
"hardis:project:
|
|
11884
|
-
"project:hardis:
|
|
11885
|
-
"project:
|
|
11886
|
-
"project:
|
|
11887
|
-
"hardis:
|
|
11888
|
-
"
|
|
11889
|
-
"
|
|
11890
|
-
"
|
|
11891
|
-
"hardis:
|
|
11892
|
-
"
|
|
11893
|
-
"
|
|
11894
|
-
"
|
|
11849
|
+
"hardis:project:fix:profiletabs",
|
|
11850
|
+
"project:hardis:fix:profiletabs",
|
|
11851
|
+
"project:fix:hardis:profiletabs",
|
|
11852
|
+
"project:fix:profiletabs:hardis",
|
|
11853
|
+
"hardis:fix:project:profiletabs",
|
|
11854
|
+
"fix:hardis:project:profiletabs",
|
|
11855
|
+
"fix:project:hardis:profiletabs",
|
|
11856
|
+
"fix:project:profiletabs:hardis",
|
|
11857
|
+
"hardis:fix:profiletabs:project",
|
|
11858
|
+
"fix:hardis:profiletabs:project",
|
|
11859
|
+
"fix:profiletabs:hardis:project",
|
|
11860
|
+
"fix:profiletabs:project:hardis",
|
|
11861
|
+
"hardis:project:profiletabs:fix",
|
|
11862
|
+
"project:hardis:profiletabs:fix",
|
|
11863
|
+
"project:profiletabs:hardis:fix",
|
|
11864
|
+
"project:profiletabs:fix:hardis",
|
|
11865
|
+
"hardis:profiletabs:project:fix",
|
|
11866
|
+
"profiletabs:hardis:project:fix",
|
|
11867
|
+
"profiletabs:project:hardis:fix",
|
|
11868
|
+
"profiletabs:project:fix:hardis",
|
|
11869
|
+
"hardis:profiletabs:fix:project",
|
|
11870
|
+
"profiletabs:hardis:fix:project",
|
|
11871
|
+
"profiletabs:fix:hardis:project",
|
|
11872
|
+
"profiletabs:fix:project:hardis"
|
|
11895
11873
|
]
|
|
11896
11874
|
},
|
|
11897
|
-
"hardis:project:
|
|
11898
|
-
"aliases": [
|
|
11899
|
-
"hardis:deploy:quick"
|
|
11900
|
-
],
|
|
11875
|
+
"hardis:project:fix:v53flexipages": {
|
|
11876
|
+
"aliases": [],
|
|
11901
11877
|
"args": {},
|
|
11902
|
-
"description": "
|
|
11878
|
+
"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",
|
|
11879
|
+
"examples": [
|
|
11880
|
+
"$ sf hardis:project:fix:v53flexipages"
|
|
11881
|
+
],
|
|
11903
11882
|
"flags": {
|
|
11904
11883
|
"json": {
|
|
11905
11884
|
"description": "Format output as json.",
|
|
@@ -11916,36 +11895,272 @@
|
|
|
11916
11895
|
"multiple": false,
|
|
11917
11896
|
"type": "option"
|
|
11918
11897
|
},
|
|
11919
|
-
"
|
|
11920
|
-
"char": "
|
|
11921
|
-
"description": "
|
|
11922
|
-
"name": "
|
|
11898
|
+
"path": {
|
|
11899
|
+
"char": "p",
|
|
11900
|
+
"description": "Root folder",
|
|
11901
|
+
"name": "path",
|
|
11902
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
11923
11903
|
"hasDynamicHelp": false,
|
|
11924
11904
|
"multiple": false,
|
|
11925
11905
|
"type": "option"
|
|
11926
11906
|
},
|
|
11927
|
-
"
|
|
11928
|
-
"
|
|
11929
|
-
"
|
|
11930
|
-
|
|
11931
|
-
],
|
|
11932
|
-
"name": "async",
|
|
11907
|
+
"debug": {
|
|
11908
|
+
"char": "d",
|
|
11909
|
+
"description": "Activate debug mode (more logs)",
|
|
11910
|
+
"name": "debug",
|
|
11933
11911
|
"allowNo": false,
|
|
11934
11912
|
"type": "boolean"
|
|
11935
11913
|
},
|
|
11936
|
-
"
|
|
11937
|
-
"
|
|
11938
|
-
"name": "
|
|
11939
|
-
"
|
|
11940
|
-
"
|
|
11941
|
-
"
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
"
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
"
|
|
11948
|
-
|
|
11914
|
+
"websocket": {
|
|
11915
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11916
|
+
"name": "websocket",
|
|
11917
|
+
"hasDynamicHelp": false,
|
|
11918
|
+
"multiple": false,
|
|
11919
|
+
"type": "option"
|
|
11920
|
+
},
|
|
11921
|
+
"skipauth": {
|
|
11922
|
+
"description": "Skip authentication check when a default username is required",
|
|
11923
|
+
"name": "skipauth",
|
|
11924
|
+
"allowNo": false,
|
|
11925
|
+
"type": "boolean"
|
|
11926
|
+
}
|
|
11927
|
+
},
|
|
11928
|
+
"hasDynamicHelp": false,
|
|
11929
|
+
"hiddenAliases": [],
|
|
11930
|
+
"id": "hardis:project:fix:v53flexipages",
|
|
11931
|
+
"pluginAlias": "sfdx-hardis",
|
|
11932
|
+
"pluginName": "sfdx-hardis",
|
|
11933
|
+
"pluginType": "core",
|
|
11934
|
+
"strict": true,
|
|
11935
|
+
"enableJsonFlag": true,
|
|
11936
|
+
"title": "Fix flexipages for v53",
|
|
11937
|
+
"requiresProject": true,
|
|
11938
|
+
"isESM": true,
|
|
11939
|
+
"relativePath": [
|
|
11940
|
+
"lib",
|
|
11941
|
+
"commands",
|
|
11942
|
+
"hardis",
|
|
11943
|
+
"project",
|
|
11944
|
+
"fix",
|
|
11945
|
+
"v53flexipages.js"
|
|
11946
|
+
],
|
|
11947
|
+
"aliasPermutations": [],
|
|
11948
|
+
"permutations": [
|
|
11949
|
+
"hardis:project:fix:v53flexipages",
|
|
11950
|
+
"project:hardis:fix:v53flexipages",
|
|
11951
|
+
"project:fix:hardis:v53flexipages",
|
|
11952
|
+
"project:fix:v53flexipages:hardis",
|
|
11953
|
+
"hardis:fix:project:v53flexipages",
|
|
11954
|
+
"fix:hardis:project:v53flexipages",
|
|
11955
|
+
"fix:project:hardis:v53flexipages",
|
|
11956
|
+
"fix:project:v53flexipages:hardis",
|
|
11957
|
+
"hardis:fix:v53flexipages:project",
|
|
11958
|
+
"fix:hardis:v53flexipages:project",
|
|
11959
|
+
"fix:v53flexipages:hardis:project",
|
|
11960
|
+
"fix:v53flexipages:project:hardis",
|
|
11961
|
+
"hardis:project:v53flexipages:fix",
|
|
11962
|
+
"project:hardis:v53flexipages:fix",
|
|
11963
|
+
"project:v53flexipages:hardis:fix",
|
|
11964
|
+
"project:v53flexipages:fix:hardis",
|
|
11965
|
+
"hardis:v53flexipages:project:fix",
|
|
11966
|
+
"v53flexipages:hardis:project:fix",
|
|
11967
|
+
"v53flexipages:project:hardis:fix",
|
|
11968
|
+
"v53flexipages:project:fix:hardis",
|
|
11969
|
+
"hardis:v53flexipages:fix:project",
|
|
11970
|
+
"v53flexipages:hardis:fix:project",
|
|
11971
|
+
"v53flexipages:fix:hardis:project",
|
|
11972
|
+
"v53flexipages:fix:project:hardis"
|
|
11973
|
+
]
|
|
11974
|
+
},
|
|
11975
|
+
"hardis:project:deploy:notify": {
|
|
11976
|
+
"aliases": [],
|
|
11977
|
+
"args": {},
|
|
11978
|
+
"description": "Post notifications related to:\n\n- **Deployment simulation** _(use with --check-only)_\n\n- **Deployment process** _(to call only if your deployment is successful)_\n\n### Integrations\n\nAccording to the [integrations you configured](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-home/), notifications can contain deployment information and [Flow Visual Git Diff](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-home/#flow-visual-git-diff)\n\n - GitHub, Gitlab, Azure DevOps, Bitbucket comments on Pull Requests (including Flows Visual Git Diff)\n\n - Slack, Microsoft Teams, Email deployment summary after a successful deployment\n\n - JIRA tags and comments on tickets that just has been deployed\n\n\n\n\n\n### Flows Visual Git Diff\n\n- Visually show you the differences on a diagram\n\n- Display the update details without having to open any XML !\n\n🟩 = added\n\n🟥 = removed\n\n🟧 = updated\n\n\n\n\n\n### In custom CI/CD workflow\n\nExample of usage in a custom CI/CD pipeline:\n\n```bash\n# Disable exit-on-error temporarily\nset +e\n\n# Run the deploy command\nsf project deploy start [....]\nRET_CODE=$?\n\n# Re-enable exit-on-error\nset -e\n\n# Determine MYSTATUS based on return code\nif [ $RET_CODE -eq 0 ]; then\n MYSTATUS=\"valid\"\nelse\n MYSTATUS=\"invalid\"\nfi\n\n# Run the notify command with MYSTATUS\nsf hardis:project:deploy:notify --check-only --deploy-status \"$MYSTATUS\"\n```\n\n### Other usages\n\nThis command is for custom SF Cli pipelines, if you are a sfdx-hardis user, it is already embedded in sf hardis:deploy:smart.\n\nYou can also use [sfdx-hardis wrapper commands of SF deployment commands](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-setup/#using-custom-cicd-pipeline)\n",
|
|
11979
|
+
"examples": [
|
|
11980
|
+
"$ sf hardis:project:deploy:notify --check-only --deploy-status valid --message \"This deployment check is valid\\n\\nYahooo !!\"",
|
|
11981
|
+
"$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
|
|
11982
|
+
"$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
|
|
11983
|
+
],
|
|
11984
|
+
"flags": {
|
|
11985
|
+
"json": {
|
|
11986
|
+
"description": "Format output as json.",
|
|
11987
|
+
"helpGroup": "GLOBAL",
|
|
11988
|
+
"name": "json",
|
|
11989
|
+
"allowNo": false,
|
|
11990
|
+
"type": "boolean"
|
|
11991
|
+
},
|
|
11992
|
+
"flags-dir": {
|
|
11993
|
+
"helpGroup": "GLOBAL",
|
|
11994
|
+
"name": "flags-dir",
|
|
11995
|
+
"summary": "Import flag values from a directory.",
|
|
11996
|
+
"hasDynamicHelp": false,
|
|
11997
|
+
"multiple": false,
|
|
11998
|
+
"type": "option"
|
|
11999
|
+
},
|
|
12000
|
+
"check-only": {
|
|
12001
|
+
"char": "c",
|
|
12002
|
+
"description": "Use this option to send notifications from a Deployment simulation job",
|
|
12003
|
+
"name": "check-only",
|
|
12004
|
+
"allowNo": false,
|
|
12005
|
+
"type": "boolean"
|
|
12006
|
+
},
|
|
12007
|
+
"deploy-status": {
|
|
12008
|
+
"char": "s",
|
|
12009
|
+
"description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
|
|
12010
|
+
"name": "deploy-status",
|
|
12011
|
+
"default": "unknown",
|
|
12012
|
+
"hasDynamicHelp": false,
|
|
12013
|
+
"multiple": false,
|
|
12014
|
+
"options": [
|
|
12015
|
+
"valid",
|
|
12016
|
+
"invalid",
|
|
12017
|
+
"unknown"
|
|
12018
|
+
],
|
|
12019
|
+
"type": "option"
|
|
12020
|
+
},
|
|
12021
|
+
"message": {
|
|
12022
|
+
"char": "m",
|
|
12023
|
+
"description": "Custom message that you want to be added in notifications (string or markdown format)",
|
|
12024
|
+
"name": "message",
|
|
12025
|
+
"default": "",
|
|
12026
|
+
"hasDynamicHelp": false,
|
|
12027
|
+
"multiple": false,
|
|
12028
|
+
"type": "option"
|
|
12029
|
+
},
|
|
12030
|
+
"debug": {
|
|
12031
|
+
"char": "d",
|
|
12032
|
+
"description": "Activate debug mode (more logs)",
|
|
12033
|
+
"name": "debug",
|
|
12034
|
+
"allowNo": false,
|
|
12035
|
+
"type": "boolean"
|
|
12036
|
+
},
|
|
12037
|
+
"websocket": {
|
|
12038
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12039
|
+
"name": "websocket",
|
|
12040
|
+
"hasDynamicHelp": false,
|
|
12041
|
+
"multiple": false,
|
|
12042
|
+
"type": "option"
|
|
12043
|
+
},
|
|
12044
|
+
"skipauth": {
|
|
12045
|
+
"description": "Skip authentication check when a default username is required",
|
|
12046
|
+
"name": "skipauth",
|
|
12047
|
+
"allowNo": false,
|
|
12048
|
+
"type": "boolean"
|
|
12049
|
+
},
|
|
12050
|
+
"target-org": {
|
|
12051
|
+
"aliases": [
|
|
12052
|
+
"targetusername",
|
|
12053
|
+
"u"
|
|
12054
|
+
],
|
|
12055
|
+
"char": "o",
|
|
12056
|
+
"deprecateAliases": true,
|
|
12057
|
+
"name": "target-org",
|
|
12058
|
+
"noCacheDefault": true,
|
|
12059
|
+
"summary": "Username or alias of the target org.",
|
|
12060
|
+
"hasDynamicHelp": true,
|
|
12061
|
+
"multiple": false,
|
|
12062
|
+
"type": "option"
|
|
12063
|
+
}
|
|
12064
|
+
},
|
|
12065
|
+
"hasDynamicHelp": true,
|
|
12066
|
+
"hiddenAliases": [],
|
|
12067
|
+
"id": "hardis:project:deploy:notify",
|
|
12068
|
+
"pluginAlias": "sfdx-hardis",
|
|
12069
|
+
"pluginName": "sfdx-hardis",
|
|
12070
|
+
"pluginType": "core",
|
|
12071
|
+
"strict": true,
|
|
12072
|
+
"enableJsonFlag": true,
|
|
12073
|
+
"title": "Deployment Notifications",
|
|
12074
|
+
"requiresProject": true,
|
|
12075
|
+
"isESM": true,
|
|
12076
|
+
"relativePath": [
|
|
12077
|
+
"lib",
|
|
12078
|
+
"commands",
|
|
12079
|
+
"hardis",
|
|
12080
|
+
"project",
|
|
12081
|
+
"deploy",
|
|
12082
|
+
"notify.js"
|
|
12083
|
+
],
|
|
12084
|
+
"aliasPermutations": [],
|
|
12085
|
+
"permutations": [
|
|
12086
|
+
"hardis:project:deploy:notify",
|
|
12087
|
+
"project:hardis:deploy:notify",
|
|
12088
|
+
"project:deploy:hardis:notify",
|
|
12089
|
+
"project:deploy:notify:hardis",
|
|
12090
|
+
"hardis:deploy:project:notify",
|
|
12091
|
+
"deploy:hardis:project:notify",
|
|
12092
|
+
"deploy:project:hardis:notify",
|
|
12093
|
+
"deploy:project:notify:hardis",
|
|
12094
|
+
"hardis:deploy:notify:project",
|
|
12095
|
+
"deploy:hardis:notify:project",
|
|
12096
|
+
"deploy:notify:hardis:project",
|
|
12097
|
+
"deploy:notify:project:hardis",
|
|
12098
|
+
"hardis:project:notify:deploy",
|
|
12099
|
+
"project:hardis:notify:deploy",
|
|
12100
|
+
"project:notify:hardis:deploy",
|
|
12101
|
+
"project:notify:deploy:hardis",
|
|
12102
|
+
"hardis:notify:project:deploy",
|
|
12103
|
+
"notify:hardis:project:deploy",
|
|
12104
|
+
"notify:project:hardis:deploy",
|
|
12105
|
+
"notify:project:deploy:hardis",
|
|
12106
|
+
"hardis:notify:deploy:project",
|
|
12107
|
+
"notify:hardis:deploy:project",
|
|
12108
|
+
"notify:deploy:hardis:project",
|
|
12109
|
+
"notify:deploy:project:hardis"
|
|
12110
|
+
]
|
|
12111
|
+
},
|
|
12112
|
+
"hardis:project:deploy:quick": {
|
|
12113
|
+
"aliases": [
|
|
12114
|
+
"hardis:deploy:quick"
|
|
12115
|
+
],
|
|
12116
|
+
"args": {},
|
|
12117
|
+
"description": "sfdx-hardis wrapper for **sf project deploy quick** that displays tips to solve deployment errors.\n\nNote: Use **--json** argument to have better results\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_project_commands_unified.htm#cli_reference_project_deploy_quick_unified)\n\n### Deployment pre or post commands\n\nYou can define command lines to run before or after a deployment, with parameters:\n\n- **id**: Unique Id for the command\n- **label**: Human readable label for the command\n- **skipIfError**: If defined to \"true\", the post-command won't be run if there is a deployment failure\n- **context**: Defines the context where the command will be run. Can be **all** (default), **check-deployment-only** or **process-deployment-only**\n- **runOnlyOnceByOrg**: If set to true, the command will be run only one time per org. A record of SfdxHardisTrace__c is stored to make that possible (it needs to be existing in target org)\n\nIf the commands are not the same depending on the target org, you can define them into **config/branches/.sfdx-hardis-BRANCHNAME.yml** instead of root **config/.sfdx-hardis.yml**\n\nExample:\n\n```yaml\ncommandsPreDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to the deployment user\n command: sf data update record --sobject User --where \"Username='deploy.github@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n\ncommandsPostDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to desired username\n command: sf data update record --sobject User --where \"Username='admin-yser@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n - id: someActionToRunJustOneTime\n label: And to run only if deployment is success\n command: sf sfdmu:run ...\n skipIfError: true\n context: process-deployment-only\n runOnlyOnceByOrg: true\n```\n",
|
|
12118
|
+
"flags": {
|
|
12119
|
+
"json": {
|
|
12120
|
+
"description": "Format output as json.",
|
|
12121
|
+
"helpGroup": "GLOBAL",
|
|
12122
|
+
"name": "json",
|
|
12123
|
+
"allowNo": false,
|
|
12124
|
+
"type": "boolean"
|
|
12125
|
+
},
|
|
12126
|
+
"flags-dir": {
|
|
12127
|
+
"helpGroup": "GLOBAL",
|
|
12128
|
+
"name": "flags-dir",
|
|
12129
|
+
"summary": "Import flag values from a directory.",
|
|
12130
|
+
"hasDynamicHelp": false,
|
|
12131
|
+
"multiple": false,
|
|
12132
|
+
"type": "option"
|
|
12133
|
+
},
|
|
12134
|
+
"api-version": {
|
|
12135
|
+
"char": "a",
|
|
12136
|
+
"description": "api-version",
|
|
12137
|
+
"name": "api-version",
|
|
12138
|
+
"hasDynamicHelp": false,
|
|
12139
|
+
"multiple": false,
|
|
12140
|
+
"type": "option"
|
|
12141
|
+
},
|
|
12142
|
+
"async": {
|
|
12143
|
+
"description": "async",
|
|
12144
|
+
"exclusive": [
|
|
12145
|
+
"wait"
|
|
12146
|
+
],
|
|
12147
|
+
"name": "async",
|
|
12148
|
+
"allowNo": false,
|
|
12149
|
+
"type": "boolean"
|
|
12150
|
+
},
|
|
12151
|
+
"target-org": {
|
|
12152
|
+
"char": "o",
|
|
12153
|
+
"name": "target-org",
|
|
12154
|
+
"noCacheDefault": true,
|
|
12155
|
+
"required": true,
|
|
12156
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
12157
|
+
"hasDynamicHelp": true,
|
|
12158
|
+
"multiple": false,
|
|
12159
|
+
"type": "option"
|
|
12160
|
+
},
|
|
12161
|
+
"tests": {
|
|
12162
|
+
"description": "tests",
|
|
12163
|
+
"name": "tests",
|
|
11949
12164
|
"hasDynamicHelp": false,
|
|
11950
12165
|
"multiple": false,
|
|
11951
12166
|
"type": "option"
|
|
@@ -12931,221 +13146,6 @@
|
|
|
12931
13146
|
"validate:deploy:project:hardis"
|
|
12932
13147
|
]
|
|
12933
13148
|
},
|
|
12934
|
-
"hardis:project:fix:profiletabs": {
|
|
12935
|
-
"aliases": [],
|
|
12936
|
-
"args": {},
|
|
12937
|
-
"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",
|
|
12938
|
-
"examples": [
|
|
12939
|
-
"$ sf hardis:project:fix:profiletabs"
|
|
12940
|
-
],
|
|
12941
|
-
"flags": {
|
|
12942
|
-
"json": {
|
|
12943
|
-
"description": "Format output as json.",
|
|
12944
|
-
"helpGroup": "GLOBAL",
|
|
12945
|
-
"name": "json",
|
|
12946
|
-
"allowNo": false,
|
|
12947
|
-
"type": "boolean"
|
|
12948
|
-
},
|
|
12949
|
-
"flags-dir": {
|
|
12950
|
-
"helpGroup": "GLOBAL",
|
|
12951
|
-
"name": "flags-dir",
|
|
12952
|
-
"summary": "Import flag values from a directory.",
|
|
12953
|
-
"hasDynamicHelp": false,
|
|
12954
|
-
"multiple": false,
|
|
12955
|
-
"type": "option"
|
|
12956
|
-
},
|
|
12957
|
-
"path": {
|
|
12958
|
-
"char": "p",
|
|
12959
|
-
"description": "Root folder",
|
|
12960
|
-
"name": "path",
|
|
12961
|
-
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12962
|
-
"hasDynamicHelp": false,
|
|
12963
|
-
"multiple": false,
|
|
12964
|
-
"type": "option"
|
|
12965
|
-
},
|
|
12966
|
-
"debug": {
|
|
12967
|
-
"char": "d",
|
|
12968
|
-
"description": "Activate debug mode (more logs)",
|
|
12969
|
-
"name": "debug",
|
|
12970
|
-
"allowNo": false,
|
|
12971
|
-
"type": "boolean"
|
|
12972
|
-
},
|
|
12973
|
-
"websocket": {
|
|
12974
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12975
|
-
"name": "websocket",
|
|
12976
|
-
"hasDynamicHelp": false,
|
|
12977
|
-
"multiple": false,
|
|
12978
|
-
"type": "option"
|
|
12979
|
-
},
|
|
12980
|
-
"skipauth": {
|
|
12981
|
-
"description": "Skip authentication check when a default username is required",
|
|
12982
|
-
"name": "skipauth",
|
|
12983
|
-
"allowNo": false,
|
|
12984
|
-
"type": "boolean"
|
|
12985
|
-
},
|
|
12986
|
-
"target-org": {
|
|
12987
|
-
"aliases": [
|
|
12988
|
-
"targetusername",
|
|
12989
|
-
"u"
|
|
12990
|
-
],
|
|
12991
|
-
"char": "o",
|
|
12992
|
-
"deprecateAliases": true,
|
|
12993
|
-
"name": "target-org",
|
|
12994
|
-
"noCacheDefault": true,
|
|
12995
|
-
"required": true,
|
|
12996
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
12997
|
-
"hasDynamicHelp": true,
|
|
12998
|
-
"multiple": false,
|
|
12999
|
-
"type": "option"
|
|
13000
|
-
}
|
|
13001
|
-
},
|
|
13002
|
-
"hasDynamicHelp": true,
|
|
13003
|
-
"hiddenAliases": [],
|
|
13004
|
-
"id": "hardis:project:fix:profiletabs",
|
|
13005
|
-
"pluginAlias": "sfdx-hardis",
|
|
13006
|
-
"pluginName": "sfdx-hardis",
|
|
13007
|
-
"pluginType": "core",
|
|
13008
|
-
"strict": true,
|
|
13009
|
-
"enableJsonFlag": true,
|
|
13010
|
-
"title": "Fix profiles to add tabs that are not retrieved by SF CLI",
|
|
13011
|
-
"requiresProject": true,
|
|
13012
|
-
"isESM": true,
|
|
13013
|
-
"relativePath": [
|
|
13014
|
-
"lib",
|
|
13015
|
-
"commands",
|
|
13016
|
-
"hardis",
|
|
13017
|
-
"project",
|
|
13018
|
-
"fix",
|
|
13019
|
-
"profiletabs.js"
|
|
13020
|
-
],
|
|
13021
|
-
"aliasPermutations": [],
|
|
13022
|
-
"permutations": [
|
|
13023
|
-
"hardis:project:fix:profiletabs",
|
|
13024
|
-
"project:hardis:fix:profiletabs",
|
|
13025
|
-
"project:fix:hardis:profiletabs",
|
|
13026
|
-
"project:fix:profiletabs:hardis",
|
|
13027
|
-
"hardis:fix:project:profiletabs",
|
|
13028
|
-
"fix:hardis:project:profiletabs",
|
|
13029
|
-
"fix:project:hardis:profiletabs",
|
|
13030
|
-
"fix:project:profiletabs:hardis",
|
|
13031
|
-
"hardis:fix:profiletabs:project",
|
|
13032
|
-
"fix:hardis:profiletabs:project",
|
|
13033
|
-
"fix:profiletabs:hardis:project",
|
|
13034
|
-
"fix:profiletabs:project:hardis",
|
|
13035
|
-
"hardis:project:profiletabs:fix",
|
|
13036
|
-
"project:hardis:profiletabs:fix",
|
|
13037
|
-
"project:profiletabs:hardis:fix",
|
|
13038
|
-
"project:profiletabs:fix:hardis",
|
|
13039
|
-
"hardis:profiletabs:project:fix",
|
|
13040
|
-
"profiletabs:hardis:project:fix",
|
|
13041
|
-
"profiletabs:project:hardis:fix",
|
|
13042
|
-
"profiletabs:project:fix:hardis",
|
|
13043
|
-
"hardis:profiletabs:fix:project",
|
|
13044
|
-
"profiletabs:hardis:fix:project",
|
|
13045
|
-
"profiletabs:fix:hardis:project",
|
|
13046
|
-
"profiletabs:fix:project:hardis"
|
|
13047
|
-
]
|
|
13048
|
-
},
|
|
13049
|
-
"hardis:project:fix:v53flexipages": {
|
|
13050
|
-
"aliases": [],
|
|
13051
|
-
"args": {},
|
|
13052
|
-
"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",
|
|
13053
|
-
"examples": [
|
|
13054
|
-
"$ sf hardis:project:fix:v53flexipages"
|
|
13055
|
-
],
|
|
13056
|
-
"flags": {
|
|
13057
|
-
"json": {
|
|
13058
|
-
"description": "Format output as json.",
|
|
13059
|
-
"helpGroup": "GLOBAL",
|
|
13060
|
-
"name": "json",
|
|
13061
|
-
"allowNo": false,
|
|
13062
|
-
"type": "boolean"
|
|
13063
|
-
},
|
|
13064
|
-
"flags-dir": {
|
|
13065
|
-
"helpGroup": "GLOBAL",
|
|
13066
|
-
"name": "flags-dir",
|
|
13067
|
-
"summary": "Import flag values from a directory.",
|
|
13068
|
-
"hasDynamicHelp": false,
|
|
13069
|
-
"multiple": false,
|
|
13070
|
-
"type": "option"
|
|
13071
|
-
},
|
|
13072
|
-
"path": {
|
|
13073
|
-
"char": "p",
|
|
13074
|
-
"description": "Root folder",
|
|
13075
|
-
"name": "path",
|
|
13076
|
-
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
13077
|
-
"hasDynamicHelp": false,
|
|
13078
|
-
"multiple": false,
|
|
13079
|
-
"type": "option"
|
|
13080
|
-
},
|
|
13081
|
-
"debug": {
|
|
13082
|
-
"char": "d",
|
|
13083
|
-
"description": "Activate debug mode (more logs)",
|
|
13084
|
-
"name": "debug",
|
|
13085
|
-
"allowNo": false,
|
|
13086
|
-
"type": "boolean"
|
|
13087
|
-
},
|
|
13088
|
-
"websocket": {
|
|
13089
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
13090
|
-
"name": "websocket",
|
|
13091
|
-
"hasDynamicHelp": false,
|
|
13092
|
-
"multiple": false,
|
|
13093
|
-
"type": "option"
|
|
13094
|
-
},
|
|
13095
|
-
"skipauth": {
|
|
13096
|
-
"description": "Skip authentication check when a default username is required",
|
|
13097
|
-
"name": "skipauth",
|
|
13098
|
-
"allowNo": false,
|
|
13099
|
-
"type": "boolean"
|
|
13100
|
-
}
|
|
13101
|
-
},
|
|
13102
|
-
"hasDynamicHelp": false,
|
|
13103
|
-
"hiddenAliases": [],
|
|
13104
|
-
"id": "hardis:project:fix:v53flexipages",
|
|
13105
|
-
"pluginAlias": "sfdx-hardis",
|
|
13106
|
-
"pluginName": "sfdx-hardis",
|
|
13107
|
-
"pluginType": "core",
|
|
13108
|
-
"strict": true,
|
|
13109
|
-
"enableJsonFlag": true,
|
|
13110
|
-
"title": "Fix flexipages for v53",
|
|
13111
|
-
"requiresProject": true,
|
|
13112
|
-
"isESM": true,
|
|
13113
|
-
"relativePath": [
|
|
13114
|
-
"lib",
|
|
13115
|
-
"commands",
|
|
13116
|
-
"hardis",
|
|
13117
|
-
"project",
|
|
13118
|
-
"fix",
|
|
13119
|
-
"v53flexipages.js"
|
|
13120
|
-
],
|
|
13121
|
-
"aliasPermutations": [],
|
|
13122
|
-
"permutations": [
|
|
13123
|
-
"hardis:project:fix:v53flexipages",
|
|
13124
|
-
"project:hardis:fix:v53flexipages",
|
|
13125
|
-
"project:fix:hardis:v53flexipages",
|
|
13126
|
-
"project:fix:v53flexipages:hardis",
|
|
13127
|
-
"hardis:fix:project:v53flexipages",
|
|
13128
|
-
"fix:hardis:project:v53flexipages",
|
|
13129
|
-
"fix:project:hardis:v53flexipages",
|
|
13130
|
-
"fix:project:v53flexipages:hardis",
|
|
13131
|
-
"hardis:fix:v53flexipages:project",
|
|
13132
|
-
"fix:hardis:v53flexipages:project",
|
|
13133
|
-
"fix:v53flexipages:hardis:project",
|
|
13134
|
-
"fix:v53flexipages:project:hardis",
|
|
13135
|
-
"hardis:project:v53flexipages:fix",
|
|
13136
|
-
"project:hardis:v53flexipages:fix",
|
|
13137
|
-
"project:v53flexipages:hardis:fix",
|
|
13138
|
-
"project:v53flexipages:fix:hardis",
|
|
13139
|
-
"hardis:v53flexipages:project:fix",
|
|
13140
|
-
"v53flexipages:hardis:project:fix",
|
|
13141
|
-
"v53flexipages:project:hardis:fix",
|
|
13142
|
-
"v53flexipages:project:fix:hardis",
|
|
13143
|
-
"hardis:v53flexipages:fix:project",
|
|
13144
|
-
"v53flexipages:hardis:fix:project",
|
|
13145
|
-
"v53flexipages:fix:hardis:project",
|
|
13146
|
-
"v53flexipages:fix:project:hardis"
|
|
13147
|
-
]
|
|
13148
|
-
},
|
|
13149
13149
|
"hardis:project:generate:bypass": {
|
|
13150
13150
|
"aliases": [],
|
|
13151
13151
|
"args": {},
|
|
@@ -15719,5 +15719,5 @@
|
|
|
15719
15719
|
]
|
|
15720
15720
|
}
|
|
15721
15721
|
},
|
|
15722
|
-
"version": "6.
|
|
15722
|
+
"version": "6.16.1-alpha202512161824.0"
|
|
15723
15723
|
}
|