sfdx-hardis 5.45.1-beta202508100142.0 → 5.45.1-beta202508100154.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/oclif.manifest.json +592 -592
- 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## Technical explanations\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",
|
|
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": {
|
|
@@ -5482,12 +5482,13 @@
|
|
|
5482
5482
|
"import:data:org:hardis"
|
|
5483
5483
|
]
|
|
5484
5484
|
},
|
|
5485
|
-
"hardis:org:
|
|
5485
|
+
"hardis:org:fix:listviewmine": {
|
|
5486
5486
|
"aliases": [],
|
|
5487
5487
|
"args": {},
|
|
5488
|
-
"description": "
|
|
5488
|
+
"description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n",
|
|
5489
5489
|
"examples": [
|
|
5490
|
-
"$ sf hardis:org:
|
|
5490
|
+
"$ sf hardis:org:fix:listviewmine",
|
|
5491
|
+
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
5491
5492
|
],
|
|
5492
5493
|
"flags": {
|
|
5493
5494
|
"json": {
|
|
@@ -5505,37 +5506,10 @@
|
|
|
5505
5506
|
"multiple": false,
|
|
5506
5507
|
"type": "option"
|
|
5507
5508
|
},
|
|
5508
|
-
"
|
|
5509
|
-
"char": "
|
|
5510
|
-
"description": "
|
|
5511
|
-
"name": "
|
|
5512
|
-
"hasDynamicHelp": false,
|
|
5513
|
-
"multiple": false,
|
|
5514
|
-
"type": "option"
|
|
5515
|
-
},
|
|
5516
|
-
"chunksize": {
|
|
5517
|
-
"char": "c",
|
|
5518
|
-
"description": "Number of records to add in a chunk before it is processed",
|
|
5519
|
-
"name": "chunksize",
|
|
5520
|
-
"default": 1000,
|
|
5521
|
-
"hasDynamicHelp": false,
|
|
5522
|
-
"multiple": false,
|
|
5523
|
-
"type": "option"
|
|
5524
|
-
},
|
|
5525
|
-
"polltimeout": {
|
|
5526
|
-
"char": "t",
|
|
5527
|
-
"description": "Timeout in MS for Bulk API calls",
|
|
5528
|
-
"name": "polltimeout",
|
|
5529
|
-
"default": 300000,
|
|
5530
|
-
"hasDynamicHelp": false,
|
|
5531
|
-
"multiple": false,
|
|
5532
|
-
"type": "option"
|
|
5533
|
-
},
|
|
5534
|
-
"startchunknumber": {
|
|
5535
|
-
"char": "s",
|
|
5536
|
-
"description": "Chunk number to start from",
|
|
5537
|
-
"name": "startchunknumber",
|
|
5538
|
-
"default": 0,
|
|
5509
|
+
"listviews": {
|
|
5510
|
+
"char": "l",
|
|
5511
|
+
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
5512
|
+
"name": "listviews",
|
|
5539
5513
|
"hasDynamicHelp": false,
|
|
5540
5514
|
"multiple": false,
|
|
5541
5515
|
"type": "option"
|
|
@@ -5578,57 +5552,60 @@
|
|
|
5578
5552
|
},
|
|
5579
5553
|
"hasDynamicHelp": true,
|
|
5580
5554
|
"hiddenAliases": [],
|
|
5581
|
-
"id": "hardis:org:
|
|
5555
|
+
"id": "hardis:org:fix:listviewmine",
|
|
5582
5556
|
"pluginAlias": "sfdx-hardis",
|
|
5583
5557
|
"pluginName": "sfdx-hardis",
|
|
5584
5558
|
"pluginType": "core",
|
|
5585
5559
|
"strict": true,
|
|
5586
5560
|
"enableJsonFlag": true,
|
|
5587
|
-
"title": "
|
|
5588
|
-
"requiresProject":
|
|
5561
|
+
"title": "Fix listviews with ",
|
|
5562
|
+
"requiresProject": true,
|
|
5589
5563
|
"isESM": true,
|
|
5590
5564
|
"relativePath": [
|
|
5591
5565
|
"lib",
|
|
5592
5566
|
"commands",
|
|
5593
5567
|
"hardis",
|
|
5594
5568
|
"org",
|
|
5595
|
-
"
|
|
5596
|
-
"
|
|
5569
|
+
"fix",
|
|
5570
|
+
"listviewmine.js"
|
|
5597
5571
|
],
|
|
5598
5572
|
"aliasPermutations": [],
|
|
5599
5573
|
"permutations": [
|
|
5600
|
-
"hardis:org:
|
|
5601
|
-
"org:hardis:
|
|
5602
|
-
"org:
|
|
5603
|
-
"org:
|
|
5604
|
-
"hardis:
|
|
5605
|
-
"
|
|
5606
|
-
"
|
|
5607
|
-
"
|
|
5608
|
-
"hardis:
|
|
5609
|
-
"
|
|
5610
|
-
"
|
|
5611
|
-
"
|
|
5612
|
-
"hardis:org:
|
|
5613
|
-
"org:hardis:
|
|
5614
|
-
"org:
|
|
5615
|
-
"org:
|
|
5616
|
-
"hardis:
|
|
5617
|
-
"
|
|
5618
|
-
"
|
|
5619
|
-
"
|
|
5620
|
-
"hardis:
|
|
5621
|
-
"
|
|
5622
|
-
"
|
|
5623
|
-
"
|
|
5574
|
+
"hardis:org:fix:listviewmine",
|
|
5575
|
+
"org:hardis:fix:listviewmine",
|
|
5576
|
+
"org:fix:hardis:listviewmine",
|
|
5577
|
+
"org:fix:listviewmine:hardis",
|
|
5578
|
+
"hardis:fix:org:listviewmine",
|
|
5579
|
+
"fix:hardis:org:listviewmine",
|
|
5580
|
+
"fix:org:hardis:listviewmine",
|
|
5581
|
+
"fix:org:listviewmine:hardis",
|
|
5582
|
+
"hardis:fix:listviewmine:org",
|
|
5583
|
+
"fix:hardis:listviewmine:org",
|
|
5584
|
+
"fix:listviewmine:hardis:org",
|
|
5585
|
+
"fix:listviewmine:org:hardis",
|
|
5586
|
+
"hardis:org:listviewmine:fix",
|
|
5587
|
+
"org:hardis:listviewmine:fix",
|
|
5588
|
+
"org:listviewmine:hardis:fix",
|
|
5589
|
+
"org:listviewmine:fix:hardis",
|
|
5590
|
+
"hardis:listviewmine:org:fix",
|
|
5591
|
+
"listviewmine:hardis:org:fix",
|
|
5592
|
+
"listviewmine:org:hardis:fix",
|
|
5593
|
+
"listviewmine:org:fix:hardis",
|
|
5594
|
+
"hardis:listviewmine:fix:org",
|
|
5595
|
+
"listviewmine:hardis:fix:org",
|
|
5596
|
+
"listviewmine:fix:hardis:org",
|
|
5597
|
+
"listviewmine:fix:org:hardis"
|
|
5624
5598
|
]
|
|
5625
5599
|
},
|
|
5626
|
-
"hardis:org:
|
|
5600
|
+
"hardis:org:diagnose:audittrail": {
|
|
5627
5601
|
"aliases": [],
|
|
5628
5602
|
"args": {},
|
|
5629
|
-
"description": "
|
|
5603
|
+
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nAlso detects updates of Custom Settings values (disable by defining `SKIP_AUDIT_TRAIL_CUSTOM_SETTINGS=true`)\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n - revokeduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n - CSPUserDisabled\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- External Objects\n - xdsEncryptedFieldChange\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n - siqUserAcceptedTOS\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedofflineuseroffon\n - changedprofileforuserstdtostd\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserAdminVerifiedStatusVerified\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedusername\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - changedUserPhoneVerifiedStatusVerified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n\n\n## Local output example\n\n\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
5630
5604
|
"examples": [
|
|
5631
|
-
"$ sf hardis:org:
|
|
5605
|
+
"$ sf hardis:org:diagnose:audittrail",
|
|
5606
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5607
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5608
|
+
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5632
5609
|
],
|
|
5633
5610
|
"flags": {
|
|
5634
5611
|
"json": {
|
|
@@ -5646,20 +5623,29 @@
|
|
|
5646
5623
|
"multiple": false,
|
|
5647
5624
|
"type": "option"
|
|
5648
5625
|
},
|
|
5649
|
-
"
|
|
5650
|
-
"char": "
|
|
5651
|
-
"description": "
|
|
5652
|
-
"name": "
|
|
5626
|
+
"excludeusers": {
|
|
5627
|
+
"char": "e",
|
|
5628
|
+
"description": "Comma-separated list of usernames to exclude",
|
|
5629
|
+
"name": "excludeusers",
|
|
5653
5630
|
"hasDynamicHelp": false,
|
|
5654
5631
|
"multiple": false,
|
|
5655
5632
|
"type": "option"
|
|
5656
5633
|
},
|
|
5657
|
-
"
|
|
5634
|
+
"lastndays": {
|
|
5635
|
+
"char": "t",
|
|
5636
|
+
"description": "Number of days to extract from today (included)",
|
|
5637
|
+
"name": "lastndays",
|
|
5638
|
+
"hasDynamicHelp": false,
|
|
5639
|
+
"multiple": false,
|
|
5640
|
+
"type": "option"
|
|
5641
|
+
},
|
|
5642
|
+
"outputfile": {
|
|
5658
5643
|
"char": "f",
|
|
5659
|
-
"description": "
|
|
5660
|
-
"name": "
|
|
5661
|
-
"
|
|
5662
|
-
"
|
|
5644
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5645
|
+
"name": "outputfile",
|
|
5646
|
+
"hasDynamicHelp": false,
|
|
5647
|
+
"multiple": false,
|
|
5648
|
+
"type": "option"
|
|
5663
5649
|
},
|
|
5664
5650
|
"debug": {
|
|
5665
5651
|
"char": "d",
|
|
@@ -5699,13 +5685,13 @@
|
|
|
5699
5685
|
},
|
|
5700
5686
|
"hasDynamicHelp": true,
|
|
5701
5687
|
"hiddenAliases": [],
|
|
5702
|
-
"id": "hardis:org:
|
|
5688
|
+
"id": "hardis:org:diagnose:audittrail",
|
|
5703
5689
|
"pluginAlias": "sfdx-hardis",
|
|
5704
5690
|
"pluginName": "sfdx-hardis",
|
|
5705
5691
|
"pluginType": "core",
|
|
5706
5692
|
"strict": true,
|
|
5707
5693
|
"enableJsonFlag": true,
|
|
5708
|
-
"title": "
|
|
5694
|
+
"title": "Diagnose content of Setup Audit Trail",
|
|
5709
5695
|
"requiresProject": false,
|
|
5710
5696
|
"isESM": true,
|
|
5711
5697
|
"relativePath": [
|
|
@@ -5713,141 +5699,8 @@
|
|
|
5713
5699
|
"commands",
|
|
5714
5700
|
"hardis",
|
|
5715
5701
|
"org",
|
|
5716
|
-
"
|
|
5717
|
-
"
|
|
5718
|
-
],
|
|
5719
|
-
"aliasPermutations": [],
|
|
5720
|
-
"permutations": [
|
|
5721
|
-
"hardis:org:files:import",
|
|
5722
|
-
"org:hardis:files:import",
|
|
5723
|
-
"org:files:hardis:import",
|
|
5724
|
-
"org:files:import:hardis",
|
|
5725
|
-
"hardis:files:org:import",
|
|
5726
|
-
"files:hardis:org:import",
|
|
5727
|
-
"files:org:hardis:import",
|
|
5728
|
-
"files:org:import:hardis",
|
|
5729
|
-
"hardis:files:import:org",
|
|
5730
|
-
"files:hardis:import:org",
|
|
5731
|
-
"files:import:hardis:org",
|
|
5732
|
-
"files:import:org:hardis",
|
|
5733
|
-
"hardis:org:import:files",
|
|
5734
|
-
"org:hardis:import:files",
|
|
5735
|
-
"org:import:hardis:files",
|
|
5736
|
-
"org:import:files:hardis",
|
|
5737
|
-
"hardis:import:org:files",
|
|
5738
|
-
"import:hardis:org:files",
|
|
5739
|
-
"import:org:hardis:files",
|
|
5740
|
-
"import:org:files:hardis",
|
|
5741
|
-
"hardis:import:files:org",
|
|
5742
|
-
"import:hardis:files:org",
|
|
5743
|
-
"import:files:hardis:org",
|
|
5744
|
-
"import:files:org:hardis"
|
|
5745
|
-
]
|
|
5746
|
-
},
|
|
5747
|
-
"hardis:org:diagnose:audittrail": {
|
|
5748
|
-
"aliases": [],
|
|
5749
|
-
"args": {},
|
|
5750
|
-
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nAlso detects updates of Custom Settings values (disable by defining `SKIP_AUDIT_TRAIL_CUSTOM_SETTINGS=true`)\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n - revokeduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n - CSPUserDisabled\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- External Objects\n - xdsEncryptedFieldChange\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n - siqUserAcceptedTOS\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedofflineuseroffon\n - changedprofileforuserstdtostd\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserAdminVerifiedStatusVerified\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedusername\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - changedUserPhoneVerifiedStatusVerified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n\n\n## Local output example\n\n\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
5751
|
-
"examples": [
|
|
5752
|
-
"$ sf hardis:org:diagnose:audittrail",
|
|
5753
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5754
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5755
|
-
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5756
|
-
],
|
|
5757
|
-
"flags": {
|
|
5758
|
-
"json": {
|
|
5759
|
-
"description": "Format output as json.",
|
|
5760
|
-
"helpGroup": "GLOBAL",
|
|
5761
|
-
"name": "json",
|
|
5762
|
-
"allowNo": false,
|
|
5763
|
-
"type": "boolean"
|
|
5764
|
-
},
|
|
5765
|
-
"flags-dir": {
|
|
5766
|
-
"helpGroup": "GLOBAL",
|
|
5767
|
-
"name": "flags-dir",
|
|
5768
|
-
"summary": "Import flag values from a directory.",
|
|
5769
|
-
"hasDynamicHelp": false,
|
|
5770
|
-
"multiple": false,
|
|
5771
|
-
"type": "option"
|
|
5772
|
-
},
|
|
5773
|
-
"excludeusers": {
|
|
5774
|
-
"char": "e",
|
|
5775
|
-
"description": "Comma-separated list of usernames to exclude",
|
|
5776
|
-
"name": "excludeusers",
|
|
5777
|
-
"hasDynamicHelp": false,
|
|
5778
|
-
"multiple": false,
|
|
5779
|
-
"type": "option"
|
|
5780
|
-
},
|
|
5781
|
-
"lastndays": {
|
|
5782
|
-
"char": "t",
|
|
5783
|
-
"description": "Number of days to extract from today (included)",
|
|
5784
|
-
"name": "lastndays",
|
|
5785
|
-
"hasDynamicHelp": false,
|
|
5786
|
-
"multiple": false,
|
|
5787
|
-
"type": "option"
|
|
5788
|
-
},
|
|
5789
|
-
"outputfile": {
|
|
5790
|
-
"char": "f",
|
|
5791
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5792
|
-
"name": "outputfile",
|
|
5793
|
-
"hasDynamicHelp": false,
|
|
5794
|
-
"multiple": false,
|
|
5795
|
-
"type": "option"
|
|
5796
|
-
},
|
|
5797
|
-
"debug": {
|
|
5798
|
-
"char": "d",
|
|
5799
|
-
"description": "Activate debug mode (more logs)",
|
|
5800
|
-
"name": "debug",
|
|
5801
|
-
"allowNo": false,
|
|
5802
|
-
"type": "boolean"
|
|
5803
|
-
},
|
|
5804
|
-
"websocket": {
|
|
5805
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5806
|
-
"name": "websocket",
|
|
5807
|
-
"hasDynamicHelp": false,
|
|
5808
|
-
"multiple": false,
|
|
5809
|
-
"type": "option"
|
|
5810
|
-
},
|
|
5811
|
-
"skipauth": {
|
|
5812
|
-
"description": "Skip authentication check when a default username is required",
|
|
5813
|
-
"name": "skipauth",
|
|
5814
|
-
"allowNo": false,
|
|
5815
|
-
"type": "boolean"
|
|
5816
|
-
},
|
|
5817
|
-
"target-org": {
|
|
5818
|
-
"aliases": [
|
|
5819
|
-
"targetusername",
|
|
5820
|
-
"u"
|
|
5821
|
-
],
|
|
5822
|
-
"char": "o",
|
|
5823
|
-
"deprecateAliases": true,
|
|
5824
|
-
"name": "target-org",
|
|
5825
|
-
"noCacheDefault": true,
|
|
5826
|
-
"required": true,
|
|
5827
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5828
|
-
"hasDynamicHelp": true,
|
|
5829
|
-
"multiple": false,
|
|
5830
|
-
"type": "option"
|
|
5831
|
-
}
|
|
5832
|
-
},
|
|
5833
|
-
"hasDynamicHelp": true,
|
|
5834
|
-
"hiddenAliases": [],
|
|
5835
|
-
"id": "hardis:org:diagnose:audittrail",
|
|
5836
|
-
"pluginAlias": "sfdx-hardis",
|
|
5837
|
-
"pluginName": "sfdx-hardis",
|
|
5838
|
-
"pluginType": "core",
|
|
5839
|
-
"strict": true,
|
|
5840
|
-
"enableJsonFlag": true,
|
|
5841
|
-
"title": "Diagnose content of Setup Audit Trail",
|
|
5842
|
-
"requiresProject": false,
|
|
5843
|
-
"isESM": true,
|
|
5844
|
-
"relativePath": [
|
|
5845
|
-
"lib",
|
|
5846
|
-
"commands",
|
|
5847
|
-
"hardis",
|
|
5848
|
-
"org",
|
|
5849
|
-
"diagnose",
|
|
5850
|
-
"audittrail.js"
|
|
5702
|
+
"diagnose",
|
|
5703
|
+
"audittrail.js"
|
|
5851
5704
|
],
|
|
5852
5705
|
"aliasPermutations": [],
|
|
5853
5706
|
"permutations": [
|
|
@@ -6893,14 +6746,12 @@
|
|
|
6893
6746
|
"unusedusers:diagnose:org:hardis"
|
|
6894
6747
|
]
|
|
6895
6748
|
},
|
|
6896
|
-
"hardis:org:
|
|
6749
|
+
"hardis:org:files:export": {
|
|
6897
6750
|
"aliases": [],
|
|
6898
6751
|
"args": {},
|
|
6899
|
-
"description": "\n## Command Behavior\n\n**
|
|
6752
|
+
"description": "\n## Command Behavior\n\n**Exports file attachments (ContentVersion, Attachment) from a Salesforce org based on a predefined configuration.**\n\nThis command enables the mass download of files associated with Salesforce records, providing a robust solution for backing up files, migrating them to other systems, or integrating them with external document management solutions.\n\nKey functionalities:\n\n- **Configuration-Driven Export:** Relies on an `export.json` file within a designated file export project to define the export criteria, including the SOQL query for parent records, file types to export, and output naming conventions.\n- **Interactive Project Selection:** If the file export project path is not provided via the `--path` flag, it interactively prompts the user to select one.\n- **Configurable Export Options:** Allows overriding default export settings such as `chunksize` (number of records processed in a batch), `polltimeout` (timeout for Bulk API calls), and `startchunknumber` (to resume a failed export).\n- **Support for ContentVersion and Attachment:** Handles both modern Salesforce Files (ContentVersion) and older Attachments.\n\nSee this article for a practical example:\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n\n## Technical explanations\n\nThe command's technical implementation involves:\n\n- **FilesExporter Class:** The core logic is encapsulated within the `FilesExporter` class, which orchestrates the entire export process.\n- **SOQL Queries (Bulk API):** It uses Salesforce Bulk API queries to efficiently retrieve large volumes of parent record IDs and file metadata.\n- **File Download:** Downloads the actual file content from Salesforce.\n- **File System Operations:** Writes the downloaded files to the local file system, organizing them into folders based on the configured naming conventions.\n- **Configuration Loading:** Reads the `export.json` file to get the export configuration. It also allows for interactive overriding of these settings.\n- **Interactive Prompts:** Uses `selectFilesWorkspace` to allow the user to choose a file export project and `promptFilesExportConfiguration` for customizing export options.\n- **Error Handling:** Includes mechanisms to handle potential errors during the export process, such as network issues or API limits.\n",
|
|
6900
6753
|
"examples": [
|
|
6901
|
-
"$ sf hardis:org:
|
|
6902
|
-
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
6903
|
-
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
6754
|
+
"$ sf hardis:org:files:export"
|
|
6904
6755
|
],
|
|
6905
6756
|
"flags": {
|
|
6906
6757
|
"json": {
|
|
@@ -6918,9 +6769,37 @@
|
|
|
6918
6769
|
"multiple": false,
|
|
6919
6770
|
"type": "option"
|
|
6920
6771
|
},
|
|
6921
|
-
"
|
|
6922
|
-
"
|
|
6923
|
-
"
|
|
6772
|
+
"path": {
|
|
6773
|
+
"char": "p",
|
|
6774
|
+
"description": "Path to the file export project",
|
|
6775
|
+
"name": "path",
|
|
6776
|
+
"hasDynamicHelp": false,
|
|
6777
|
+
"multiple": false,
|
|
6778
|
+
"type": "option"
|
|
6779
|
+
},
|
|
6780
|
+
"chunksize": {
|
|
6781
|
+
"char": "c",
|
|
6782
|
+
"description": "Number of records to add in a chunk before it is processed",
|
|
6783
|
+
"name": "chunksize",
|
|
6784
|
+
"default": 1000,
|
|
6785
|
+
"hasDynamicHelp": false,
|
|
6786
|
+
"multiple": false,
|
|
6787
|
+
"type": "option"
|
|
6788
|
+
},
|
|
6789
|
+
"polltimeout": {
|
|
6790
|
+
"char": "t",
|
|
6791
|
+
"description": "Timeout in MS for Bulk API calls",
|
|
6792
|
+
"name": "polltimeout",
|
|
6793
|
+
"default": 300000,
|
|
6794
|
+
"hasDynamicHelp": false,
|
|
6795
|
+
"multiple": false,
|
|
6796
|
+
"type": "option"
|
|
6797
|
+
},
|
|
6798
|
+
"startchunknumber": {
|
|
6799
|
+
"char": "s",
|
|
6800
|
+
"description": "Chunk number to start from",
|
|
6801
|
+
"name": "startchunknumber",
|
|
6802
|
+
"default": 0,
|
|
6924
6803
|
"hasDynamicHelp": false,
|
|
6925
6804
|
"multiple": false,
|
|
6926
6805
|
"type": "option"
|
|
@@ -6963,13 +6842,13 @@
|
|
|
6963
6842
|
},
|
|
6964
6843
|
"hasDynamicHelp": true,
|
|
6965
6844
|
"hiddenAliases": [],
|
|
6966
|
-
"id": "hardis:org:
|
|
6845
|
+
"id": "hardis:org:files:export",
|
|
6967
6846
|
"pluginAlias": "sfdx-hardis",
|
|
6968
6847
|
"pluginName": "sfdx-hardis",
|
|
6969
6848
|
"pluginType": "core",
|
|
6970
6849
|
"strict": true,
|
|
6971
6850
|
"enableJsonFlag": true,
|
|
6972
|
-
"title": "
|
|
6851
|
+
"title": "Export files",
|
|
6973
6852
|
"requiresProject": false,
|
|
6974
6853
|
"isESM": true,
|
|
6975
6854
|
"relativePath": [
|
|
@@ -6977,44 +6856,43 @@
|
|
|
6977
6856
|
"commands",
|
|
6978
6857
|
"hardis",
|
|
6979
6858
|
"org",
|
|
6980
|
-
"
|
|
6981
|
-
"
|
|
6859
|
+
"files",
|
|
6860
|
+
"export.js"
|
|
6982
6861
|
],
|
|
6983
6862
|
"aliasPermutations": [],
|
|
6984
6863
|
"permutations": [
|
|
6985
|
-
"hardis:org:
|
|
6986
|
-
"org:hardis:
|
|
6987
|
-
"org:
|
|
6988
|
-
"org:
|
|
6989
|
-
"hardis:
|
|
6990
|
-
"
|
|
6991
|
-
"
|
|
6992
|
-
"
|
|
6993
|
-
"hardis:
|
|
6994
|
-
"
|
|
6995
|
-
"
|
|
6996
|
-
"
|
|
6997
|
-
"hardis:org:
|
|
6998
|
-
"org:hardis:
|
|
6999
|
-
"org:
|
|
7000
|
-
"org:
|
|
7001
|
-
"hardis:
|
|
7002
|
-
"
|
|
7003
|
-
"
|
|
7004
|
-
"
|
|
7005
|
-
"hardis:
|
|
7006
|
-
"
|
|
7007
|
-
"
|
|
7008
|
-
"
|
|
6864
|
+
"hardis:org:files:export",
|
|
6865
|
+
"org:hardis:files:export",
|
|
6866
|
+
"org:files:hardis:export",
|
|
6867
|
+
"org:files:export:hardis",
|
|
6868
|
+
"hardis:files:org:export",
|
|
6869
|
+
"files:hardis:org:export",
|
|
6870
|
+
"files:org:hardis:export",
|
|
6871
|
+
"files:org:export:hardis",
|
|
6872
|
+
"hardis:files:export:org",
|
|
6873
|
+
"files:hardis:export:org",
|
|
6874
|
+
"files:export:hardis:org",
|
|
6875
|
+
"files:export:org:hardis",
|
|
6876
|
+
"hardis:org:export:files",
|
|
6877
|
+
"org:hardis:export:files",
|
|
6878
|
+
"org:export:hardis:files",
|
|
6879
|
+
"org:export:files:hardis",
|
|
6880
|
+
"hardis:export:org:files",
|
|
6881
|
+
"export:hardis:org:files",
|
|
6882
|
+
"export:org:hardis:files",
|
|
6883
|
+
"export:org:files:hardis",
|
|
6884
|
+
"hardis:export:files:org",
|
|
6885
|
+
"export:hardis:files:org",
|
|
6886
|
+
"export:files:hardis:org",
|
|
6887
|
+
"export:files:org:hardis"
|
|
7009
6888
|
]
|
|
7010
6889
|
},
|
|
7011
|
-
"hardis:org:
|
|
6890
|
+
"hardis:org:files:import": {
|
|
7012
6891
|
"aliases": [],
|
|
7013
6892
|
"args": {},
|
|
7014
|
-
"description": "
|
|
6893
|
+
"description": "\nThis command facilitates the mass upload of files into Salesforce, allowing you to populate records with associated documents, images, or other file types. It's a crucial tool for data migration, content seeding, or synchronizing external file repositories with Salesforce.\n\nKey functionalities:\n\n- **Configuration-Driven Import:** Relies on an `export.json` file within a designated file export project (created using `sf hardis:org:configure:files`) to determine which files to import and how they should be associated with Salesforce records.\n- **Interactive Project Selection:** If the file import project path is not provided via the `--path` flag, it interactively prompts the user to select one.\n- **Overwrite Option:** The `--overwrite` flag allows you to replace existing files in Salesforce with local versions that have the same name. Be aware that this option doubles the number of API calls used.\n- **Support for ContentVersion and Attachment:** Handles both modern Salesforce Files (ContentVersion) and older Attachments.\n\nSee this article for how to export files, which is often a prerequisite for importing:\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n\n## Technical explanations\n\nThe command's technical implementation involves:\n\n- **FilesImporter Class:** The core logic is encapsulated within the `FilesImporter` class, which orchestrates the entire import process.\n- **File System Scan:** Scans the local file system within the configured project directory to identify files for import.\n- **Salesforce API Interaction:** Uses Salesforce APIs (e.g., ContentVersion, Attachment) to upload files and associate them with records.\n- **Configuration Loading:** Reads the `export.json` file to get the import configuration, including SOQL queries to identify parent records for file association.\n- **Interactive Prompts:** Uses `selectFilesWorkspace` to allow the user to choose a file import project and `prompts` for confirming the overwrite behavior.\n- **Error Handling:** Includes mechanisms to handle potential errors during the import process, such as API limits or file upload failures.\n",
|
|
7015
6894
|
"examples": [
|
|
7016
|
-
"$ sf hardis:org:
|
|
7017
|
-
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
6895
|
+
"$ sf hardis:org:files:import"
|
|
7018
6896
|
],
|
|
7019
6897
|
"flags": {
|
|
7020
6898
|
"json": {
|
|
@@ -7032,14 +6910,21 @@
|
|
|
7032
6910
|
"multiple": false,
|
|
7033
6911
|
"type": "option"
|
|
7034
6912
|
},
|
|
7035
|
-
"
|
|
7036
|
-
"char": "
|
|
7037
|
-
"description": "
|
|
7038
|
-
"name": "
|
|
6913
|
+
"path": {
|
|
6914
|
+
"char": "p",
|
|
6915
|
+
"description": "Path to the file export project",
|
|
6916
|
+
"name": "path",
|
|
7039
6917
|
"hasDynamicHelp": false,
|
|
7040
6918
|
"multiple": false,
|
|
7041
6919
|
"type": "option"
|
|
7042
6920
|
},
|
|
6921
|
+
"overwrite": {
|
|
6922
|
+
"char": "f",
|
|
6923
|
+
"description": "Override existing files (doubles the number of API calls)",
|
|
6924
|
+
"name": "overwrite",
|
|
6925
|
+
"allowNo": false,
|
|
6926
|
+
"type": "boolean"
|
|
6927
|
+
},
|
|
7043
6928
|
"debug": {
|
|
7044
6929
|
"char": "d",
|
|
7045
6930
|
"description": "Activate debug mode (more logs)",
|
|
@@ -7078,49 +6963,164 @@
|
|
|
7078
6963
|
},
|
|
7079
6964
|
"hasDynamicHelp": true,
|
|
7080
6965
|
"hiddenAliases": [],
|
|
7081
|
-
"id": "hardis:org:
|
|
6966
|
+
"id": "hardis:org:files:import",
|
|
7082
6967
|
"pluginAlias": "sfdx-hardis",
|
|
7083
6968
|
"pluginName": "sfdx-hardis",
|
|
7084
6969
|
"pluginType": "core",
|
|
7085
6970
|
"strict": true,
|
|
7086
6971
|
"enableJsonFlag": true,
|
|
7087
|
-
"title": "
|
|
7088
|
-
"requiresProject":
|
|
7089
|
-
"isESM": true,
|
|
6972
|
+
"title": "Import files",
|
|
6973
|
+
"requiresProject": false,
|
|
6974
|
+
"isESM": true,
|
|
7090
6975
|
"relativePath": [
|
|
7091
6976
|
"lib",
|
|
7092
6977
|
"commands",
|
|
7093
6978
|
"hardis",
|
|
7094
6979
|
"org",
|
|
7095
|
-
"
|
|
7096
|
-
"
|
|
6980
|
+
"files",
|
|
6981
|
+
"import.js"
|
|
7097
6982
|
],
|
|
7098
6983
|
"aliasPermutations": [],
|
|
7099
6984
|
"permutations": [
|
|
7100
|
-
"hardis:org:
|
|
7101
|
-
"org:hardis:
|
|
7102
|
-
"org:
|
|
7103
|
-
"org:
|
|
7104
|
-
"hardis:
|
|
7105
|
-
"
|
|
7106
|
-
"
|
|
7107
|
-
"
|
|
7108
|
-
"hardis:
|
|
7109
|
-
"
|
|
7110
|
-
"
|
|
7111
|
-
"
|
|
7112
|
-
"hardis:org:
|
|
7113
|
-
"org:hardis:
|
|
7114
|
-
"org:
|
|
7115
|
-
"org:
|
|
7116
|
-
"hardis:
|
|
7117
|
-
"
|
|
7118
|
-
"
|
|
7119
|
-
"
|
|
7120
|
-
"hardis:
|
|
7121
|
-
"
|
|
7122
|
-
"
|
|
7123
|
-
"
|
|
6985
|
+
"hardis:org:files:import",
|
|
6986
|
+
"org:hardis:files:import",
|
|
6987
|
+
"org:files:hardis:import",
|
|
6988
|
+
"org:files:import:hardis",
|
|
6989
|
+
"hardis:files:org:import",
|
|
6990
|
+
"files:hardis:org:import",
|
|
6991
|
+
"files:org:hardis:import",
|
|
6992
|
+
"files:org:import:hardis",
|
|
6993
|
+
"hardis:files:import:org",
|
|
6994
|
+
"files:hardis:import:org",
|
|
6995
|
+
"files:import:hardis:org",
|
|
6996
|
+
"files:import:org:hardis",
|
|
6997
|
+
"hardis:org:import:files",
|
|
6998
|
+
"org:hardis:import:files",
|
|
6999
|
+
"org:import:hardis:files",
|
|
7000
|
+
"org:import:files:hardis",
|
|
7001
|
+
"hardis:import:org:files",
|
|
7002
|
+
"import:hardis:org:files",
|
|
7003
|
+
"import:org:hardis:files",
|
|
7004
|
+
"import:org:files:hardis",
|
|
7005
|
+
"hardis:import:files:org",
|
|
7006
|
+
"import:hardis:files:org",
|
|
7007
|
+
"import:files:hardis:org",
|
|
7008
|
+
"import:files:org:hardis"
|
|
7009
|
+
]
|
|
7010
|
+
},
|
|
7011
|
+
"hardis:org:generate:packagexmlfull": {
|
|
7012
|
+
"aliases": [],
|
|
7013
|
+
"args": {},
|
|
7014
|
+
"description": "\n## Command Behavior\n\n**Generates a comprehensive `package.xml` file for a Salesforce org, including all metadata components, even managed ones.**\n\nThis command is essential for various Salesforce development and administration tasks, especially when you need a complete snapshot of an org's metadata. It goes beyond typical source tracking by including managed package components, which is crucial for understanding the full metadata footprint of an org.\n\nKey functionalities:\n\n- **Full Org Metadata Retrieval:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a complete list of all metadata types and their members.\n- **Managed Package Inclusion:** Unlike standard source retrieval, this command explicitly includes metadata from managed packages, providing a truly comprehensive `package.xml`.\n- **Customizable Output:** Allows you to specify the output file path for the generated `package.xml`.\n- **Interactive Org Selection:** If no target org is specified, it interactively prompts the user to choose an org.\n\n## Technical explanations\n\nThe command's technical implementation involves:\n\n- **Salesforce Metadata API Interaction:** It leverages the Salesforce Metadata API to list all available metadata types and then retrieve all components for each type.\n- **`buildOrgManifest` Utility:** The core logic for querying the org's metadata and constructing the `package.xml` is encapsulated within the `buildOrgManifest` utility function.\n- **XML Generation:** It dynamically builds the XML structure of the `package.xml` file, including the `types` and `members` elements for all retrieved metadata.\n- **File System Operations:** It writes the generated `package.xml` file to the specified output path.\n- **Interactive Prompts:** Uses `promptOrgUsernameDefault` to guide the user in selecting the target Salesforce org.\n",
|
|
7015
|
+
"examples": [
|
|
7016
|
+
"$ sf hardis:org:generate:packagexmlfull",
|
|
7017
|
+
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
7018
|
+
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
7019
|
+
],
|
|
7020
|
+
"flags": {
|
|
7021
|
+
"json": {
|
|
7022
|
+
"description": "Format output as json.",
|
|
7023
|
+
"helpGroup": "GLOBAL",
|
|
7024
|
+
"name": "json",
|
|
7025
|
+
"allowNo": false,
|
|
7026
|
+
"type": "boolean"
|
|
7027
|
+
},
|
|
7028
|
+
"flags-dir": {
|
|
7029
|
+
"helpGroup": "GLOBAL",
|
|
7030
|
+
"name": "flags-dir",
|
|
7031
|
+
"summary": "Import flag values from a directory.",
|
|
7032
|
+
"hasDynamicHelp": false,
|
|
7033
|
+
"multiple": false,
|
|
7034
|
+
"type": "option"
|
|
7035
|
+
},
|
|
7036
|
+
"outputfile": {
|
|
7037
|
+
"description": "Output package.xml file",
|
|
7038
|
+
"name": "outputfile",
|
|
7039
|
+
"hasDynamicHelp": false,
|
|
7040
|
+
"multiple": false,
|
|
7041
|
+
"type": "option"
|
|
7042
|
+
},
|
|
7043
|
+
"debug": {
|
|
7044
|
+
"char": "d",
|
|
7045
|
+
"description": "Activate debug mode (more logs)",
|
|
7046
|
+
"name": "debug",
|
|
7047
|
+
"allowNo": false,
|
|
7048
|
+
"type": "boolean"
|
|
7049
|
+
},
|
|
7050
|
+
"websocket": {
|
|
7051
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7052
|
+
"name": "websocket",
|
|
7053
|
+
"hasDynamicHelp": false,
|
|
7054
|
+
"multiple": false,
|
|
7055
|
+
"type": "option"
|
|
7056
|
+
},
|
|
7057
|
+
"skipauth": {
|
|
7058
|
+
"description": "Skip authentication check when a default username is required",
|
|
7059
|
+
"name": "skipauth",
|
|
7060
|
+
"allowNo": false,
|
|
7061
|
+
"type": "boolean"
|
|
7062
|
+
},
|
|
7063
|
+
"target-org": {
|
|
7064
|
+
"aliases": [
|
|
7065
|
+
"targetusername",
|
|
7066
|
+
"u"
|
|
7067
|
+
],
|
|
7068
|
+
"char": "o",
|
|
7069
|
+
"deprecateAliases": true,
|
|
7070
|
+
"name": "target-org",
|
|
7071
|
+
"noCacheDefault": true,
|
|
7072
|
+
"required": true,
|
|
7073
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7074
|
+
"hasDynamicHelp": true,
|
|
7075
|
+
"multiple": false,
|
|
7076
|
+
"type": "option"
|
|
7077
|
+
}
|
|
7078
|
+
},
|
|
7079
|
+
"hasDynamicHelp": true,
|
|
7080
|
+
"hiddenAliases": [],
|
|
7081
|
+
"id": "hardis:org:generate:packagexmlfull",
|
|
7082
|
+
"pluginAlias": "sfdx-hardis",
|
|
7083
|
+
"pluginName": "sfdx-hardis",
|
|
7084
|
+
"pluginType": "core",
|
|
7085
|
+
"strict": true,
|
|
7086
|
+
"enableJsonFlag": true,
|
|
7087
|
+
"title": "Generate Full Org package.xml",
|
|
7088
|
+
"requiresProject": false,
|
|
7089
|
+
"isESM": true,
|
|
7090
|
+
"relativePath": [
|
|
7091
|
+
"lib",
|
|
7092
|
+
"commands",
|
|
7093
|
+
"hardis",
|
|
7094
|
+
"org",
|
|
7095
|
+
"generate",
|
|
7096
|
+
"packagexmlfull.js"
|
|
7097
|
+
],
|
|
7098
|
+
"aliasPermutations": [],
|
|
7099
|
+
"permutations": [
|
|
7100
|
+
"hardis:org:generate:packagexmlfull",
|
|
7101
|
+
"org:hardis:generate:packagexmlfull",
|
|
7102
|
+
"org:generate:hardis:packagexmlfull",
|
|
7103
|
+
"org:generate:packagexmlfull:hardis",
|
|
7104
|
+
"hardis:generate:org:packagexmlfull",
|
|
7105
|
+
"generate:hardis:org:packagexmlfull",
|
|
7106
|
+
"generate:org:hardis:packagexmlfull",
|
|
7107
|
+
"generate:org:packagexmlfull:hardis",
|
|
7108
|
+
"hardis:generate:packagexmlfull:org",
|
|
7109
|
+
"generate:hardis:packagexmlfull:org",
|
|
7110
|
+
"generate:packagexmlfull:hardis:org",
|
|
7111
|
+
"generate:packagexmlfull:org:hardis",
|
|
7112
|
+
"hardis:org:packagexmlfull:generate",
|
|
7113
|
+
"org:hardis:packagexmlfull:generate",
|
|
7114
|
+
"org:packagexmlfull:hardis:generate",
|
|
7115
|
+
"org:packagexmlfull:generate:hardis",
|
|
7116
|
+
"hardis:packagexmlfull:org:generate",
|
|
7117
|
+
"packagexmlfull:hardis:org:generate",
|
|
7118
|
+
"packagexmlfull:org:hardis:generate",
|
|
7119
|
+
"packagexmlfull:org:generate:hardis",
|
|
7120
|
+
"hardis:packagexmlfull:generate:org",
|
|
7121
|
+
"packagexmlfull:hardis:generate:org",
|
|
7122
|
+
"packagexmlfull:generate:hardis:org",
|
|
7123
|
+
"packagexmlfull:generate:org:hardis"
|
|
7124
7124
|
]
|
|
7125
7125
|
},
|
|
7126
7126
|
"hardis:org:monitor:all": {
|
|
@@ -10977,12 +10977,14 @@
|
|
|
10977
10977
|
"xml:clean:project:hardis"
|
|
10978
10978
|
]
|
|
10979
10979
|
},
|
|
10980
|
-
"hardis:project:
|
|
10980
|
+
"hardis:project:deploy:notify": {
|
|
10981
10981
|
"aliases": [],
|
|
10982
10982
|
"args": {},
|
|
10983
|
-
"description": "
|
|
10983
|
+
"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",
|
|
10984
10984
|
"examples": [
|
|
10985
|
-
"$ sf hardis:project:
|
|
10985
|
+
"$ sf hardis:project:deploy:notify --check-only --deploy-status valid --message \"This deployment check is valid\\n\\nYahooo !!\"",
|
|
10986
|
+
"$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
|
|
10987
|
+
"$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
|
|
10986
10988
|
],
|
|
10987
10989
|
"flags": {
|
|
10988
10990
|
"json": {
|
|
@@ -11000,11 +11002,32 @@
|
|
|
11000
11002
|
"multiple": false,
|
|
11001
11003
|
"type": "option"
|
|
11002
11004
|
},
|
|
11003
|
-
"
|
|
11004
|
-
"char": "
|
|
11005
|
-
"description": "
|
|
11006
|
-
"name": "
|
|
11007
|
-
"
|
|
11005
|
+
"check-only": {
|
|
11006
|
+
"char": "c",
|
|
11007
|
+
"description": "Use this option to send notifications from a Deployment simulation job",
|
|
11008
|
+
"name": "check-only",
|
|
11009
|
+
"allowNo": false,
|
|
11010
|
+
"type": "boolean"
|
|
11011
|
+
},
|
|
11012
|
+
"deploy-status": {
|
|
11013
|
+
"char": "s",
|
|
11014
|
+
"description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
|
|
11015
|
+
"name": "deploy-status",
|
|
11016
|
+
"default": "unknown",
|
|
11017
|
+
"hasDynamicHelp": false,
|
|
11018
|
+
"multiple": false,
|
|
11019
|
+
"options": [
|
|
11020
|
+
"valid",
|
|
11021
|
+
"invalid",
|
|
11022
|
+
"unknown"
|
|
11023
|
+
],
|
|
11024
|
+
"type": "option"
|
|
11025
|
+
},
|
|
11026
|
+
"message": {
|
|
11027
|
+
"char": "m",
|
|
11028
|
+
"description": "Custom message that you want to be added in notifications (string or markdown format)",
|
|
11029
|
+
"name": "message",
|
|
11030
|
+
"default": "",
|
|
11008
11031
|
"hasDynamicHelp": false,
|
|
11009
11032
|
"multiple": false,
|
|
11010
11033
|
"type": "option"
|
|
@@ -11047,13 +11070,13 @@
|
|
|
11047
11070
|
},
|
|
11048
11071
|
"hasDynamicHelp": true,
|
|
11049
11072
|
"hiddenAliases": [],
|
|
11050
|
-
"id": "hardis:project:
|
|
11073
|
+
"id": "hardis:project:deploy:notify",
|
|
11051
11074
|
"pluginAlias": "sfdx-hardis",
|
|
11052
11075
|
"pluginName": "sfdx-hardis",
|
|
11053
11076
|
"pluginType": "core",
|
|
11054
11077
|
"strict": true,
|
|
11055
11078
|
"enableJsonFlag": true,
|
|
11056
|
-
"title": "
|
|
11079
|
+
"title": "Deployment Notifications",
|
|
11057
11080
|
"requiresProject": true,
|
|
11058
11081
|
"isESM": true,
|
|
11059
11082
|
"relativePath": [
|
|
@@ -11061,246 +11084,8 @@
|
|
|
11061
11084
|
"commands",
|
|
11062
11085
|
"hardis",
|
|
11063
11086
|
"project",
|
|
11064
|
-
"
|
|
11065
|
-
"
|
|
11066
|
-
],
|
|
11067
|
-
"aliasPermutations": [],
|
|
11068
|
-
"permutations": [
|
|
11069
|
-
"hardis:project:fix:profiletabs",
|
|
11070
|
-
"project:hardis:fix:profiletabs",
|
|
11071
|
-
"project:fix:hardis:profiletabs",
|
|
11072
|
-
"project:fix:profiletabs:hardis",
|
|
11073
|
-
"hardis:fix:project:profiletabs",
|
|
11074
|
-
"fix:hardis:project:profiletabs",
|
|
11075
|
-
"fix:project:hardis:profiletabs",
|
|
11076
|
-
"fix:project:profiletabs:hardis",
|
|
11077
|
-
"hardis:fix:profiletabs:project",
|
|
11078
|
-
"fix:hardis:profiletabs:project",
|
|
11079
|
-
"fix:profiletabs:hardis:project",
|
|
11080
|
-
"fix:profiletabs:project:hardis",
|
|
11081
|
-
"hardis:project:profiletabs:fix",
|
|
11082
|
-
"project:hardis:profiletabs:fix",
|
|
11083
|
-
"project:profiletabs:hardis:fix",
|
|
11084
|
-
"project:profiletabs:fix:hardis",
|
|
11085
|
-
"hardis:profiletabs:project:fix",
|
|
11086
|
-
"profiletabs:hardis:project:fix",
|
|
11087
|
-
"profiletabs:project:hardis:fix",
|
|
11088
|
-
"profiletabs:project:fix:hardis",
|
|
11089
|
-
"hardis:profiletabs:fix:project",
|
|
11090
|
-
"profiletabs:hardis:fix:project",
|
|
11091
|
-
"profiletabs:fix:hardis:project",
|
|
11092
|
-
"profiletabs:fix:project:hardis"
|
|
11093
|
-
]
|
|
11094
|
-
},
|
|
11095
|
-
"hardis:project:fix:v53flexipages": {
|
|
11096
|
-
"aliases": [],
|
|
11097
|
-
"args": {},
|
|
11098
|
-
"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## Technical explanations\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",
|
|
11099
|
-
"examples": [
|
|
11100
|
-
"$ sf hardis:project:fix:v53flexipages"
|
|
11101
|
-
],
|
|
11102
|
-
"flags": {
|
|
11103
|
-
"json": {
|
|
11104
|
-
"description": "Format output as json.",
|
|
11105
|
-
"helpGroup": "GLOBAL",
|
|
11106
|
-
"name": "json",
|
|
11107
|
-
"allowNo": false,
|
|
11108
|
-
"type": "boolean"
|
|
11109
|
-
},
|
|
11110
|
-
"flags-dir": {
|
|
11111
|
-
"helpGroup": "GLOBAL",
|
|
11112
|
-
"name": "flags-dir",
|
|
11113
|
-
"summary": "Import flag values from a directory.",
|
|
11114
|
-
"hasDynamicHelp": false,
|
|
11115
|
-
"multiple": false,
|
|
11116
|
-
"type": "option"
|
|
11117
|
-
},
|
|
11118
|
-
"path": {
|
|
11119
|
-
"char": "p",
|
|
11120
|
-
"description": "Root folder",
|
|
11121
|
-
"name": "path",
|
|
11122
|
-
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
11123
|
-
"hasDynamicHelp": false,
|
|
11124
|
-
"multiple": false,
|
|
11125
|
-
"type": "option"
|
|
11126
|
-
},
|
|
11127
|
-
"debug": {
|
|
11128
|
-
"char": "d",
|
|
11129
|
-
"description": "Activate debug mode (more logs)",
|
|
11130
|
-
"name": "debug",
|
|
11131
|
-
"allowNo": false,
|
|
11132
|
-
"type": "boolean"
|
|
11133
|
-
},
|
|
11134
|
-
"websocket": {
|
|
11135
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11136
|
-
"name": "websocket",
|
|
11137
|
-
"hasDynamicHelp": false,
|
|
11138
|
-
"multiple": false,
|
|
11139
|
-
"type": "option"
|
|
11140
|
-
},
|
|
11141
|
-
"skipauth": {
|
|
11142
|
-
"description": "Skip authentication check when a default username is required",
|
|
11143
|
-
"name": "skipauth",
|
|
11144
|
-
"allowNo": false,
|
|
11145
|
-
"type": "boolean"
|
|
11146
|
-
}
|
|
11147
|
-
},
|
|
11148
|
-
"hasDynamicHelp": false,
|
|
11149
|
-
"hiddenAliases": [],
|
|
11150
|
-
"id": "hardis:project:fix:v53flexipages",
|
|
11151
|
-
"pluginAlias": "sfdx-hardis",
|
|
11152
|
-
"pluginName": "sfdx-hardis",
|
|
11153
|
-
"pluginType": "core",
|
|
11154
|
-
"strict": true,
|
|
11155
|
-
"enableJsonFlag": true,
|
|
11156
|
-
"title": "Fix flexipages for v53",
|
|
11157
|
-
"requiresProject": true,
|
|
11158
|
-
"isESM": true,
|
|
11159
|
-
"relativePath": [
|
|
11160
|
-
"lib",
|
|
11161
|
-
"commands",
|
|
11162
|
-
"hardis",
|
|
11163
|
-
"project",
|
|
11164
|
-
"fix",
|
|
11165
|
-
"v53flexipages.js"
|
|
11166
|
-
],
|
|
11167
|
-
"aliasPermutations": [],
|
|
11168
|
-
"permutations": [
|
|
11169
|
-
"hardis:project:fix:v53flexipages",
|
|
11170
|
-
"project:hardis:fix:v53flexipages",
|
|
11171
|
-
"project:fix:hardis:v53flexipages",
|
|
11172
|
-
"project:fix:v53flexipages:hardis",
|
|
11173
|
-
"hardis:fix:project:v53flexipages",
|
|
11174
|
-
"fix:hardis:project:v53flexipages",
|
|
11175
|
-
"fix:project:hardis:v53flexipages",
|
|
11176
|
-
"fix:project:v53flexipages:hardis",
|
|
11177
|
-
"hardis:fix:v53flexipages:project",
|
|
11178
|
-
"fix:hardis:v53flexipages:project",
|
|
11179
|
-
"fix:v53flexipages:hardis:project",
|
|
11180
|
-
"fix:v53flexipages:project:hardis",
|
|
11181
|
-
"hardis:project:v53flexipages:fix",
|
|
11182
|
-
"project:hardis:v53flexipages:fix",
|
|
11183
|
-
"project:v53flexipages:hardis:fix",
|
|
11184
|
-
"project:v53flexipages:fix:hardis",
|
|
11185
|
-
"hardis:v53flexipages:project:fix",
|
|
11186
|
-
"v53flexipages:hardis:project:fix",
|
|
11187
|
-
"v53flexipages:project:hardis:fix",
|
|
11188
|
-
"v53flexipages:project:fix:hardis",
|
|
11189
|
-
"hardis:v53flexipages:fix:project",
|
|
11190
|
-
"v53flexipages:hardis:fix:project",
|
|
11191
|
-
"v53flexipages:fix:hardis:project",
|
|
11192
|
-
"v53flexipages:fix:project:hardis"
|
|
11193
|
-
]
|
|
11194
|
-
},
|
|
11195
|
-
"hardis:project:deploy:notify": {
|
|
11196
|
-
"aliases": [],
|
|
11197
|
-
"args": {},
|
|
11198
|
-
"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",
|
|
11199
|
-
"examples": [
|
|
11200
|
-
"$ sf hardis:project:deploy:notify --check-only --deploy-status valid --message \"This deployment check is valid\\n\\nYahooo !!\"",
|
|
11201
|
-
"$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
|
|
11202
|
-
"$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
|
|
11203
|
-
],
|
|
11204
|
-
"flags": {
|
|
11205
|
-
"json": {
|
|
11206
|
-
"description": "Format output as json.",
|
|
11207
|
-
"helpGroup": "GLOBAL",
|
|
11208
|
-
"name": "json",
|
|
11209
|
-
"allowNo": false,
|
|
11210
|
-
"type": "boolean"
|
|
11211
|
-
},
|
|
11212
|
-
"flags-dir": {
|
|
11213
|
-
"helpGroup": "GLOBAL",
|
|
11214
|
-
"name": "flags-dir",
|
|
11215
|
-
"summary": "Import flag values from a directory.",
|
|
11216
|
-
"hasDynamicHelp": false,
|
|
11217
|
-
"multiple": false,
|
|
11218
|
-
"type": "option"
|
|
11219
|
-
},
|
|
11220
|
-
"check-only": {
|
|
11221
|
-
"char": "c",
|
|
11222
|
-
"description": "Use this option to send notifications from a Deployment simulation job",
|
|
11223
|
-
"name": "check-only",
|
|
11224
|
-
"allowNo": false,
|
|
11225
|
-
"type": "boolean"
|
|
11226
|
-
},
|
|
11227
|
-
"deploy-status": {
|
|
11228
|
-
"char": "s",
|
|
11229
|
-
"description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
|
|
11230
|
-
"name": "deploy-status",
|
|
11231
|
-
"default": "unknown",
|
|
11232
|
-
"hasDynamicHelp": false,
|
|
11233
|
-
"multiple": false,
|
|
11234
|
-
"options": [
|
|
11235
|
-
"valid",
|
|
11236
|
-
"invalid",
|
|
11237
|
-
"unknown"
|
|
11238
|
-
],
|
|
11239
|
-
"type": "option"
|
|
11240
|
-
},
|
|
11241
|
-
"message": {
|
|
11242
|
-
"char": "m",
|
|
11243
|
-
"description": "Custom message that you want to be added in notifications (string or markdown format)",
|
|
11244
|
-
"name": "message",
|
|
11245
|
-
"default": "",
|
|
11246
|
-
"hasDynamicHelp": false,
|
|
11247
|
-
"multiple": false,
|
|
11248
|
-
"type": "option"
|
|
11249
|
-
},
|
|
11250
|
-
"debug": {
|
|
11251
|
-
"char": "d",
|
|
11252
|
-
"description": "Activate debug mode (more logs)",
|
|
11253
|
-
"name": "debug",
|
|
11254
|
-
"allowNo": false,
|
|
11255
|
-
"type": "boolean"
|
|
11256
|
-
},
|
|
11257
|
-
"websocket": {
|
|
11258
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11259
|
-
"name": "websocket",
|
|
11260
|
-
"hasDynamicHelp": false,
|
|
11261
|
-
"multiple": false,
|
|
11262
|
-
"type": "option"
|
|
11263
|
-
},
|
|
11264
|
-
"skipauth": {
|
|
11265
|
-
"description": "Skip authentication check when a default username is required",
|
|
11266
|
-
"name": "skipauth",
|
|
11267
|
-
"allowNo": false,
|
|
11268
|
-
"type": "boolean"
|
|
11269
|
-
},
|
|
11270
|
-
"target-org": {
|
|
11271
|
-
"aliases": [
|
|
11272
|
-
"targetusername",
|
|
11273
|
-
"u"
|
|
11274
|
-
],
|
|
11275
|
-
"char": "o",
|
|
11276
|
-
"deprecateAliases": true,
|
|
11277
|
-
"name": "target-org",
|
|
11278
|
-
"noCacheDefault": true,
|
|
11279
|
-
"required": true,
|
|
11280
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
11281
|
-
"hasDynamicHelp": true,
|
|
11282
|
-
"multiple": false,
|
|
11283
|
-
"type": "option"
|
|
11284
|
-
}
|
|
11285
|
-
},
|
|
11286
|
-
"hasDynamicHelp": true,
|
|
11287
|
-
"hiddenAliases": [],
|
|
11288
|
-
"id": "hardis:project:deploy:notify",
|
|
11289
|
-
"pluginAlias": "sfdx-hardis",
|
|
11290
|
-
"pluginName": "sfdx-hardis",
|
|
11291
|
-
"pluginType": "core",
|
|
11292
|
-
"strict": true,
|
|
11293
|
-
"enableJsonFlag": true,
|
|
11294
|
-
"title": "Deployment Notifications",
|
|
11295
|
-
"requiresProject": true,
|
|
11296
|
-
"isESM": true,
|
|
11297
|
-
"relativePath": [
|
|
11298
|
-
"lib",
|
|
11299
|
-
"commands",
|
|
11300
|
-
"hardis",
|
|
11301
|
-
"project",
|
|
11302
|
-
"deploy",
|
|
11303
|
-
"notify.js"
|
|
11087
|
+
"deploy",
|
|
11088
|
+
"notify.js"
|
|
11304
11089
|
],
|
|
11305
11090
|
"aliasPermutations": [],
|
|
11306
11091
|
"permutations": [
|
|
@@ -12367,6 +12152,221 @@
|
|
|
12367
12152
|
"validate:deploy:project:hardis"
|
|
12368
12153
|
]
|
|
12369
12154
|
},
|
|
12155
|
+
"hardis:project:fix:profiletabs": {
|
|
12156
|
+
"aliases": [],
|
|
12157
|
+
"args": {},
|
|
12158
|
+
"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## Technical explanations\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",
|
|
12159
|
+
"examples": [
|
|
12160
|
+
"$ sf hardis:project:fix:profiletabs"
|
|
12161
|
+
],
|
|
12162
|
+
"flags": {
|
|
12163
|
+
"json": {
|
|
12164
|
+
"description": "Format output as json.",
|
|
12165
|
+
"helpGroup": "GLOBAL",
|
|
12166
|
+
"name": "json",
|
|
12167
|
+
"allowNo": false,
|
|
12168
|
+
"type": "boolean"
|
|
12169
|
+
},
|
|
12170
|
+
"flags-dir": {
|
|
12171
|
+
"helpGroup": "GLOBAL",
|
|
12172
|
+
"name": "flags-dir",
|
|
12173
|
+
"summary": "Import flag values from a directory.",
|
|
12174
|
+
"hasDynamicHelp": false,
|
|
12175
|
+
"multiple": false,
|
|
12176
|
+
"type": "option"
|
|
12177
|
+
},
|
|
12178
|
+
"path": {
|
|
12179
|
+
"char": "p",
|
|
12180
|
+
"description": "Root folder",
|
|
12181
|
+
"name": "path",
|
|
12182
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12183
|
+
"hasDynamicHelp": false,
|
|
12184
|
+
"multiple": false,
|
|
12185
|
+
"type": "option"
|
|
12186
|
+
},
|
|
12187
|
+
"debug": {
|
|
12188
|
+
"char": "d",
|
|
12189
|
+
"description": "Activate debug mode (more logs)",
|
|
12190
|
+
"name": "debug",
|
|
12191
|
+
"allowNo": false,
|
|
12192
|
+
"type": "boolean"
|
|
12193
|
+
},
|
|
12194
|
+
"websocket": {
|
|
12195
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12196
|
+
"name": "websocket",
|
|
12197
|
+
"hasDynamicHelp": false,
|
|
12198
|
+
"multiple": false,
|
|
12199
|
+
"type": "option"
|
|
12200
|
+
},
|
|
12201
|
+
"skipauth": {
|
|
12202
|
+
"description": "Skip authentication check when a default username is required",
|
|
12203
|
+
"name": "skipauth",
|
|
12204
|
+
"allowNo": false,
|
|
12205
|
+
"type": "boolean"
|
|
12206
|
+
},
|
|
12207
|
+
"target-org": {
|
|
12208
|
+
"aliases": [
|
|
12209
|
+
"targetusername",
|
|
12210
|
+
"u"
|
|
12211
|
+
],
|
|
12212
|
+
"char": "o",
|
|
12213
|
+
"deprecateAliases": true,
|
|
12214
|
+
"name": "target-org",
|
|
12215
|
+
"noCacheDefault": true,
|
|
12216
|
+
"required": true,
|
|
12217
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
12218
|
+
"hasDynamicHelp": true,
|
|
12219
|
+
"multiple": false,
|
|
12220
|
+
"type": "option"
|
|
12221
|
+
}
|
|
12222
|
+
},
|
|
12223
|
+
"hasDynamicHelp": true,
|
|
12224
|
+
"hiddenAliases": [],
|
|
12225
|
+
"id": "hardis:project:fix:profiletabs",
|
|
12226
|
+
"pluginAlias": "sfdx-hardis",
|
|
12227
|
+
"pluginName": "sfdx-hardis",
|
|
12228
|
+
"pluginType": "core",
|
|
12229
|
+
"strict": true,
|
|
12230
|
+
"enableJsonFlag": true,
|
|
12231
|
+
"title": "Fix profiles to add tabs that are not retrieved by SF CLI",
|
|
12232
|
+
"requiresProject": true,
|
|
12233
|
+
"isESM": true,
|
|
12234
|
+
"relativePath": [
|
|
12235
|
+
"lib",
|
|
12236
|
+
"commands",
|
|
12237
|
+
"hardis",
|
|
12238
|
+
"project",
|
|
12239
|
+
"fix",
|
|
12240
|
+
"profiletabs.js"
|
|
12241
|
+
],
|
|
12242
|
+
"aliasPermutations": [],
|
|
12243
|
+
"permutations": [
|
|
12244
|
+
"hardis:project:fix:profiletabs",
|
|
12245
|
+
"project:hardis:fix:profiletabs",
|
|
12246
|
+
"project:fix:hardis:profiletabs",
|
|
12247
|
+
"project:fix:profiletabs:hardis",
|
|
12248
|
+
"hardis:fix:project:profiletabs",
|
|
12249
|
+
"fix:hardis:project:profiletabs",
|
|
12250
|
+
"fix:project:hardis:profiletabs",
|
|
12251
|
+
"fix:project:profiletabs:hardis",
|
|
12252
|
+
"hardis:fix:profiletabs:project",
|
|
12253
|
+
"fix:hardis:profiletabs:project",
|
|
12254
|
+
"fix:profiletabs:hardis:project",
|
|
12255
|
+
"fix:profiletabs:project:hardis",
|
|
12256
|
+
"hardis:project:profiletabs:fix",
|
|
12257
|
+
"project:hardis:profiletabs:fix",
|
|
12258
|
+
"project:profiletabs:hardis:fix",
|
|
12259
|
+
"project:profiletabs:fix:hardis",
|
|
12260
|
+
"hardis:profiletabs:project:fix",
|
|
12261
|
+
"profiletabs:hardis:project:fix",
|
|
12262
|
+
"profiletabs:project:hardis:fix",
|
|
12263
|
+
"profiletabs:project:fix:hardis",
|
|
12264
|
+
"hardis:profiletabs:fix:project",
|
|
12265
|
+
"profiletabs:hardis:fix:project",
|
|
12266
|
+
"profiletabs:fix:hardis:project",
|
|
12267
|
+
"profiletabs:fix:project:hardis"
|
|
12268
|
+
]
|
|
12269
|
+
},
|
|
12270
|
+
"hardis:project:fix:v53flexipages": {
|
|
12271
|
+
"aliases": [],
|
|
12272
|
+
"args": {},
|
|
12273
|
+
"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## Technical explanations\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",
|
|
12274
|
+
"examples": [
|
|
12275
|
+
"$ sf hardis:project:fix:v53flexipages"
|
|
12276
|
+
],
|
|
12277
|
+
"flags": {
|
|
12278
|
+
"json": {
|
|
12279
|
+
"description": "Format output as json.",
|
|
12280
|
+
"helpGroup": "GLOBAL",
|
|
12281
|
+
"name": "json",
|
|
12282
|
+
"allowNo": false,
|
|
12283
|
+
"type": "boolean"
|
|
12284
|
+
},
|
|
12285
|
+
"flags-dir": {
|
|
12286
|
+
"helpGroup": "GLOBAL",
|
|
12287
|
+
"name": "flags-dir",
|
|
12288
|
+
"summary": "Import flag values from a directory.",
|
|
12289
|
+
"hasDynamicHelp": false,
|
|
12290
|
+
"multiple": false,
|
|
12291
|
+
"type": "option"
|
|
12292
|
+
},
|
|
12293
|
+
"path": {
|
|
12294
|
+
"char": "p",
|
|
12295
|
+
"description": "Root folder",
|
|
12296
|
+
"name": "path",
|
|
12297
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12298
|
+
"hasDynamicHelp": false,
|
|
12299
|
+
"multiple": false,
|
|
12300
|
+
"type": "option"
|
|
12301
|
+
},
|
|
12302
|
+
"debug": {
|
|
12303
|
+
"char": "d",
|
|
12304
|
+
"description": "Activate debug mode (more logs)",
|
|
12305
|
+
"name": "debug",
|
|
12306
|
+
"allowNo": false,
|
|
12307
|
+
"type": "boolean"
|
|
12308
|
+
},
|
|
12309
|
+
"websocket": {
|
|
12310
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12311
|
+
"name": "websocket",
|
|
12312
|
+
"hasDynamicHelp": false,
|
|
12313
|
+
"multiple": false,
|
|
12314
|
+
"type": "option"
|
|
12315
|
+
},
|
|
12316
|
+
"skipauth": {
|
|
12317
|
+
"description": "Skip authentication check when a default username is required",
|
|
12318
|
+
"name": "skipauth",
|
|
12319
|
+
"allowNo": false,
|
|
12320
|
+
"type": "boolean"
|
|
12321
|
+
}
|
|
12322
|
+
},
|
|
12323
|
+
"hasDynamicHelp": false,
|
|
12324
|
+
"hiddenAliases": [],
|
|
12325
|
+
"id": "hardis:project:fix:v53flexipages",
|
|
12326
|
+
"pluginAlias": "sfdx-hardis",
|
|
12327
|
+
"pluginName": "sfdx-hardis",
|
|
12328
|
+
"pluginType": "core",
|
|
12329
|
+
"strict": true,
|
|
12330
|
+
"enableJsonFlag": true,
|
|
12331
|
+
"title": "Fix flexipages for v53",
|
|
12332
|
+
"requiresProject": true,
|
|
12333
|
+
"isESM": true,
|
|
12334
|
+
"relativePath": [
|
|
12335
|
+
"lib",
|
|
12336
|
+
"commands",
|
|
12337
|
+
"hardis",
|
|
12338
|
+
"project",
|
|
12339
|
+
"fix",
|
|
12340
|
+
"v53flexipages.js"
|
|
12341
|
+
],
|
|
12342
|
+
"aliasPermutations": [],
|
|
12343
|
+
"permutations": [
|
|
12344
|
+
"hardis:project:fix:v53flexipages",
|
|
12345
|
+
"project:hardis:fix:v53flexipages",
|
|
12346
|
+
"project:fix:hardis:v53flexipages",
|
|
12347
|
+
"project:fix:v53flexipages:hardis",
|
|
12348
|
+
"hardis:fix:project:v53flexipages",
|
|
12349
|
+
"fix:hardis:project:v53flexipages",
|
|
12350
|
+
"fix:project:hardis:v53flexipages",
|
|
12351
|
+
"fix:project:v53flexipages:hardis",
|
|
12352
|
+
"hardis:fix:v53flexipages:project",
|
|
12353
|
+
"fix:hardis:v53flexipages:project",
|
|
12354
|
+
"fix:v53flexipages:hardis:project",
|
|
12355
|
+
"fix:v53flexipages:project:hardis",
|
|
12356
|
+
"hardis:project:v53flexipages:fix",
|
|
12357
|
+
"project:hardis:v53flexipages:fix",
|
|
12358
|
+
"project:v53flexipages:hardis:fix",
|
|
12359
|
+
"project:v53flexipages:fix:hardis",
|
|
12360
|
+
"hardis:v53flexipages:project:fix",
|
|
12361
|
+
"v53flexipages:hardis:project:fix",
|
|
12362
|
+
"v53flexipages:project:hardis:fix",
|
|
12363
|
+
"v53flexipages:project:fix:hardis",
|
|
12364
|
+
"hardis:v53flexipages:fix:project",
|
|
12365
|
+
"v53flexipages:hardis:fix:project",
|
|
12366
|
+
"v53flexipages:fix:hardis:project",
|
|
12367
|
+
"v53flexipages:fix:project:hardis"
|
|
12368
|
+
]
|
|
12369
|
+
},
|
|
12370
12370
|
"hardis:project:generate:bypass": {
|
|
12371
12371
|
"aliases": [],
|
|
12372
12372
|
"args": {},
|
|
@@ -14849,5 +14849,5 @@
|
|
|
14849
14849
|
]
|
|
14850
14850
|
}
|
|
14851
14851
|
},
|
|
14852
|
-
"version": "5.45.1-
|
|
14852
|
+
"version": "5.45.1-beta202508100154.0"
|
|
14853
14853
|
}
|