sfdx-hardis 6.5.2 → 6.5.3

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.
@@ -57,12 +57,13 @@
57
57
  "world:hello"
58
58
  ]
59
59
  },
60
- "hardis:cache:clear": {
60
+ "hardis:auth:login": {
61
61
  "aliases": [],
62
62
  "args": {},
63
- "description": "\n## Command Behavior\n\n**Clears the local cache generated by the sfdx-hardis plugin.**\n\nThis command is designed to remove temporary files, stored configurations, and other cached data that sfdx-hardis uses to optimize its operations. Clearing the cache can be beneficial for:\n\n- **Troubleshooting:** Resolving unexpected behavior or inconsistencies.\n- **Disk Space Management:** Freeing up storage on your local machine.\n- **Ensuring Fresh Data:** Guaranteeing that the plugin operates with the most current data and configurations.\n\n## Technical explanations\n\nThe command's technical implementation is straightforward:\n\n- **Direct Function Call:** It directly invokes the `clearCache()` function, which is imported from \buri../../../common/cache/index.js\buri.\n- **Cache Management Logic:** The \buriclearCache()` function encapsulates the logic for identifying and removing the specific files and directories that constitute the sfdx-hardis cache.\n",
63
+ "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",
64
64
  "examples": [
65
- "$ sf hardis:cache:clear"
65
+ "$ sf hardis:auth:login",
66
+ "CI=true sf hardis:auth:login"
66
67
  ],
67
68
  "flags": {
68
69
  "json": {
@@ -80,6 +81,28 @@
80
81
  "multiple": false,
81
82
  "type": "option"
82
83
  },
84
+ "instanceurl": {
85
+ "char": "r",
86
+ "description": "URL of org instance",
87
+ "name": "instanceurl",
88
+ "hasDynamicHelp": false,
89
+ "multiple": false,
90
+ "type": "option"
91
+ },
92
+ "devhub": {
93
+ "char": "h",
94
+ "description": "Also connect associated DevHub",
95
+ "name": "devhub",
96
+ "allowNo": false,
97
+ "type": "boolean"
98
+ },
99
+ "scratchorg": {
100
+ "char": "s",
101
+ "description": "Scratch org",
102
+ "name": "scratchorg",
103
+ "allowNo": false,
104
+ "type": "boolean"
105
+ },
83
106
  "debug": {
84
107
  "char": "d",
85
108
  "description": "Activate debug mode (more logs)",
@@ -103,33 +126,30 @@
103
126
  },
104
127
  "hasDynamicHelp": false,
105
128
  "hiddenAliases": [],
106
- "id": "hardis:cache:clear",
129
+ "id": "hardis:auth:login",
107
130
  "pluginAlias": "sfdx-hardis",
108
131
  "pluginName": "sfdx-hardis",
109
132
  "pluginType": "core",
110
133
  "strict": true,
111
134
  "enableJsonFlag": true,
112
- "title": "Clear sfdx-hardis cache",
113
- "uiConfig": {
114
- "hide": true
115
- },
135
+ "title": "Login",
116
136
  "requiresProject": false,
117
137
  "isESM": true,
118
138
  "relativePath": [
119
139
  "lib",
120
140
  "commands",
121
141
  "hardis",
122
- "cache",
123
- "clear.js"
142
+ "auth",
143
+ "login.js"
124
144
  ],
125
145
  "aliasPermutations": [],
126
146
  "permutations": [
127
- "hardis:cache:clear",
128
- "cache:hardis:clear",
129
- "cache:clear:hardis",
130
- "hardis:clear:cache",
131
- "clear:hardis:cache",
132
- "clear:cache:hardis"
147
+ "hardis:auth:login",
148
+ "auth:hardis:login",
149
+ "auth:login:hardis",
150
+ "hardis:login:auth",
151
+ "login:hardis:auth",
152
+ "login:auth:hardis"
133
153
  ]
134
154
  },
135
155
  "hardis:config:get": {
@@ -218,13 +238,12 @@
218
238
  "get:config:hardis"
219
239
  ]
220
240
  },
221
- "hardis:auth:login": {
241
+ "hardis:cache:clear": {
222
242
  "aliases": [],
223
243
  "args": {},
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",
244
+ "description": "\n## Command Behavior\n\n**Clears the local cache generated by the sfdx-hardis plugin.**\n\nThis command is designed to remove temporary files, stored configurations, and other cached data that sfdx-hardis uses to optimize its operations. Clearing the cache can be beneficial for:\n\n- **Troubleshooting:** Resolving unexpected behavior or inconsistencies.\n- **Disk Space Management:** Freeing up storage on your local machine.\n- **Ensuring Fresh Data:** Guaranteeing that the plugin operates with the most current data and configurations.\n\n## Technical explanations\n\nThe command's technical implementation is straightforward:\n\n- **Direct Function Call:** It directly invokes the `clearCache()` function, which is imported from \buri../../../common/cache/index.js\buri.\n- **Cache Management Logic:** The \buriclearCache()` function encapsulates the logic for identifying and removing the specific files and directories that constitute the sfdx-hardis cache.\n",
225
245
  "examples": [
226
- "$ sf hardis:auth:login",
227
- "CI=true sf hardis:auth:login"
246
+ "$ sf hardis:cache:clear"
228
247
  ],
229
248
  "flags": {
230
249
  "json": {
@@ -242,28 +261,6 @@
242
261
  "multiple": false,
243
262
  "type": "option"
244
263
  },
245
- "instanceurl": {
246
- "char": "r",
247
- "description": "URL of org instance",
248
- "name": "instanceurl",
249
- "hasDynamicHelp": false,
250
- "multiple": false,
251
- "type": "option"
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
264
  "debug": {
268
265
  "char": "d",
269
266
  "description": "Activate debug mode (more logs)",
@@ -287,30 +284,33 @@
287
284
  },
288
285
  "hasDynamicHelp": false,
289
286
  "hiddenAliases": [],
290
- "id": "hardis:auth:login",
287
+ "id": "hardis:cache:clear",
291
288
  "pluginAlias": "sfdx-hardis",
292
289
  "pluginName": "sfdx-hardis",
293
290
  "pluginType": "core",
294
291
  "strict": true,
295
292
  "enableJsonFlag": true,
296
- "title": "Login",
293
+ "title": "Clear sfdx-hardis cache",
294
+ "uiConfig": {
295
+ "hide": true
296
+ },
297
297
  "requiresProject": false,
298
298
  "isESM": true,
299
299
  "relativePath": [
300
300
  "lib",
301
301
  "commands",
302
302
  "hardis",
303
- "auth",
304
- "login.js"
303
+ "cache",
304
+ "clear.js"
305
305
  ],
306
306
  "aliasPermutations": [],
307
307
  "permutations": [
308
- "hardis:auth:login",
309
- "auth:hardis:login",
310
- "auth:login:hardis",
311
- "hardis:login:auth",
312
- "login:hardis:auth",
313
- "login:auth:hardis"
308
+ "hardis:cache:clear",
309
+ "cache:hardis:clear",
310
+ "cache:clear:hardis",
311
+ "hardis:clear:cache",
312
+ "clear:hardis:cache",
313
+ "clear:cache:hardis"
314
314
  ]
315
315
  },
316
316
  "hardis:doc:fieldusage": {
@@ -5807,6 +5807,121 @@
5807
5807
  "import:files:org:hardis"
5808
5808
  ]
5809
5809
  },
5810
+ "hardis:org:fix:listviewmine": {
5811
+ "aliases": [],
5812
+ "args": {},
5813
+ "description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[![Invalid scope:Mine, not allowed ? Deploy your ListViews anyway !](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-scope-mine.jpg)](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",
5814
+ "examples": [
5815
+ "$ sf hardis:org:fix:listviewmine",
5816
+ "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
5817
+ ],
5818
+ "flags": {
5819
+ "json": {
5820
+ "description": "Format output as json.",
5821
+ "helpGroup": "GLOBAL",
5822
+ "name": "json",
5823
+ "allowNo": false,
5824
+ "type": "boolean"
5825
+ },
5826
+ "flags-dir": {
5827
+ "helpGroup": "GLOBAL",
5828
+ "name": "flags-dir",
5829
+ "summary": "Import flag values from a directory.",
5830
+ "hasDynamicHelp": false,
5831
+ "multiple": false,
5832
+ "type": "option"
5833
+ },
5834
+ "listviews": {
5835
+ "char": "l",
5836
+ "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
5837
+ "name": "listviews",
5838
+ "hasDynamicHelp": false,
5839
+ "multiple": false,
5840
+ "type": "option"
5841
+ },
5842
+ "debug": {
5843
+ "char": "d",
5844
+ "description": "Activate debug mode (more logs)",
5845
+ "name": "debug",
5846
+ "allowNo": false,
5847
+ "type": "boolean"
5848
+ },
5849
+ "websocket": {
5850
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
5851
+ "name": "websocket",
5852
+ "hasDynamicHelp": false,
5853
+ "multiple": false,
5854
+ "type": "option"
5855
+ },
5856
+ "skipauth": {
5857
+ "description": "Skip authentication check when a default username is required",
5858
+ "name": "skipauth",
5859
+ "allowNo": false,
5860
+ "type": "boolean"
5861
+ },
5862
+ "target-org": {
5863
+ "aliases": [
5864
+ "targetusername",
5865
+ "u"
5866
+ ],
5867
+ "char": "o",
5868
+ "deprecateAliases": true,
5869
+ "name": "target-org",
5870
+ "noCacheDefault": true,
5871
+ "required": true,
5872
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
5873
+ "hasDynamicHelp": true,
5874
+ "multiple": false,
5875
+ "type": "option"
5876
+ }
5877
+ },
5878
+ "hasDynamicHelp": true,
5879
+ "hiddenAliases": [],
5880
+ "id": "hardis:org:fix:listviewmine",
5881
+ "pluginAlias": "sfdx-hardis",
5882
+ "pluginName": "sfdx-hardis",
5883
+ "pluginType": "core",
5884
+ "strict": true,
5885
+ "enableJsonFlag": true,
5886
+ "title": "Fix listviews with ",
5887
+ "requiresProject": true,
5888
+ "isESM": true,
5889
+ "relativePath": [
5890
+ "lib",
5891
+ "commands",
5892
+ "hardis",
5893
+ "org",
5894
+ "fix",
5895
+ "listviewmine.js"
5896
+ ],
5897
+ "aliasPermutations": [],
5898
+ "permutations": [
5899
+ "hardis:org:fix:listviewmine",
5900
+ "org:hardis:fix:listviewmine",
5901
+ "org:fix:hardis:listviewmine",
5902
+ "org:fix:listviewmine:hardis",
5903
+ "hardis:fix:org:listviewmine",
5904
+ "fix:hardis:org:listviewmine",
5905
+ "fix:org:hardis:listviewmine",
5906
+ "fix:org:listviewmine:hardis",
5907
+ "hardis:fix:listviewmine:org",
5908
+ "fix:hardis:listviewmine:org",
5909
+ "fix:listviewmine:hardis:org",
5910
+ "fix:listviewmine:org:hardis",
5911
+ "hardis:org:listviewmine:fix",
5912
+ "org:hardis:listviewmine:fix",
5913
+ "org:listviewmine:hardis:fix",
5914
+ "org:listviewmine:fix:hardis",
5915
+ "hardis:listviewmine:org:fix",
5916
+ "listviewmine:hardis:org:fix",
5917
+ "listviewmine:org:hardis:fix",
5918
+ "listviewmine:org:fix:hardis",
5919
+ "hardis:listviewmine:fix:org",
5920
+ "listviewmine:hardis:fix:org",
5921
+ "listviewmine:fix:hardis:org",
5922
+ "listviewmine:fix:org:hardis"
5923
+ ]
5924
+ },
5810
5925
  "hardis:org:diagnose:audittrail": {
5811
5926
  "aliases": [],
5812
5927
  "args": {},
@@ -7070,13 +7185,14 @@
7070
7185
  "unusedusers:diagnose:org:hardis"
7071
7186
  ]
7072
7187
  },
7073
- "hardis:org:fix:listviewmine": {
7188
+ "hardis:org:generate:packagexmlfull": {
7074
7189
  "aliases": [],
7075
7190
  "args": {},
7076
- "description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[![Invalid scope:Mine, not allowed ? Deploy your ListViews anyway !](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-scope-mine.jpg)](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",
7191
+ "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. (or use --no-prompt to skip this step)\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\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</details>\n",
7077
7192
  "examples": [
7078
- "$ sf hardis:org:fix:listviewmine",
7079
- "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
7193
+ "$ sf hardis:org:generate:packagexmlfull",
7194
+ "$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
7195
+ "$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
7080
7196
  ],
7081
7197
  "flags": {
7082
7198
  "json": {
@@ -7094,10 +7210,9 @@
7094
7210
  "multiple": false,
7095
7211
  "type": "option"
7096
7212
  },
7097
- "listviews": {
7098
- "char": "l",
7099
- "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
7100
- "name": "listviews",
7213
+ "outputfile": {
7214
+ "description": "Output package.xml file",
7215
+ "name": "outputfile",
7101
7216
  "hasDynamicHelp": false,
7102
7217
  "multiple": false,
7103
7218
  "type": "option"
@@ -7109,6 +7224,13 @@
7109
7224
  "allowNo": false,
7110
7225
  "type": "boolean"
7111
7226
  },
7227
+ "no-prompt": {
7228
+ "char": "n",
7229
+ "description": "Do not prompt for org username, use the default one",
7230
+ "name": "no-prompt",
7231
+ "allowNo": false,
7232
+ "type": "boolean"
7233
+ },
7112
7234
  "websocket": {
7113
7235
  "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7114
7236
  "name": "websocket",
@@ -7140,144 +7262,22 @@
7140
7262
  },
7141
7263
  "hasDynamicHelp": true,
7142
7264
  "hiddenAliases": [],
7143
- "id": "hardis:org:fix:listviewmine",
7265
+ "id": "hardis:org:generate:packagexmlfull",
7144
7266
  "pluginAlias": "sfdx-hardis",
7145
7267
  "pluginName": "sfdx-hardis",
7146
7268
  "pluginType": "core",
7147
7269
  "strict": true,
7148
7270
  "enableJsonFlag": true,
7149
- "title": "Fix listviews with ",
7150
- "requiresProject": true,
7271
+ "title": "Generate Full Org package.xml",
7272
+ "requiresProject": false,
7151
7273
  "isESM": true,
7152
7274
  "relativePath": [
7153
7275
  "lib",
7154
7276
  "commands",
7155
7277
  "hardis",
7156
7278
  "org",
7157
- "fix",
7158
- "listviewmine.js"
7159
- ],
7160
- "aliasPermutations": [],
7161
- "permutations": [
7162
- "hardis:org:fix:listviewmine",
7163
- "org:hardis:fix:listviewmine",
7164
- "org:fix:hardis:listviewmine",
7165
- "org:fix:listviewmine:hardis",
7166
- "hardis:fix:org:listviewmine",
7167
- "fix:hardis:org:listviewmine",
7168
- "fix:org:hardis:listviewmine",
7169
- "fix:org:listviewmine:hardis",
7170
- "hardis:fix:listviewmine:org",
7171
- "fix:hardis:listviewmine:org",
7172
- "fix:listviewmine:hardis:org",
7173
- "fix:listviewmine:org:hardis",
7174
- "hardis:org:listviewmine:fix",
7175
- "org:hardis:listviewmine:fix",
7176
- "org:listviewmine:hardis:fix",
7177
- "org:listviewmine:fix:hardis",
7178
- "hardis:listviewmine:org:fix",
7179
- "listviewmine:hardis:org:fix",
7180
- "listviewmine:org:hardis:fix",
7181
- "listviewmine:org:fix:hardis",
7182
- "hardis:listviewmine:fix:org",
7183
- "listviewmine:hardis:fix:org",
7184
- "listviewmine:fix:hardis:org",
7185
- "listviewmine:fix:org:hardis"
7186
- ]
7187
- },
7188
- "hardis:org:generate:packagexmlfull": {
7189
- "aliases": [],
7190
- "args": {},
7191
- "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. (or use --no-prompt to skip this step)\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\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</details>\n",
7192
- "examples": [
7193
- "$ sf hardis:org:generate:packagexmlfull",
7194
- "$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
7195
- "$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
7196
- ],
7197
- "flags": {
7198
- "json": {
7199
- "description": "Format output as json.",
7200
- "helpGroup": "GLOBAL",
7201
- "name": "json",
7202
- "allowNo": false,
7203
- "type": "boolean"
7204
- },
7205
- "flags-dir": {
7206
- "helpGroup": "GLOBAL",
7207
- "name": "flags-dir",
7208
- "summary": "Import flag values from a directory.",
7209
- "hasDynamicHelp": false,
7210
- "multiple": false,
7211
- "type": "option"
7212
- },
7213
- "outputfile": {
7214
- "description": "Output package.xml file",
7215
- "name": "outputfile",
7216
- "hasDynamicHelp": false,
7217
- "multiple": false,
7218
- "type": "option"
7219
- },
7220
- "debug": {
7221
- "char": "d",
7222
- "description": "Activate debug mode (more logs)",
7223
- "name": "debug",
7224
- "allowNo": false,
7225
- "type": "boolean"
7226
- },
7227
- "no-prompt": {
7228
- "char": "n",
7229
- "description": "Do not prompt for org username, use the default one",
7230
- "name": "no-prompt",
7231
- "allowNo": false,
7232
- "type": "boolean"
7233
- },
7234
- "websocket": {
7235
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7236
- "name": "websocket",
7237
- "hasDynamicHelp": false,
7238
- "multiple": false,
7239
- "type": "option"
7240
- },
7241
- "skipauth": {
7242
- "description": "Skip authentication check when a default username is required",
7243
- "name": "skipauth",
7244
- "allowNo": false,
7245
- "type": "boolean"
7246
- },
7247
- "target-org": {
7248
- "aliases": [
7249
- "targetusername",
7250
- "u"
7251
- ],
7252
- "char": "o",
7253
- "deprecateAliases": true,
7254
- "name": "target-org",
7255
- "noCacheDefault": true,
7256
- "required": true,
7257
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
7258
- "hasDynamicHelp": true,
7259
- "multiple": false,
7260
- "type": "option"
7261
- }
7262
- },
7263
- "hasDynamicHelp": true,
7264
- "hiddenAliases": [],
7265
- "id": "hardis:org:generate:packagexmlfull",
7266
- "pluginAlias": "sfdx-hardis",
7267
- "pluginName": "sfdx-hardis",
7268
- "pluginType": "core",
7269
- "strict": true,
7270
- "enableJsonFlag": true,
7271
- "title": "Generate Full Org package.xml",
7272
- "requiresProject": false,
7273
- "isESM": true,
7274
- "relativePath": [
7275
- "lib",
7276
- "commands",
7277
- "hardis",
7278
- "org",
7279
- "generate",
7280
- "packagexmlfull.js"
7279
+ "generate",
7280
+ "packagexmlfull.js"
7281
7281
  ],
7282
7282
  "aliasPermutations": [],
7283
7283
  "permutations": [
@@ -8056,16 +8056,13 @@
8056
8056
  "flow:purge:org:hardis"
8057
8057
  ]
8058
8058
  },
8059
- "hardis:org:refresh:after-refresh": {
8059
+ "hardis:org:retrieve:packageconfig": {
8060
8060
  "aliases": [],
8061
8061
  "args": {},
8062
- "description": "\n## Command Behavior\n\n**Restores all previously backed-up Connected Apps (including Consumer Secrets), certificates, custom settings, records and other metadata to a Salesforce org after a sandbox refresh.**\n\nThis command is the second step in the sandbox refresh process. It scans the backup folder created before the refresh, allows interactive or flag-driven selection of items to restore, and automates cleanup and redeployment to the refreshed org while preserving credentials and configuration.\n\nKey functionalities:\n\n- **Choose a backup to restore:** Lets you pick the saved sandbox project that contains the artifacts to restore.\n- **Select which items to restore:** Finds Connected App XMLs, certificates, custom settings and other artifacts and lets you pick what to restore (or restore all).\n- **Safety checks and validation:** Confirms files exist and prompts before making changes to the target org.\n- **Prepare org for restore:** Optionally cleans up existing Connected Apps so saved apps can be re-deployed without conflict.\n- **Redeploy saved artifacts:** Restores Connected Apps (with saved secrets), certificates, SAML SSO configs, custom settings and other metadata.\n- **Handle SAML configs:** Cleans and updates SAML XML files and helps you choose certificates to wire into restored configs.\n- **Restore records:** Optionally runs data import from selected SFDMU workspaces to restore record data.\n- **Reporting & persistence:** Sends restore reports and can update project config to record what was restored.\n\nThis command is part of [sfdx-hardis Sandbox Refresh](https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/) and is intended to be run after a sandbox refresh to re-apply saved metadata, credentials and data.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\n- **Backup Folder Handling:** Reads the immediate subfolders of `scripts/sandbox-refresh/` and validates the chosen project contains the expected `manifest/` and `force-app` layout.\n- **Metadata & Deployment APIs:** Uses `sf project deploy start --manifest` for package-based deploys, `sf project deploy start --metadata-dir` for MDAPI artifacts (certificates), and utility functions for Connected App deployment that preserve consumer secrets.\n- **SAML Handling:** Queries active certificates via tooling API, updates SAML XML files, and deploys using `sf project deploy start -m SamlSsoConfig`.\n- **Records Handling:** Uses interactive selection of SFDMU workspaces and runs data import utilities to restore records.\n- **Error Handling & Summary:** Aggregates results, logs success/warnings/errors, and returns a structured result indicating which items were restored and any failures.\n\n</details>\n",
8062
+ "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",
8063
8063
  "examples": [
8064
- "$ sf hardis:org:refresh:after-refresh",
8065
- "$ sf hardis:org:refresh:after-refresh --name \"MyConnectedApp\" // Process specific app, no selection prompt",
8066
- "$ sf hardis:org:refresh:after-refresh --name \"App1,App2,App3\" // Process multiple apps, no selection prompt",
8067
- "$ sf hardis:org:refresh:after-refresh --all // Process all apps, no selection prompt",
8068
- "$ sf hardis:org:refresh:after-refresh --target-org myDevOrg"
8064
+ "$ sf hardis:org:retrieve:packageconfig",
8065
+ "sf hardis:org:retrieve:packageconfig -u myOrg"
8069
8066
  ],
8070
8067
  "flags": {
8071
8068
  "json": {
@@ -8083,37 +8080,16 @@
8083
8080
  "multiple": false,
8084
8081
  "type": "option"
8085
8082
  },
8086
- "target-org": {
8087
- "char": "o",
8088
- "name": "target-org",
8089
- "noCacheDefault": true,
8090
- "required": true,
8091
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8092
- "hasDynamicHelp": true,
8093
- "multiple": false,
8094
- "type": "option"
8095
- },
8096
- "name": {
8097
- "char": "n",
8098
- "description": "Connected App name(s) to process (bypasses selection prompt). For multiple apps, separate with commas (e.g., \"App1,App2\")",
8099
- "name": "name",
8100
- "summary": "Filter according to Name criteria",
8101
- "hasDynamicHelp": false,
8102
- "multiple": false,
8103
- "type": "option"
8104
- },
8105
- "all": {
8106
- "char": "a",
8107
- "description": "If set, all Connected Apps from the local repository will be processed. Takes precedence over --name if both are specified.",
8108
- "name": "all",
8109
- "summary": "Process all Connected Apps without selection prompt",
8083
+ "debug": {
8084
+ "char": "d",
8085
+ "description": "Activate debug mode (more logs)",
8086
+ "name": "debug",
8110
8087
  "allowNo": false,
8111
8088
  "type": "boolean"
8112
8089
  },
8113
8090
  "websocket": {
8114
8091
  "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
8115
8092
  "name": "websocket",
8116
- "summary": "Websocket host:port for VsCode SFDX Hardis UI integration",
8117
8093
  "hasDynamicHelp": false,
8118
8094
  "multiple": false,
8119
8095
  "type": "option"
@@ -8121,68 +8097,78 @@
8121
8097
  "skipauth": {
8122
8098
  "description": "Skip authentication check when a default username is required",
8123
8099
  "name": "skipauth",
8124
- "summary": "Skip authentication check when a default username is required",
8125
8100
  "allowNo": false,
8126
8101
  "type": "boolean"
8102
+ },
8103
+ "target-org": {
8104
+ "aliases": [
8105
+ "targetusername",
8106
+ "u"
8107
+ ],
8108
+ "char": "o",
8109
+ "deprecateAliases": true,
8110
+ "name": "target-org",
8111
+ "noCacheDefault": true,
8112
+ "required": true,
8113
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8114
+ "hasDynamicHelp": true,
8115
+ "multiple": false,
8116
+ "type": "option"
8127
8117
  }
8128
8118
  },
8129
8119
  "hasDynamicHelp": true,
8130
8120
  "hiddenAliases": [],
8131
- "id": "hardis:org:refresh:after-refresh",
8121
+ "id": "hardis:org:retrieve:packageconfig",
8132
8122
  "pluginAlias": "sfdx-hardis",
8133
8123
  "pluginName": "sfdx-hardis",
8134
8124
  "pluginType": "core",
8135
8125
  "strict": true,
8136
8126
  "enableJsonFlag": true,
8137
- "title": "Restore Connected Apps after org refresh",
8138
- "requiresProject": true,
8127
+ "title": "Retrieve package configuration from an org",
8128
+ "requiresProject": false,
8139
8129
  "isESM": true,
8140
8130
  "relativePath": [
8141
8131
  "lib",
8142
8132
  "commands",
8143
8133
  "hardis",
8144
8134
  "org",
8145
- "refresh",
8146
- "after-refresh.js"
8135
+ "retrieve",
8136
+ "packageconfig.js"
8147
8137
  ],
8148
8138
  "aliasPermutations": [],
8149
8139
  "permutations": [
8150
- "hardis:org:refresh:after-refresh",
8151
- "org:hardis:refresh:after-refresh",
8152
- "org:refresh:hardis:after-refresh",
8153
- "org:refresh:after-refresh:hardis",
8154
- "hardis:refresh:org:after-refresh",
8155
- "refresh:hardis:org:after-refresh",
8156
- "refresh:org:hardis:after-refresh",
8157
- "refresh:org:after-refresh:hardis",
8158
- "hardis:refresh:after-refresh:org",
8159
- "refresh:hardis:after-refresh:org",
8160
- "refresh:after-refresh:hardis:org",
8161
- "refresh:after-refresh:org:hardis",
8162
- "hardis:org:after-refresh:refresh",
8163
- "org:hardis:after-refresh:refresh",
8164
- "org:after-refresh:hardis:refresh",
8165
- "org:after-refresh:refresh:hardis",
8166
- "hardis:after-refresh:org:refresh",
8167
- "after-refresh:hardis:org:refresh",
8168
- "after-refresh:org:hardis:refresh",
8169
- "after-refresh:org:refresh:hardis",
8170
- "hardis:after-refresh:refresh:org",
8171
- "after-refresh:hardis:refresh:org",
8172
- "after-refresh:refresh:hardis:org",
8173
- "after-refresh:refresh:org:hardis"
8140
+ "hardis:org:retrieve:packageconfig",
8141
+ "org:hardis:retrieve:packageconfig",
8142
+ "org:retrieve:hardis:packageconfig",
8143
+ "org:retrieve:packageconfig:hardis",
8144
+ "hardis:retrieve:org:packageconfig",
8145
+ "retrieve:hardis:org:packageconfig",
8146
+ "retrieve:org:hardis:packageconfig",
8147
+ "retrieve:org:packageconfig:hardis",
8148
+ "hardis:retrieve:packageconfig:org",
8149
+ "retrieve:hardis:packageconfig:org",
8150
+ "retrieve:packageconfig:hardis:org",
8151
+ "retrieve:packageconfig:org:hardis",
8152
+ "hardis:org:packageconfig:retrieve",
8153
+ "org:hardis:packageconfig:retrieve",
8154
+ "org:packageconfig:hardis:retrieve",
8155
+ "org:packageconfig:retrieve:hardis",
8156
+ "hardis:packageconfig:org:retrieve",
8157
+ "packageconfig:hardis:org:retrieve",
8158
+ "packageconfig:org:hardis:retrieve",
8159
+ "packageconfig:org:retrieve:hardis",
8160
+ "hardis:packageconfig:retrieve:org",
8161
+ "packageconfig:hardis:retrieve:org",
8162
+ "packageconfig:retrieve:hardis:org",
8163
+ "packageconfig:retrieve:org:hardis"
8174
8164
  ]
8175
8165
  },
8176
- "hardis:org:refresh:before-refresh": {
8166
+ "hardis:org:test:apex": {
8177
8167
  "aliases": [],
8178
8168
  "args": {},
8179
- "description": "\n## Command Behavior\n\n**Backs up all Connected Apps (including Consumer Secrets), certificates, custom settings, records and other metadata from a Salesforce org before a sandbox refresh, enabling full restoration after the refresh.**\n\nThis command prepares a complete backup prior to a sandbox refresh. It creates a dedicated project under `scripts/sandbox-refresh/<sandbox-folder>`, retrieves metadata and data, attempts to capture Connected App consumer secrets, and can optionally delete the apps so they can be reuploaded after the refresh.\n\nKey functionalities:\n\n- **Create a save project:** Generates a dedicated project folder to store all artifacts for the sandbox backup.\n- **Find and select Connected Apps:** Lists Connected Apps in the org and lets you pick specific apps, use a name filter, or process all apps.\n- **Save metadata for restore:** Builds a manifest and retrieves the metadata types you choose so they can be restored after the refresh.\n- **Capture Consumer Secrets:** Attempts to capture Connected App consumer secrets automatically (opens a browser session when possible) and falls back to a short manual prompt when needed.\n- **Collect certificates:** Saves certificate files and their definitions so they can be redeployed later.\n- **Export custom settings & records:** Lets you pick custom settings to export as JSON and optionally export records using configured data workspaces.\n- **Persist choices & report:** Stores your backup choices in project config and sends report files for traceability.\n- **Optional cleanup:** Can delete backed-up Connected Apps from the org so they can be re-uploaded cleanly after the refresh.\n- **Interactive safety checks:** Prompts you to confirm package contents and other potentially destructive actions; sensible defaults are chosen where appropriate.\n\nThis command is part of [sfdx-hardis Sandbox Refresh](https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/) and is intended to be run before a sandbox refresh so that all credentials, certificates, metadata and data can be restored afterwards.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\n- **Salesforce CLI Integration:** Uses `sf org list metadata`, `sf project retrieve start`, `sf project generate`, `sf project deploy start`, and `sf data tree export`/`import` where applicable.\n- **Metadata Handling:** Writes and reads package XML files under the generated project (`manifest/`), copies MDAPI certificate artifacts into `force-app/main/default/certs`, and produces `package-metadata-to-restore.xml` for post-refresh deployment.\n- **Consumer Secret Handling:** Uses `puppeteer-core` with an executable path from `getChromeExecutablePath()` (env var `PUPPETEER_EXECUTABLE_PATH` may be required). Falls back to manual prompt when browser automation cannot be used.\n- **Data & Records:** Exports custom settings to JSON and supports exporting records through SFDMU workspaces chosen interactively.\n- **Config & Reporting:** Updates project/user config under `config/.sfdx-hardis.yml#refreshSandboxConfig` and reports artifacts to the WebSocket client.\n- **Error Handling:** Provides clear error messages and a summary response object indicating success/failure and which secrets were captured.\n\n</details>\n",
8169
+ "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 60 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",
8180
8170
  "examples": [
8181
- "$ sf hardis:org:refresh:before-refresh",
8182
- "$ sf hardis:org:refresh:before-refresh --name \"MyConnectedApp\"",
8183
- "$ sf hardis:org:refresh:before-refresh --name \"App1,App2,App3\"",
8184
- "$ sf hardis:org:refresh:before-refresh --all",
8185
- "$ sf hardis:org:refresh:before-refresh --delete"
8171
+ "$ sf hardis:org:test:apex"
8186
8172
  ],
8187
8173
  "flags": {
8188
8174
  "json": {
@@ -8200,38 +8186,25 @@
8200
8186
  "multiple": false,
8201
8187
  "type": "option"
8202
8188
  },
8203
- "target-org": {
8204
- "char": "o",
8205
- "name": "target-org",
8206
- "noCacheDefault": true,
8207
- "required": true,
8208
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8209
- "hasDynamicHelp": true,
8210
- "multiple": false,
8211
- "type": "option"
8212
- },
8213
- "delete": {
8214
- "char": "d",
8215
- "description": "By default, Connected Apps are not deleted from the org after saving. Set this flag to force their deletion so they will be able to be reuploaded again after refreshing the org.",
8216
- "name": "delete",
8217
- "summary": "Delete Connected Apps from org after saving",
8218
- "allowNo": false,
8219
- "type": "boolean"
8220
- },
8221
- "name": {
8222
- "char": "n",
8223
- "description": "Connected App name(s) to process. For multiple apps, separate with commas (e.g., \"App1,App2\")",
8224
- "name": "name",
8225
- "summary": "Filter according to Name criteria",
8226
- "hasDynamicHelp": false,
8189
+ "testlevel": {
8190
+ "char": "l",
8191
+ "description": "Level of tests to apply to validate deployment",
8192
+ "name": "testlevel",
8193
+ "default": "RunLocalTests",
8194
+ "hasDynamicHelp": false,
8227
8195
  "multiple": false,
8196
+ "options": [
8197
+ "NoTestRun",
8198
+ "RunSpecifiedTests",
8199
+ "RunLocalTests",
8200
+ "RunAllTestsInOrg"
8201
+ ],
8228
8202
  "type": "option"
8229
8203
  },
8230
- "all": {
8231
- "char": "a",
8232
- "description": "If set, all Connected Apps from the org will be processed. Takes precedence over --name if both are specified.",
8233
- "name": "all",
8234
- "summary": "Process all Connected Apps without selection prompt",
8204
+ "debug": {
8205
+ "char": "d",
8206
+ "description": "Activate debug mode (more logs)",
8207
+ "name": "debug",
8235
8208
  "allowNo": false,
8236
8209
  "type": "boolean"
8237
8210
  },
@@ -8247,61 +8220,79 @@
8247
8220
  "name": "skipauth",
8248
8221
  "allowNo": false,
8249
8222
  "type": "boolean"
8223
+ },
8224
+ "target-org": {
8225
+ "aliases": [
8226
+ "targetusername",
8227
+ "u"
8228
+ ],
8229
+ "char": "o",
8230
+ "deprecateAliases": true,
8231
+ "name": "target-org",
8232
+ "noCacheDefault": true,
8233
+ "required": true,
8234
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8235
+ "hasDynamicHelp": true,
8236
+ "multiple": false,
8237
+ "type": "option"
8250
8238
  }
8251
8239
  },
8252
8240
  "hasDynamicHelp": true,
8253
8241
  "hiddenAliases": [],
8254
- "id": "hardis:org:refresh:before-refresh",
8242
+ "id": "hardis:org:test:apex",
8255
8243
  "pluginAlias": "sfdx-hardis",
8256
8244
  "pluginName": "sfdx-hardis",
8257
8245
  "pluginType": "core",
8258
8246
  "strict": true,
8259
8247
  "enableJsonFlag": true,
8260
- "requiresProject": true,
8248
+ "title": "Run apex tests",
8261
8249
  "isESM": true,
8262
8250
  "relativePath": [
8263
8251
  "lib",
8264
8252
  "commands",
8265
8253
  "hardis",
8266
8254
  "org",
8267
- "refresh",
8268
- "before-refresh.js"
8255
+ "test",
8256
+ "apex.js"
8269
8257
  ],
8270
8258
  "aliasPermutations": [],
8271
8259
  "permutations": [
8272
- "hardis:org:refresh:before-refresh",
8273
- "org:hardis:refresh:before-refresh",
8274
- "org:refresh:hardis:before-refresh",
8275
- "org:refresh:before-refresh:hardis",
8276
- "hardis:refresh:org:before-refresh",
8277
- "refresh:hardis:org:before-refresh",
8278
- "refresh:org:hardis:before-refresh",
8279
- "refresh:org:before-refresh:hardis",
8280
- "hardis:refresh:before-refresh:org",
8281
- "refresh:hardis:before-refresh:org",
8282
- "refresh:before-refresh:hardis:org",
8283
- "refresh:before-refresh:org:hardis",
8284
- "hardis:org:before-refresh:refresh",
8285
- "org:hardis:before-refresh:refresh",
8286
- "org:before-refresh:hardis:refresh",
8287
- "org:before-refresh:refresh:hardis",
8288
- "hardis:before-refresh:org:refresh",
8289
- "before-refresh:hardis:org:refresh",
8290
- "before-refresh:org:hardis:refresh",
8291
- "before-refresh:org:refresh:hardis",
8292
- "hardis:before-refresh:refresh:org",
8293
- "before-refresh:hardis:refresh:org",
8294
- "before-refresh:refresh:hardis:org",
8295
- "before-refresh:refresh:org:hardis"
8260
+ "hardis:org:test:apex",
8261
+ "org:hardis:test:apex",
8262
+ "org:test:hardis:apex",
8263
+ "org:test:apex:hardis",
8264
+ "hardis:test:org:apex",
8265
+ "test:hardis:org:apex",
8266
+ "test:org:hardis:apex",
8267
+ "test:org:apex:hardis",
8268
+ "hardis:test:apex:org",
8269
+ "test:hardis:apex:org",
8270
+ "test:apex:hardis:org",
8271
+ "test:apex:org:hardis",
8272
+ "hardis:org:apex:test",
8273
+ "org:hardis:apex:test",
8274
+ "org:apex:hardis:test",
8275
+ "org:apex:test:hardis",
8276
+ "hardis:apex:org:test",
8277
+ "apex:hardis:org:test",
8278
+ "apex:org:hardis:test",
8279
+ "apex:org:test:hardis",
8280
+ "hardis:apex:test:org",
8281
+ "apex:hardis:test:org",
8282
+ "apex:test:hardis:org",
8283
+ "apex:test:org:hardis"
8296
8284
  ]
8297
8285
  },
8298
- "hardis:org:retrieve:packageconfig": {
8286
+ "hardis:org:refresh:after-refresh": {
8299
8287
  "aliases": [],
8300
8288
  "args": {},
8301
- "description": "\n**Retrieves the installed package configuration from a Salesforce org and optionally updates the local project configuration.**\n\nThis command is useful for maintaining an accurate record of installed packages within your Salesforce project, which is crucial for managing dependencies and ensuring consistent deployments across environments.\n\nKey functionalities:\n\n- **Package Listing:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a list of all installed packages.\n- **Configuration Update:** Offers the option to update your local project's configuration with the retrieved list of installed packages. This can be beneficial for automating package installations during environment setup or CI/CD processes.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Org Connection:** It establishes a connection to the target Salesforce org using the provided or prompted username.\n- **Metadata Retrieval:** It utilizes `MetadataUtils.listInstalledPackages` to query the Salesforce org and obtain details about the installed packages.\n- **Interactive Prompt:** It uses the `prompts` library to ask the user whether they want to update their local project configuration with the retrieved package list.\n- **Configuration Management:** If the user confirms, it calls `managePackageConfig` to update the project's configuration file (likely `.sfdx-hardis.yml`) with the new package information.\n- **User Feedback:** Provides clear messages to the user about the success of the package retrieval and configuration update.\n</details>\n",
8289
+ "description": "\n## Command Behavior\n\n**Restores all previously backed-up Connected Apps (including Consumer Secrets), certificates, custom settings, records and other metadata to a Salesforce org after a sandbox refresh.**\n\nThis command is the second step in the sandbox refresh process. It scans the backup folder created before the refresh, allows interactive or flag-driven selection of items to restore, and automates cleanup and redeployment to the refreshed org while preserving credentials and configuration.\n\nKey functionalities:\n\n- **Choose a backup to restore:** Lets you pick the saved sandbox project that contains the artifacts to restore.\n- **Select which items to restore:** Finds Connected App XMLs, certificates, custom settings and other artifacts and lets you pick what to restore (or restore all).\n- **Safety checks and validation:** Confirms files exist and prompts before making changes to the target org.\n- **Prepare org for restore:** Optionally cleans up existing Connected Apps so saved apps can be re-deployed without conflict.\n- **Redeploy saved artifacts:** Restores Connected Apps (with saved secrets), certificates, SAML SSO configs, custom settings and other metadata.\n- **Handle SAML configs:** Cleans and updates SAML XML files and helps you choose certificates to wire into restored configs.\n- **Restore records:** Optionally runs data import from selected SFDMU workspaces to restore record data.\n- **Reporting & persistence:** Sends restore reports and can update project config to record what was restored.\n\nThis command is part of [sfdx-hardis Sandbox Refresh](https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/) and is intended to be run after a sandbox refresh to re-apply saved metadata, credentials and data.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\n- **Backup Folder Handling:** Reads the immediate subfolders of `scripts/sandbox-refresh/` and validates the chosen project contains the expected `manifest/` and `force-app` layout.\n- **Metadata & Deployment APIs:** Uses `sf project deploy start --manifest` for package-based deploys, `sf project deploy start --metadata-dir` for MDAPI artifacts (certificates), and utility functions for Connected App deployment that preserve consumer secrets.\n- **SAML Handling:** Queries active certificates via tooling API, updates SAML XML files, and deploys using `sf project deploy start -m SamlSsoConfig`.\n- **Records Handling:** Uses interactive selection of SFDMU workspaces and runs data import utilities to restore records.\n- **Error Handling & Summary:** Aggregates results, logs success/warnings/errors, and returns a structured result indicating which items were restored and any failures.\n\n</details>\n",
8302
8290
  "examples": [
8303
- "$ sf hardis:org:retrieve:packageconfig",
8304
- "sf hardis:org:retrieve:packageconfig -u myOrg"
8291
+ "$ sf hardis:org:refresh:after-refresh",
8292
+ "$ sf hardis:org:refresh:after-refresh --name \"MyConnectedApp\" // Process specific app, no selection prompt",
8293
+ "$ sf hardis:org:refresh:after-refresh --name \"App1,App2,App3\" // Process multiple apps, no selection prompt",
8294
+ "$ sf hardis:org:refresh:after-refresh --all // Process all apps, no selection prompt",
8295
+ "$ sf hardis:org:refresh:after-refresh --target-org myDevOrg"
8305
8296
  ],
8306
8297
  "flags": {
8307
8298
  "json": {
@@ -8319,16 +8310,37 @@
8319
8310
  "multiple": false,
8320
8311
  "type": "option"
8321
8312
  },
8322
- "debug": {
8323
- "char": "d",
8324
- "description": "Activate debug mode (more logs)",
8325
- "name": "debug",
8313
+ "target-org": {
8314
+ "char": "o",
8315
+ "name": "target-org",
8316
+ "noCacheDefault": true,
8317
+ "required": true,
8318
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8319
+ "hasDynamicHelp": true,
8320
+ "multiple": false,
8321
+ "type": "option"
8322
+ },
8323
+ "name": {
8324
+ "char": "n",
8325
+ "description": "Connected App name(s) to process (bypasses selection prompt). For multiple apps, separate with commas (e.g., \"App1,App2\")",
8326
+ "name": "name",
8327
+ "summary": "Filter according to Name criteria",
8328
+ "hasDynamicHelp": false,
8329
+ "multiple": false,
8330
+ "type": "option"
8331
+ },
8332
+ "all": {
8333
+ "char": "a",
8334
+ "description": "If set, all Connected Apps from the local repository will be processed. Takes precedence over --name if both are specified.",
8335
+ "name": "all",
8336
+ "summary": "Process all Connected Apps without selection prompt",
8326
8337
  "allowNo": false,
8327
8338
  "type": "boolean"
8328
8339
  },
8329
8340
  "websocket": {
8330
8341
  "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
8331
8342
  "name": "websocket",
8343
+ "summary": "Websocket host:port for VsCode SFDX Hardis UI integration",
8332
8344
  "hasDynamicHelp": false,
8333
8345
  "multiple": false,
8334
8346
  "type": "option"
@@ -8336,78 +8348,68 @@
8336
8348
  "skipauth": {
8337
8349
  "description": "Skip authentication check when a default username is required",
8338
8350
  "name": "skipauth",
8351
+ "summary": "Skip authentication check when a default username is required",
8339
8352
  "allowNo": false,
8340
8353
  "type": "boolean"
8341
- },
8342
- "target-org": {
8343
- "aliases": [
8344
- "targetusername",
8345
- "u"
8346
- ],
8347
- "char": "o",
8348
- "deprecateAliases": true,
8349
- "name": "target-org",
8350
- "noCacheDefault": true,
8351
- "required": true,
8352
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8353
- "hasDynamicHelp": true,
8354
- "multiple": false,
8355
- "type": "option"
8356
8354
  }
8357
8355
  },
8358
8356
  "hasDynamicHelp": true,
8359
8357
  "hiddenAliases": [],
8360
- "id": "hardis:org:retrieve:packageconfig",
8358
+ "id": "hardis:org:refresh:after-refresh",
8361
8359
  "pluginAlias": "sfdx-hardis",
8362
8360
  "pluginName": "sfdx-hardis",
8363
8361
  "pluginType": "core",
8364
8362
  "strict": true,
8365
8363
  "enableJsonFlag": true,
8366
- "title": "Retrieve package configuration from an org",
8367
- "requiresProject": false,
8364
+ "title": "Restore Connected Apps after org refresh",
8365
+ "requiresProject": true,
8368
8366
  "isESM": true,
8369
8367
  "relativePath": [
8370
8368
  "lib",
8371
8369
  "commands",
8372
8370
  "hardis",
8373
8371
  "org",
8374
- "retrieve",
8375
- "packageconfig.js"
8372
+ "refresh",
8373
+ "after-refresh.js"
8376
8374
  ],
8377
8375
  "aliasPermutations": [],
8378
8376
  "permutations": [
8379
- "hardis:org:retrieve:packageconfig",
8380
- "org:hardis:retrieve:packageconfig",
8381
- "org:retrieve:hardis:packageconfig",
8382
- "org:retrieve:packageconfig:hardis",
8383
- "hardis:retrieve:org:packageconfig",
8384
- "retrieve:hardis:org:packageconfig",
8385
- "retrieve:org:hardis:packageconfig",
8386
- "retrieve:org:packageconfig:hardis",
8387
- "hardis:retrieve:packageconfig:org",
8388
- "retrieve:hardis:packageconfig:org",
8389
- "retrieve:packageconfig:hardis:org",
8390
- "retrieve:packageconfig:org:hardis",
8391
- "hardis:org:packageconfig:retrieve",
8392
- "org:hardis:packageconfig:retrieve",
8393
- "org:packageconfig:hardis:retrieve",
8394
- "org:packageconfig:retrieve:hardis",
8395
- "hardis:packageconfig:org:retrieve",
8396
- "packageconfig:hardis:org:retrieve",
8397
- "packageconfig:org:hardis:retrieve",
8398
- "packageconfig:org:retrieve:hardis",
8399
- "hardis:packageconfig:retrieve:org",
8400
- "packageconfig:hardis:retrieve:org",
8401
- "packageconfig:retrieve:hardis:org",
8402
- "packageconfig:retrieve:org:hardis"
8377
+ "hardis:org:refresh:after-refresh",
8378
+ "org:hardis:refresh:after-refresh",
8379
+ "org:refresh:hardis:after-refresh",
8380
+ "org:refresh:after-refresh:hardis",
8381
+ "hardis:refresh:org:after-refresh",
8382
+ "refresh:hardis:org:after-refresh",
8383
+ "refresh:org:hardis:after-refresh",
8384
+ "refresh:org:after-refresh:hardis",
8385
+ "hardis:refresh:after-refresh:org",
8386
+ "refresh:hardis:after-refresh:org",
8387
+ "refresh:after-refresh:hardis:org",
8388
+ "refresh:after-refresh:org:hardis",
8389
+ "hardis:org:after-refresh:refresh",
8390
+ "org:hardis:after-refresh:refresh",
8391
+ "org:after-refresh:hardis:refresh",
8392
+ "org:after-refresh:refresh:hardis",
8393
+ "hardis:after-refresh:org:refresh",
8394
+ "after-refresh:hardis:org:refresh",
8395
+ "after-refresh:org:hardis:refresh",
8396
+ "after-refresh:org:refresh:hardis",
8397
+ "hardis:after-refresh:refresh:org",
8398
+ "after-refresh:hardis:refresh:org",
8399
+ "after-refresh:refresh:hardis:org",
8400
+ "after-refresh:refresh:org:hardis"
8403
8401
  ]
8404
8402
  },
8405
- "hardis:org:test:apex": {
8403
+ "hardis:org:refresh:before-refresh": {
8406
8404
  "aliases": [],
8407
8405
  "args": {},
8408
- "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 60 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",
8406
+ "description": "\n## Command Behavior\n\n**Backs up all Connected Apps (including Consumer Secrets), certificates, custom settings, records and other metadata from a Salesforce org before a sandbox refresh, enabling full restoration after the refresh.**\n\nThis command prepares a complete backup prior to a sandbox refresh. It creates a dedicated project under `scripts/sandbox-refresh/<sandbox-folder>`, retrieves metadata and data, attempts to capture Connected App consumer secrets, and can optionally delete the apps so they can be reuploaded after the refresh.\n\nKey functionalities:\n\n- **Create a save project:** Generates a dedicated project folder to store all artifacts for the sandbox backup.\n- **Find and select Connected Apps:** Lists Connected Apps in the org and lets you pick specific apps, use a name filter, or process all apps.\n- **Save metadata for restore:** Builds a manifest and retrieves the metadata types you choose so they can be restored after the refresh.\n- **Capture Consumer Secrets:** Attempts to capture Connected App consumer secrets automatically (opens a browser session when possible) and falls back to a short manual prompt when needed.\n- **Collect certificates:** Saves certificate files and their definitions so they can be redeployed later.\n- **Export custom settings & records:** Lets you pick custom settings to export as JSON and optionally export records using configured data workspaces.\n- **Persist choices & report:** Stores your backup choices in project config and sends report files for traceability.\n- **Optional cleanup:** Can delete backed-up Connected Apps from the org so they can be re-uploaded cleanly after the refresh.\n- **Interactive safety checks:** Prompts you to confirm package contents and other potentially destructive actions; sensible defaults are chosen where appropriate.\n\nThis command is part of [sfdx-hardis Sandbox Refresh](https://sfdx-hardis.cloudity.com/salesforce-sandbox-refresh/) and is intended to be run before a sandbox refresh so that all credentials, certificates, metadata and data can be restored afterwards.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\n- **Salesforce CLI Integration:** Uses `sf org list metadata`, `sf project retrieve start`, `sf project generate`, `sf project deploy start`, and `sf data tree export`/`import` where applicable.\n- **Metadata Handling:** Writes and reads package XML files under the generated project (`manifest/`), copies MDAPI certificate artifacts into `force-app/main/default/certs`, and produces `package-metadata-to-restore.xml` for post-refresh deployment.\n- **Consumer Secret Handling:** Uses `puppeteer-core` with an executable path from `getChromeExecutablePath()` (env var `PUPPETEER_EXECUTABLE_PATH` may be required). Falls back to manual prompt when browser automation cannot be used.\n- **Data & Records:** Exports custom settings to JSON and supports exporting records through SFDMU workspaces chosen interactively.\n- **Config & Reporting:** Updates project/user config under `config/.sfdx-hardis.yml#refreshSandboxConfig` and reports artifacts to the WebSocket client.\n- **Error Handling:** Provides clear error messages and a summary response object indicating success/failure and which secrets were captured.\n\n</details>\n",
8409
8407
  "examples": [
8410
- "$ sf hardis:org:test:apex"
8408
+ "$ sf hardis:org:refresh:before-refresh",
8409
+ "$ sf hardis:org:refresh:before-refresh --name \"MyConnectedApp\"",
8410
+ "$ sf hardis:org:refresh:before-refresh --name \"App1,App2,App3\"",
8411
+ "$ sf hardis:org:refresh:before-refresh --all",
8412
+ "$ sf hardis:org:refresh:before-refresh --delete"
8411
8413
  ],
8412
8414
  "flags": {
8413
8415
  "json": {
@@ -8425,25 +8427,38 @@
8425
8427
  "multiple": false,
8426
8428
  "type": "option"
8427
8429
  },
8428
- "testlevel": {
8429
- "char": "l",
8430
- "description": "Level of tests to apply to validate deployment",
8431
- "name": "testlevel",
8432
- "default": "RunLocalTests",
8433
- "hasDynamicHelp": false,
8430
+ "target-org": {
8431
+ "char": "o",
8432
+ "name": "target-org",
8433
+ "noCacheDefault": true,
8434
+ "required": true,
8435
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8436
+ "hasDynamicHelp": true,
8437
+ "multiple": false,
8438
+ "type": "option"
8439
+ },
8440
+ "delete": {
8441
+ "char": "d",
8442
+ "description": "By default, Connected Apps are not deleted from the org after saving. Set this flag to force their deletion so they will be able to be reuploaded again after refreshing the org.",
8443
+ "name": "delete",
8444
+ "summary": "Delete Connected Apps from org after saving",
8445
+ "allowNo": false,
8446
+ "type": "boolean"
8447
+ },
8448
+ "name": {
8449
+ "char": "n",
8450
+ "description": "Connected App name(s) to process. For multiple apps, separate with commas (e.g., \"App1,App2\")",
8451
+ "name": "name",
8452
+ "summary": "Filter according to Name criteria",
8453
+ "hasDynamicHelp": false,
8434
8454
  "multiple": false,
8435
- "options": [
8436
- "NoTestRun",
8437
- "RunSpecifiedTests",
8438
- "RunLocalTests",
8439
- "RunAllTestsInOrg"
8440
- ],
8441
8455
  "type": "option"
8442
8456
  },
8443
- "debug": {
8444
- "char": "d",
8445
- "description": "Activate debug mode (more logs)",
8446
- "name": "debug",
8457
+ "all": {
8458
+ "char": "a",
8459
+ "description": "If set, all Connected Apps from the org will be processed. Takes precedence over --name if both are specified.",
8460
+ "name": "all",
8461
+ "summary": "Process all Connected Apps without selection prompt",
8447
8462
  "allowNo": false,
8448
8463
  "type": "boolean"
8449
8464
  },
@@ -8459,67 +8474,52 @@
8459
8474
  "name": "skipauth",
8460
8475
  "allowNo": false,
8461
8476
  "type": "boolean"
8462
- },
8463
- "target-org": {
8464
- "aliases": [
8465
- "targetusername",
8466
- "u"
8467
- ],
8468
- "char": "o",
8469
- "deprecateAliases": true,
8470
- "name": "target-org",
8471
- "noCacheDefault": true,
8472
- "required": true,
8473
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8474
- "hasDynamicHelp": true,
8475
- "multiple": false,
8476
- "type": "option"
8477
8477
  }
8478
8478
  },
8479
8479
  "hasDynamicHelp": true,
8480
8480
  "hiddenAliases": [],
8481
- "id": "hardis:org:test:apex",
8481
+ "id": "hardis:org:refresh:before-refresh",
8482
8482
  "pluginAlias": "sfdx-hardis",
8483
8483
  "pluginName": "sfdx-hardis",
8484
8484
  "pluginType": "core",
8485
8485
  "strict": true,
8486
8486
  "enableJsonFlag": true,
8487
- "title": "Run apex tests",
8487
+ "requiresProject": true,
8488
8488
  "isESM": true,
8489
8489
  "relativePath": [
8490
8490
  "lib",
8491
8491
  "commands",
8492
8492
  "hardis",
8493
8493
  "org",
8494
- "test",
8495
- "apex.js"
8494
+ "refresh",
8495
+ "before-refresh.js"
8496
8496
  ],
8497
8497
  "aliasPermutations": [],
8498
8498
  "permutations": [
8499
- "hardis:org:test:apex",
8500
- "org:hardis:test:apex",
8501
- "org:test:hardis:apex",
8502
- "org:test:apex:hardis",
8503
- "hardis:test:org:apex",
8504
- "test:hardis:org:apex",
8505
- "test:org:hardis:apex",
8506
- "test:org:apex:hardis",
8507
- "hardis:test:apex:org",
8508
- "test:hardis:apex:org",
8509
- "test:apex:hardis:org",
8510
- "test:apex:org:hardis",
8511
- "hardis:org:apex:test",
8512
- "org:hardis:apex:test",
8513
- "org:apex:hardis:test",
8514
- "org:apex:test:hardis",
8515
- "hardis:apex:org:test",
8516
- "apex:hardis:org:test",
8517
- "apex:org:hardis:test",
8518
- "apex:org:test:hardis",
8519
- "hardis:apex:test:org",
8520
- "apex:hardis:test:org",
8521
- "apex:test:hardis:org",
8522
- "apex:test:org:hardis"
8499
+ "hardis:org:refresh:before-refresh",
8500
+ "org:hardis:refresh:before-refresh",
8501
+ "org:refresh:hardis:before-refresh",
8502
+ "org:refresh:before-refresh:hardis",
8503
+ "hardis:refresh:org:before-refresh",
8504
+ "refresh:hardis:org:before-refresh",
8505
+ "refresh:org:hardis:before-refresh",
8506
+ "refresh:org:before-refresh:hardis",
8507
+ "hardis:refresh:before-refresh:org",
8508
+ "refresh:hardis:before-refresh:org",
8509
+ "refresh:before-refresh:hardis:org",
8510
+ "refresh:before-refresh:org:hardis",
8511
+ "hardis:org:before-refresh:refresh",
8512
+ "org:hardis:before-refresh:refresh",
8513
+ "org:before-refresh:hardis:refresh",
8514
+ "org:before-refresh:refresh:hardis",
8515
+ "hardis:before-refresh:org:refresh",
8516
+ "before-refresh:hardis:org:refresh",
8517
+ "before-refresh:org:hardis:refresh",
8518
+ "before-refresh:org:refresh:hardis",
8519
+ "hardis:before-refresh:refresh:org",
8520
+ "before-refresh:hardis:refresh:org",
8521
+ "before-refresh:refresh:hardis:org",
8522
+ "before-refresh:refresh:org:hardis"
8523
8523
  ]
8524
8524
  },
8525
8525
  "hardis:org:user:activateinvalid": {
@@ -11406,6 +11406,221 @@
11406
11406
  "profilestopermsets:convert:project:hardis"
11407
11407
  ]
11408
11408
  },
11409
+ "hardis:project:fix:profiletabs": {
11410
+ "aliases": [],
11411
+ "args": {},
11412
+ "description": "\n## Command Behavior\n\n**Interactively updates tab visibility settings in Salesforce profiles, addressing a common issue where tab visibilities are not correctly retrieved by `sf project retrieve start`.**\n\nThis command provides a user-friendly interface to manage tab settings within your profile XML files, ensuring that your local project accurately reflects the intended tab configurations in your Salesforce org.\n\nKey functionalities:\n\n- **Interactive Tab Selection:** Displays a multi-select menu of all available tabs in your org, allowing you to choose which tabs to update.\n- **Visibility Control:** Lets you set the visibility for the selected tabs to either `DefaultOn` (Visible) or `Hidden`.\n- **Profile Selection:** Presents a multi-select menu of all .profile-meta.xml files in your project, allowing you to apply the tab visibility changes to specific profiles.\n- **XML Updates:** Modifies the <tabVisibilities> section of the selected profile XML files to reflect the chosen tab settings. If a tab visibility setting already exists for a selected tab, it will be updated; otherwise, a new one will be added.\n- **Sorted Output:** The <tabVisibilities> in the updated profile XML files are sorted alphabetically for consistency and readability.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **SOQL Queries (Tooling API):** It queries the `TabDefinition` object using `soqlQueryTooling` to retrieve a list of all available tabs in the target org.\n- **File Discovery:** Uses `glob` to find all .profile-meta.xml files within the specified project path.\n- **Interactive Prompts:** Leverages the `prompts` library to create interactive menus for selecting tabs, visibility settings, and profiles.\n- **XML Parsing and Manipulation:** Uses `parseXmlFile` to read the content of profile XML files and `writeXmlFile` to write the modified content back. It manipulates the `tabVisibilities` array within the parsed XML to add or update tab settings.\n- **Array Sorting:** Employs the `sort-array` library to sort the `tabVisibilities` alphabetically by tab name.\n- **Logging:** Provides feedback to the user about which profiles have been updated and a summary of the changes.\n</details>\n",
11413
+ "examples": [
11414
+ "$ sf hardis:project:fix:profiletabs"
11415
+ ],
11416
+ "flags": {
11417
+ "json": {
11418
+ "description": "Format output as json.",
11419
+ "helpGroup": "GLOBAL",
11420
+ "name": "json",
11421
+ "allowNo": false,
11422
+ "type": "boolean"
11423
+ },
11424
+ "flags-dir": {
11425
+ "helpGroup": "GLOBAL",
11426
+ "name": "flags-dir",
11427
+ "summary": "Import flag values from a directory.",
11428
+ "hasDynamicHelp": false,
11429
+ "multiple": false,
11430
+ "type": "option"
11431
+ },
11432
+ "path": {
11433
+ "char": "p",
11434
+ "description": "Root folder",
11435
+ "name": "path",
11436
+ "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
11437
+ "hasDynamicHelp": false,
11438
+ "multiple": false,
11439
+ "type": "option"
11440
+ },
11441
+ "debug": {
11442
+ "char": "d",
11443
+ "description": "Activate debug mode (more logs)",
11444
+ "name": "debug",
11445
+ "allowNo": false,
11446
+ "type": "boolean"
11447
+ },
11448
+ "websocket": {
11449
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
11450
+ "name": "websocket",
11451
+ "hasDynamicHelp": false,
11452
+ "multiple": false,
11453
+ "type": "option"
11454
+ },
11455
+ "skipauth": {
11456
+ "description": "Skip authentication check when a default username is required",
11457
+ "name": "skipauth",
11458
+ "allowNo": false,
11459
+ "type": "boolean"
11460
+ },
11461
+ "target-org": {
11462
+ "aliases": [
11463
+ "targetusername",
11464
+ "u"
11465
+ ],
11466
+ "char": "o",
11467
+ "deprecateAliases": true,
11468
+ "name": "target-org",
11469
+ "noCacheDefault": true,
11470
+ "required": true,
11471
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
11472
+ "hasDynamicHelp": true,
11473
+ "multiple": false,
11474
+ "type": "option"
11475
+ }
11476
+ },
11477
+ "hasDynamicHelp": true,
11478
+ "hiddenAliases": [],
11479
+ "id": "hardis:project:fix:profiletabs",
11480
+ "pluginAlias": "sfdx-hardis",
11481
+ "pluginName": "sfdx-hardis",
11482
+ "pluginType": "core",
11483
+ "strict": true,
11484
+ "enableJsonFlag": true,
11485
+ "title": "Fix profiles to add tabs that are not retrieved by SF CLI",
11486
+ "requiresProject": true,
11487
+ "isESM": true,
11488
+ "relativePath": [
11489
+ "lib",
11490
+ "commands",
11491
+ "hardis",
11492
+ "project",
11493
+ "fix",
11494
+ "profiletabs.js"
11495
+ ],
11496
+ "aliasPermutations": [],
11497
+ "permutations": [
11498
+ "hardis:project:fix:profiletabs",
11499
+ "project:hardis:fix:profiletabs",
11500
+ "project:fix:hardis:profiletabs",
11501
+ "project:fix:profiletabs:hardis",
11502
+ "hardis:fix:project:profiletabs",
11503
+ "fix:hardis:project:profiletabs",
11504
+ "fix:project:hardis:profiletabs",
11505
+ "fix:project:profiletabs:hardis",
11506
+ "hardis:fix:profiletabs:project",
11507
+ "fix:hardis:profiletabs:project",
11508
+ "fix:profiletabs:hardis:project",
11509
+ "fix:profiletabs:project:hardis",
11510
+ "hardis:project:profiletabs:fix",
11511
+ "project:hardis:profiletabs:fix",
11512
+ "project:profiletabs:hardis:fix",
11513
+ "project:profiletabs:fix:hardis",
11514
+ "hardis:profiletabs:project:fix",
11515
+ "profiletabs:hardis:project:fix",
11516
+ "profiletabs:project:hardis:fix",
11517
+ "profiletabs:project:fix:hardis",
11518
+ "hardis:profiletabs:fix:project",
11519
+ "profiletabs:hardis:fix:project",
11520
+ "profiletabs:fix:hardis:project",
11521
+ "profiletabs:fix:project:hardis"
11522
+ ]
11523
+ },
11524
+ "hardis:project:fix:v53flexipages": {
11525
+ "aliases": [],
11526
+ "args": {},
11527
+ "description": "\n## Command Behavior\n\n**Fixes Salesforce FlexiPages for compatibility with API Version 53.0 (Winter '22 release) by adding missing identifiers to component instances.**\n\nSalesforce introduced a change in API Version 53.0 that requires `identifier` tags within `componentInstance` and `fieldInstance` elements in FlexiPage metadata. If these identifiers are missing, deployments to orgs with API version 53.0 or higher will fail. This command automates the process of adding these missing identifiers, ensuring your FlexiPages remain deployable.\n\nKey functionalities:\n\n- **Targeted FlexiPage Processing:** Scans all .flexipage-meta.xml files within the specified root folder (defaults to current working directory).\n- **Identifier Injection:** Inserts a unique `identifier` tag (e.g., `SFDX_HARDIS_REPLACEMENT_ID`) into `componentInstance` and `fieldInstance` elements that lack one.\n\n**Important Note:** After running this command, ensure you update your `apiVersion` to `53.0` (or higher) in your `package.xml` and `sfdx-project.json` files.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **File Discovery:** Uses `glob` to find all .flexipage-meta.xml files.\n- **Content Reading:** Reads the XML content of each FlexiPage file.\n- **Regular Expression Replacement:** Employs a set of regular expressions to identify specific XML patterns (componentName.../componentName.../componentInstance, componentName.../componentName.../visibilityRule, fieldItem.../fieldItem.../fieldInstance) that are missing the `identifier` tag.\n- **Dynamic ID Generation:** For each match, it generates a unique identifier (e.g., `sfdxHardisIdX`) and injects it into the XML structure.\n- **File Writing:** If changes are made, the modified XML content is written back to the FlexiPage file using `fs.writeFile`.\n- **Logging:** Provides messages about which FlexiPages are being processed and a summary of the total number of identifiers added.\n</details>\n",
11528
+ "examples": [
11529
+ "$ sf hardis:project:fix:v53flexipages"
11530
+ ],
11531
+ "flags": {
11532
+ "json": {
11533
+ "description": "Format output as json.",
11534
+ "helpGroup": "GLOBAL",
11535
+ "name": "json",
11536
+ "allowNo": false,
11537
+ "type": "boolean"
11538
+ },
11539
+ "flags-dir": {
11540
+ "helpGroup": "GLOBAL",
11541
+ "name": "flags-dir",
11542
+ "summary": "Import flag values from a directory.",
11543
+ "hasDynamicHelp": false,
11544
+ "multiple": false,
11545
+ "type": "option"
11546
+ },
11547
+ "path": {
11548
+ "char": "p",
11549
+ "description": "Root folder",
11550
+ "name": "path",
11551
+ "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
11552
+ "hasDynamicHelp": false,
11553
+ "multiple": false,
11554
+ "type": "option"
11555
+ },
11556
+ "debug": {
11557
+ "char": "d",
11558
+ "description": "Activate debug mode (more logs)",
11559
+ "name": "debug",
11560
+ "allowNo": false,
11561
+ "type": "boolean"
11562
+ },
11563
+ "websocket": {
11564
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
11565
+ "name": "websocket",
11566
+ "hasDynamicHelp": false,
11567
+ "multiple": false,
11568
+ "type": "option"
11569
+ },
11570
+ "skipauth": {
11571
+ "description": "Skip authentication check when a default username is required",
11572
+ "name": "skipauth",
11573
+ "allowNo": false,
11574
+ "type": "boolean"
11575
+ }
11576
+ },
11577
+ "hasDynamicHelp": false,
11578
+ "hiddenAliases": [],
11579
+ "id": "hardis:project:fix:v53flexipages",
11580
+ "pluginAlias": "sfdx-hardis",
11581
+ "pluginName": "sfdx-hardis",
11582
+ "pluginType": "core",
11583
+ "strict": true,
11584
+ "enableJsonFlag": true,
11585
+ "title": "Fix flexipages for v53",
11586
+ "requiresProject": true,
11587
+ "isESM": true,
11588
+ "relativePath": [
11589
+ "lib",
11590
+ "commands",
11591
+ "hardis",
11592
+ "project",
11593
+ "fix",
11594
+ "v53flexipages.js"
11595
+ ],
11596
+ "aliasPermutations": [],
11597
+ "permutations": [
11598
+ "hardis:project:fix:v53flexipages",
11599
+ "project:hardis:fix:v53flexipages",
11600
+ "project:fix:hardis:v53flexipages",
11601
+ "project:fix:v53flexipages:hardis",
11602
+ "hardis:fix:project:v53flexipages",
11603
+ "fix:hardis:project:v53flexipages",
11604
+ "fix:project:hardis:v53flexipages",
11605
+ "fix:project:v53flexipages:hardis",
11606
+ "hardis:fix:v53flexipages:project",
11607
+ "fix:hardis:v53flexipages:project",
11608
+ "fix:v53flexipages:hardis:project",
11609
+ "fix:v53flexipages:project:hardis",
11610
+ "hardis:project:v53flexipages:fix",
11611
+ "project:hardis:v53flexipages:fix",
11612
+ "project:v53flexipages:hardis:fix",
11613
+ "project:v53flexipages:fix:hardis",
11614
+ "hardis:v53flexipages:project:fix",
11615
+ "v53flexipages:hardis:project:fix",
11616
+ "v53flexipages:project:hardis:fix",
11617
+ "v53flexipages:project:fix:hardis",
11618
+ "hardis:v53flexipages:fix:project",
11619
+ "v53flexipages:hardis:fix:project",
11620
+ "v53flexipages:fix:hardis:project",
11621
+ "v53flexipages:fix:project:hardis"
11622
+ ]
11623
+ },
11409
11624
  "hardis:project:deploy:notify": {
11410
11625
  "aliases": [],
11411
11626
  "args": {},
@@ -12581,221 +12796,6 @@
12581
12796
  "validate:deploy:project:hardis"
12582
12797
  ]
12583
12798
  },
12584
- "hardis:project:fix:profiletabs": {
12585
- "aliases": [],
12586
- "args": {},
12587
- "description": "\n## Command Behavior\n\n**Interactively updates tab visibility settings in Salesforce profiles, addressing a common issue where tab visibilities are not correctly retrieved by `sf project retrieve start`.**\n\nThis command provides a user-friendly interface to manage tab settings within your profile XML files, ensuring that your local project accurately reflects the intended tab configurations in your Salesforce org.\n\nKey functionalities:\n\n- **Interactive Tab Selection:** Displays a multi-select menu of all available tabs in your org, allowing you to choose which tabs to update.\n- **Visibility Control:** Lets you set the visibility for the selected tabs to either `DefaultOn` (Visible) or `Hidden`.\n- **Profile Selection:** Presents a multi-select menu of all .profile-meta.xml files in your project, allowing you to apply the tab visibility changes to specific profiles.\n- **XML Updates:** Modifies the <tabVisibilities> section of the selected profile XML files to reflect the chosen tab settings. If a tab visibility setting already exists for a selected tab, it will be updated; otherwise, a new one will be added.\n- **Sorted Output:** The <tabVisibilities> in the updated profile XML files are sorted alphabetically for consistency and readability.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **SOQL Queries (Tooling API):** It queries the `TabDefinition` object using `soqlQueryTooling` to retrieve a list of all available tabs in the target org.\n- **File Discovery:** Uses `glob` to find all .profile-meta.xml files within the specified project path.\n- **Interactive Prompts:** Leverages the `prompts` library to create interactive menus for selecting tabs, visibility settings, and profiles.\n- **XML Parsing and Manipulation:** Uses `parseXmlFile` to read the content of profile XML files and `writeXmlFile` to write the modified content back. It manipulates the `tabVisibilities` array within the parsed XML to add or update tab settings.\n- **Array Sorting:** Employs the `sort-array` library to sort the `tabVisibilities` alphabetically by tab name.\n- **Logging:** Provides feedback to the user about which profiles have been updated and a summary of the changes.\n</details>\n",
12588
- "examples": [
12589
- "$ sf hardis:project:fix:profiletabs"
12590
- ],
12591
- "flags": {
12592
- "json": {
12593
- "description": "Format output as json.",
12594
- "helpGroup": "GLOBAL",
12595
- "name": "json",
12596
- "allowNo": false,
12597
- "type": "boolean"
12598
- },
12599
- "flags-dir": {
12600
- "helpGroup": "GLOBAL",
12601
- "name": "flags-dir",
12602
- "summary": "Import flag values from a directory.",
12603
- "hasDynamicHelp": false,
12604
- "multiple": false,
12605
- "type": "option"
12606
- },
12607
- "path": {
12608
- "char": "p",
12609
- "description": "Root folder",
12610
- "name": "path",
12611
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12612
- "hasDynamicHelp": false,
12613
- "multiple": false,
12614
- "type": "option"
12615
- },
12616
- "debug": {
12617
- "char": "d",
12618
- "description": "Activate debug mode (more logs)",
12619
- "name": "debug",
12620
- "allowNo": false,
12621
- "type": "boolean"
12622
- },
12623
- "websocket": {
12624
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12625
- "name": "websocket",
12626
- "hasDynamicHelp": false,
12627
- "multiple": false,
12628
- "type": "option"
12629
- },
12630
- "skipauth": {
12631
- "description": "Skip authentication check when a default username is required",
12632
- "name": "skipauth",
12633
- "allowNo": false,
12634
- "type": "boolean"
12635
- },
12636
- "target-org": {
12637
- "aliases": [
12638
- "targetusername",
12639
- "u"
12640
- ],
12641
- "char": "o",
12642
- "deprecateAliases": true,
12643
- "name": "target-org",
12644
- "noCacheDefault": true,
12645
- "required": true,
12646
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
12647
- "hasDynamicHelp": true,
12648
- "multiple": false,
12649
- "type": "option"
12650
- }
12651
- },
12652
- "hasDynamicHelp": true,
12653
- "hiddenAliases": [],
12654
- "id": "hardis:project:fix:profiletabs",
12655
- "pluginAlias": "sfdx-hardis",
12656
- "pluginName": "sfdx-hardis",
12657
- "pluginType": "core",
12658
- "strict": true,
12659
- "enableJsonFlag": true,
12660
- "title": "Fix profiles to add tabs that are not retrieved by SF CLI",
12661
- "requiresProject": true,
12662
- "isESM": true,
12663
- "relativePath": [
12664
- "lib",
12665
- "commands",
12666
- "hardis",
12667
- "project",
12668
- "fix",
12669
- "profiletabs.js"
12670
- ],
12671
- "aliasPermutations": [],
12672
- "permutations": [
12673
- "hardis:project:fix:profiletabs",
12674
- "project:hardis:fix:profiletabs",
12675
- "project:fix:hardis:profiletabs",
12676
- "project:fix:profiletabs:hardis",
12677
- "hardis:fix:project:profiletabs",
12678
- "fix:hardis:project:profiletabs",
12679
- "fix:project:hardis:profiletabs",
12680
- "fix:project:profiletabs:hardis",
12681
- "hardis:fix:profiletabs:project",
12682
- "fix:hardis:profiletabs:project",
12683
- "fix:profiletabs:hardis:project",
12684
- "fix:profiletabs:project:hardis",
12685
- "hardis:project:profiletabs:fix",
12686
- "project:hardis:profiletabs:fix",
12687
- "project:profiletabs:hardis:fix",
12688
- "project:profiletabs:fix:hardis",
12689
- "hardis:profiletabs:project:fix",
12690
- "profiletabs:hardis:project:fix",
12691
- "profiletabs:project:hardis:fix",
12692
- "profiletabs:project:fix:hardis",
12693
- "hardis:profiletabs:fix:project",
12694
- "profiletabs:hardis:fix:project",
12695
- "profiletabs:fix:hardis:project",
12696
- "profiletabs:fix:project:hardis"
12697
- ]
12698
- },
12699
- "hardis:project:fix:v53flexipages": {
12700
- "aliases": [],
12701
- "args": {},
12702
- "description": "\n## Command Behavior\n\n**Fixes Salesforce FlexiPages for compatibility with API Version 53.0 (Winter '22 release) by adding missing identifiers to component instances.**\n\nSalesforce introduced a change in API Version 53.0 that requires `identifier` tags within `componentInstance` and `fieldInstance` elements in FlexiPage metadata. If these identifiers are missing, deployments to orgs with API version 53.0 or higher will fail. This command automates the process of adding these missing identifiers, ensuring your FlexiPages remain deployable.\n\nKey functionalities:\n\n- **Targeted FlexiPage Processing:** Scans all .flexipage-meta.xml files within the specified root folder (defaults to current working directory).\n- **Identifier Injection:** Inserts a unique `identifier` tag (e.g., `SFDX_HARDIS_REPLACEMENT_ID`) into `componentInstance` and `fieldInstance` elements that lack one.\n\n**Important Note:** After running this command, ensure you update your `apiVersion` to `53.0` (or higher) in your `package.xml` and `sfdx-project.json` files.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **File Discovery:** Uses `glob` to find all .flexipage-meta.xml files.\n- **Content Reading:** Reads the XML content of each FlexiPage file.\n- **Regular Expression Replacement:** Employs a set of regular expressions to identify specific XML patterns (componentName.../componentName.../componentInstance, componentName.../componentName.../visibilityRule, fieldItem.../fieldItem.../fieldInstance) that are missing the `identifier` tag.\n- **Dynamic ID Generation:** For each match, it generates a unique identifier (e.g., `sfdxHardisIdX`) and injects it into the XML structure.\n- **File Writing:** If changes are made, the modified XML content is written back to the FlexiPage file using `fs.writeFile`.\n- **Logging:** Provides messages about which FlexiPages are being processed and a summary of the total number of identifiers added.\n</details>\n",
12703
- "examples": [
12704
- "$ sf hardis:project:fix:v53flexipages"
12705
- ],
12706
- "flags": {
12707
- "json": {
12708
- "description": "Format output as json.",
12709
- "helpGroup": "GLOBAL",
12710
- "name": "json",
12711
- "allowNo": false,
12712
- "type": "boolean"
12713
- },
12714
- "flags-dir": {
12715
- "helpGroup": "GLOBAL",
12716
- "name": "flags-dir",
12717
- "summary": "Import flag values from a directory.",
12718
- "hasDynamicHelp": false,
12719
- "multiple": false,
12720
- "type": "option"
12721
- },
12722
- "path": {
12723
- "char": "p",
12724
- "description": "Root folder",
12725
- "name": "path",
12726
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12727
- "hasDynamicHelp": false,
12728
- "multiple": false,
12729
- "type": "option"
12730
- },
12731
- "debug": {
12732
- "char": "d",
12733
- "description": "Activate debug mode (more logs)",
12734
- "name": "debug",
12735
- "allowNo": false,
12736
- "type": "boolean"
12737
- },
12738
- "websocket": {
12739
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12740
- "name": "websocket",
12741
- "hasDynamicHelp": false,
12742
- "multiple": false,
12743
- "type": "option"
12744
- },
12745
- "skipauth": {
12746
- "description": "Skip authentication check when a default username is required",
12747
- "name": "skipauth",
12748
- "allowNo": false,
12749
- "type": "boolean"
12750
- }
12751
- },
12752
- "hasDynamicHelp": false,
12753
- "hiddenAliases": [],
12754
- "id": "hardis:project:fix:v53flexipages",
12755
- "pluginAlias": "sfdx-hardis",
12756
- "pluginName": "sfdx-hardis",
12757
- "pluginType": "core",
12758
- "strict": true,
12759
- "enableJsonFlag": true,
12760
- "title": "Fix flexipages for v53",
12761
- "requiresProject": true,
12762
- "isESM": true,
12763
- "relativePath": [
12764
- "lib",
12765
- "commands",
12766
- "hardis",
12767
- "project",
12768
- "fix",
12769
- "v53flexipages.js"
12770
- ],
12771
- "aliasPermutations": [],
12772
- "permutations": [
12773
- "hardis:project:fix:v53flexipages",
12774
- "project:hardis:fix:v53flexipages",
12775
- "project:fix:hardis:v53flexipages",
12776
- "project:fix:v53flexipages:hardis",
12777
- "hardis:fix:project:v53flexipages",
12778
- "fix:hardis:project:v53flexipages",
12779
- "fix:project:hardis:v53flexipages",
12780
- "fix:project:v53flexipages:hardis",
12781
- "hardis:fix:v53flexipages:project",
12782
- "fix:hardis:v53flexipages:project",
12783
- "fix:v53flexipages:hardis:project",
12784
- "fix:v53flexipages:project:hardis",
12785
- "hardis:project:v53flexipages:fix",
12786
- "project:hardis:v53flexipages:fix",
12787
- "project:v53flexipages:hardis:fix",
12788
- "project:v53flexipages:fix:hardis",
12789
- "hardis:v53flexipages:project:fix",
12790
- "v53flexipages:hardis:project:fix",
12791
- "v53flexipages:project:hardis:fix",
12792
- "v53flexipages:project:fix:hardis",
12793
- "hardis:v53flexipages:fix:project",
12794
- "v53flexipages:hardis:fix:project",
12795
- "v53flexipages:fix:hardis:project",
12796
- "v53flexipages:fix:project:hardis"
12797
- ]
12798
- },
12799
12799
  "hardis:project:generate:bypass": {
12800
12800
  "aliases": [],
12801
12801
  "args": {},
@@ -15278,5 +15278,5 @@
15278
15278
  ]
15279
15279
  }
15280
15280
  },
15281
- "version": "6.5.2"
15281
+ "version": "6.5.3"
15282
15282
  }