sfdx-hardis 6.12.0 → 6.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -132,12 +132,13 @@
132
132
  "clear:cache:hardis"
133
133
  ]
134
134
  },
135
- "hardis:config:get": {
135
+ "hardis:auth:login": {
136
136
  "aliases": [],
137
137
  "args": {},
138
- "description": "\n## Command Behavior\n\n**Retrieves and displays the sfdx-hardis configuration for a specified level.**\n\nThis command allows you to inspect the configuration that is currently in effect for your project, which is useful for debugging and understanding how sfdx-hardis will behave.\n\n- **Configuration levels:** It can retrieve configuration from three different levels:\n - **Project:** The configuration defined in the project's `.sfdx-hardis.yml` file.\n - **Branch:** The configuration defined in a branch-specific configuration file (e.g., `.sfdx-hardis.production.yml`).\n - **User:** The global user-level configuration.\n\n## Technical explanations\n\nThe command's logic is straightforward:\n\n- **`getConfig` function:** It calls the `getConfig` utility function, passing the desired configuration level as an argument.\n- **Configuration loading:** The `getConfig` function is responsible for finding the appropriate configuration file, reading its contents, and parsing it as YAML or JSON.\n- **Output:** The retrieved configuration is then displayed to the user as a JSON string.\n",
138
+ "description": "\n## Command Behavior\n\n**Authenticates to a Salesforce org, primarily designed for CI/CD workflows.**\n\nThis command facilitates secure and automated logins to Salesforce organizations within continuous integration and continuous delivery pipelines. It leverages pre-configured authentication details, ensuring that CI/CD processes can interact with Salesforce without manual intervention.\n\nKey aspects:\n\n- **Configuration-Driven:** It relies on authentication variables and files set up by dedicated configuration commands:\n - For CI/CD repositories: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n - For Monitoring repositories: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n- **Technical Org Support:** Supports authentication to a 'technical org' (e.g., for calling Agentforce from another org) by utilizing the `SFDX_AUTH_URL_TECHNICAL_ORG` environment variable. If this variable is set, the command authenticates to this org with the alias `TECHNICAL_ORG`.\n\nTo obtain the `SFDX_AUTH_URL_TECHNICAL_ORG` value, you can run `sf org display --verbose --json` and copy the `sfdxAuthUrl` field from the output.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical flow involves:\n\n- **Flag Parsing:** It parses command-line flags such as `instanceurl`, `devhub`, `scratchorg`, and `debug` to determine the authentication context.\n- **Authentication Hook:** It triggers an internal authentication hook (`this.config.runHook('auth', ...`)) which is responsible for executing the actual authentication logic based on the provided flags (e.g., whether it's a Dev Hub or a scratch org).\n- **Environment Variable Check:** It checks for the presence of `SFDX_AUTH_URL_TECHNICAL_ORG` or `TECHNICAL_ORG_ALIAS` environment variables.\n- **`authOrg` Utility:** If a technical org is configured, it calls the `authOrg` utility function to perform the authentication for that specific org, ensuring it's connected and available for subsequent operations.\n- **Salesforce CLI Integration:** It integrates with the Salesforce CLI's authentication mechanisms to establish and manage org connections.\n</details>\n",
139
139
  "examples": [
140
- "$ sf hardis:project:deploy:sources:metadata"
140
+ "$ sf hardis:auth:login",
141
+ "CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
141
142
  ],
142
143
  "flags": {
143
144
  "json": {
@@ -155,20 +156,28 @@
155
156
  "multiple": false,
156
157
  "type": "option"
157
158
  },
158
- "level": {
159
- "char": "l",
160
- "description": "project,branch or user",
161
- "name": "level",
162
- "default": "project",
159
+ "instanceurl": {
160
+ "char": "r",
161
+ "description": "URL of org instance",
162
+ "name": "instanceurl",
163
163
  "hasDynamicHelp": false,
164
164
  "multiple": false,
165
- "options": [
166
- "project",
167
- "branch",
168
- "user"
169
- ],
170
165
  "type": "option"
171
166
  },
167
+ "devhub": {
168
+ "char": "h",
169
+ "description": "Also connect associated DevHub",
170
+ "name": "devhub",
171
+ "allowNo": false,
172
+ "type": "boolean"
173
+ },
174
+ "scratchorg": {
175
+ "char": "s",
176
+ "description": "Scratch org",
177
+ "name": "scratchorg",
178
+ "allowNo": false,
179
+ "type": "boolean"
180
+ },
172
181
  "debug": {
173
182
  "char": "d",
174
183
  "description": "Activate debug mode (more logs)",
@@ -192,39 +201,38 @@
192
201
  },
193
202
  "hasDynamicHelp": false,
194
203
  "hiddenAliases": [],
195
- "id": "hardis:config:get",
204
+ "id": "hardis:auth:login",
196
205
  "pluginAlias": "sfdx-hardis",
197
206
  "pluginName": "sfdx-hardis",
198
207
  "pluginType": "core",
199
208
  "strict": true,
200
209
  "enableJsonFlag": true,
201
- "title": "Deploy metadata sources to org",
210
+ "title": "Login",
202
211
  "requiresProject": false,
203
212
  "isESM": true,
204
213
  "relativePath": [
205
214
  "lib",
206
215
  "commands",
207
216
  "hardis",
208
- "config",
209
- "get.js"
217
+ "auth",
218
+ "login.js"
210
219
  ],
211
220
  "aliasPermutations": [],
212
221
  "permutations": [
213
- "hardis:config:get",
214
- "config:hardis:get",
215
- "config:get:hardis",
216
- "hardis:get:config",
217
- "get:hardis:config",
218
- "get:config:hardis"
222
+ "hardis:auth:login",
223
+ "auth:hardis:login",
224
+ "auth:login:hardis",
225
+ "hardis:login:auth",
226
+ "login:hardis:auth",
227
+ "login:auth:hardis"
219
228
  ]
220
229
  },
221
- "hardis:auth:login": {
230
+ "hardis:config:get": {
222
231
  "aliases": [],
223
232
  "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",
233
+ "description": "\n## Command Behavior\n\n**Retrieves and displays the sfdx-hardis configuration for a specified level.**\n\nThis command allows you to inspect the configuration that is currently in effect for your project, which is useful for debugging and understanding how sfdx-hardis will behave.\n\n- **Configuration levels:** It can retrieve configuration from three different levels:\n - **Project:** The configuration defined in the project's `.sfdx-hardis.yml` file.\n - **Branch:** The configuration defined in a branch-specific configuration file (e.g., `.sfdx-hardis.production.yml`).\n - **User:** The global user-level configuration.\n\n## Technical explanations\n\nThe command's logic is straightforward:\n\n- **`getConfig` function:** It calls the `getConfig` utility function, passing the desired configuration level as an argument.\n- **Configuration loading:** The `getConfig` function is responsible for finding the appropriate configuration file, reading its contents, and parsing it as YAML or JSON.\n- **Output:** The retrieved configuration is then displayed to the user as a JSON string.\n",
225
234
  "examples": [
226
- "$ sf hardis:auth:login",
227
- "CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
235
+ "$ sf hardis:project:deploy:sources:metadata"
228
236
  ],
229
237
  "flags": {
230
238
  "json": {
@@ -242,28 +250,20 @@
242
250
  "multiple": false,
243
251
  "type": "option"
244
252
  },
245
- "instanceurl": {
246
- "char": "r",
247
- "description": "URL of org instance",
248
- "name": "instanceurl",
253
+ "level": {
254
+ "char": "l",
255
+ "description": "project,branch or user",
256
+ "name": "level",
257
+ "default": "project",
249
258
  "hasDynamicHelp": false,
250
259
  "multiple": false,
260
+ "options": [
261
+ "project",
262
+ "branch",
263
+ "user"
264
+ ],
251
265
  "type": "option"
252
266
  },
253
- "devhub": {
254
- "char": "h",
255
- "description": "Also connect associated DevHub",
256
- "name": "devhub",
257
- "allowNo": false,
258
- "type": "boolean"
259
- },
260
- "scratchorg": {
261
- "char": "s",
262
- "description": "Scratch org",
263
- "name": "scratchorg",
264
- "allowNo": false,
265
- "type": "boolean"
266
- },
267
267
  "debug": {
268
268
  "char": "d",
269
269
  "description": "Activate debug mode (more logs)",
@@ -287,30 +287,30 @@
287
287
  },
288
288
  "hasDynamicHelp": false,
289
289
  "hiddenAliases": [],
290
- "id": "hardis:auth:login",
290
+ "id": "hardis:config:get",
291
291
  "pluginAlias": "sfdx-hardis",
292
292
  "pluginName": "sfdx-hardis",
293
293
  "pluginType": "core",
294
294
  "strict": true,
295
295
  "enableJsonFlag": true,
296
- "title": "Login",
296
+ "title": "Deploy metadata sources to org",
297
297
  "requiresProject": false,
298
298
  "isESM": true,
299
299
  "relativePath": [
300
300
  "lib",
301
301
  "commands",
302
302
  "hardis",
303
- "auth",
304
- "login.js"
303
+ "config",
304
+ "get.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:config:get",
309
+ "config:hardis:get",
310
+ "config:get:hardis",
311
+ "hardis:get:config",
312
+ "get:hardis:config",
313
+ "get:config:hardis"
314
314
  ]
315
315
  },
316
316
  "hardis:doc:fieldusage": {
@@ -5808,121 +5808,6 @@
5808
5808
  "import:files:org:hardis"
5809
5809
  ]
5810
5810
  },
5811
- "hardis:org:fix:listviewmine": {
5812
- "aliases": [],
5813
- "args": {},
5814
- "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",
5815
- "examples": [
5816
- "$ sf hardis:org:fix:listviewmine",
5817
- "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
5818
- ],
5819
- "flags": {
5820
- "json": {
5821
- "description": "Format output as json.",
5822
- "helpGroup": "GLOBAL",
5823
- "name": "json",
5824
- "allowNo": false,
5825
- "type": "boolean"
5826
- },
5827
- "flags-dir": {
5828
- "helpGroup": "GLOBAL",
5829
- "name": "flags-dir",
5830
- "summary": "Import flag values from a directory.",
5831
- "hasDynamicHelp": false,
5832
- "multiple": false,
5833
- "type": "option"
5834
- },
5835
- "listviews": {
5836
- "char": "l",
5837
- "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
5838
- "name": "listviews",
5839
- "hasDynamicHelp": false,
5840
- "multiple": false,
5841
- "type": "option"
5842
- },
5843
- "debug": {
5844
- "char": "d",
5845
- "description": "Activate debug mode (more logs)",
5846
- "name": "debug",
5847
- "allowNo": false,
5848
- "type": "boolean"
5849
- },
5850
- "websocket": {
5851
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
5852
- "name": "websocket",
5853
- "hasDynamicHelp": false,
5854
- "multiple": false,
5855
- "type": "option"
5856
- },
5857
- "skipauth": {
5858
- "description": "Skip authentication check when a default username is required",
5859
- "name": "skipauth",
5860
- "allowNo": false,
5861
- "type": "boolean"
5862
- },
5863
- "target-org": {
5864
- "aliases": [
5865
- "targetusername",
5866
- "u"
5867
- ],
5868
- "char": "o",
5869
- "deprecateAliases": true,
5870
- "name": "target-org",
5871
- "noCacheDefault": true,
5872
- "required": true,
5873
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
5874
- "hasDynamicHelp": true,
5875
- "multiple": false,
5876
- "type": "option"
5877
- }
5878
- },
5879
- "hasDynamicHelp": true,
5880
- "hiddenAliases": [],
5881
- "id": "hardis:org:fix:listviewmine",
5882
- "pluginAlias": "sfdx-hardis",
5883
- "pluginName": "sfdx-hardis",
5884
- "pluginType": "core",
5885
- "strict": true,
5886
- "enableJsonFlag": true,
5887
- "title": "Fix listviews with ",
5888
- "requiresProject": true,
5889
- "isESM": true,
5890
- "relativePath": [
5891
- "lib",
5892
- "commands",
5893
- "hardis",
5894
- "org",
5895
- "fix",
5896
- "listviewmine.js"
5897
- ],
5898
- "aliasPermutations": [],
5899
- "permutations": [
5900
- "hardis:org:fix:listviewmine",
5901
- "org:hardis:fix:listviewmine",
5902
- "org:fix:hardis:listviewmine",
5903
- "org:fix:listviewmine:hardis",
5904
- "hardis:fix:org:listviewmine",
5905
- "fix:hardis:org:listviewmine",
5906
- "fix:org:hardis:listviewmine",
5907
- "fix:org:listviewmine:hardis",
5908
- "hardis:fix:listviewmine:org",
5909
- "fix:hardis:listviewmine:org",
5910
- "fix:listviewmine:hardis:org",
5911
- "fix:listviewmine:org:hardis",
5912
- "hardis:org:listviewmine:fix",
5913
- "org:hardis:listviewmine:fix",
5914
- "org:listviewmine:hardis:fix",
5915
- "org:listviewmine:fix:hardis",
5916
- "hardis:listviewmine:org:fix",
5917
- "listviewmine:hardis:org:fix",
5918
- "listviewmine:org:hardis:fix",
5919
- "listviewmine:org:fix:hardis",
5920
- "hardis:listviewmine:fix:org",
5921
- "listviewmine:hardis:fix:org",
5922
- "listviewmine:fix:hardis:org",
5923
- "listviewmine:fix:org:hardis"
5924
- ]
5925
- },
5926
5811
  "hardis:org:diagnose:audittrail": {
5927
5812
  "aliases": [],
5928
5813
  "args": {},
@@ -7321,14 +7206,13 @@
7321
7206
  "unusedusers:diagnose:org:hardis"
7322
7207
  ]
7323
7208
  },
7324
- "hardis:org:generate:packagexmlfull": {
7209
+ "hardis:org:fix:listviewmine": {
7325
7210
  "aliases": [],
7326
7211
  "args": {},
7327
- "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",
7212
+ "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",
7328
7213
  "examples": [
7329
- "$ sf hardis:org:generate:packagexmlfull",
7330
- "$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
7331
- "$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
7214
+ "$ sf hardis:org:fix:listviewmine",
7215
+ "$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
7332
7216
  ],
7333
7217
  "flags": {
7334
7218
  "json": {
@@ -7346,9 +7230,10 @@
7346
7230
  "multiple": false,
7347
7231
  "type": "option"
7348
7232
  },
7349
- "outputfile": {
7350
- "description": "Output package.xml file",
7351
- "name": "outputfile",
7233
+ "listviews": {
7234
+ "char": "l",
7235
+ "description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
7236
+ "name": "listviews",
7352
7237
  "hasDynamicHelp": false,
7353
7238
  "multiple": false,
7354
7239
  "type": "option"
@@ -7360,13 +7245,6 @@
7360
7245
  "allowNo": false,
7361
7246
  "type": "boolean"
7362
7247
  },
7363
- "no-prompt": {
7364
- "char": "n",
7365
- "description": "Do not prompt for org username, use the default one",
7366
- "name": "no-prompt",
7367
- "allowNo": false,
7368
- "type": "boolean"
7369
- },
7370
7248
  "websocket": {
7371
7249
  "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7372
7250
  "name": "websocket",
@@ -7398,22 +7276,144 @@
7398
7276
  },
7399
7277
  "hasDynamicHelp": true,
7400
7278
  "hiddenAliases": [],
7401
- "id": "hardis:org:generate:packagexmlfull",
7279
+ "id": "hardis:org:fix:listviewmine",
7402
7280
  "pluginAlias": "sfdx-hardis",
7403
7281
  "pluginName": "sfdx-hardis",
7404
7282
  "pluginType": "core",
7405
7283
  "strict": true,
7406
7284
  "enableJsonFlag": true,
7407
- "title": "Generate Full Org package.xml",
7408
- "requiresProject": false,
7285
+ "title": "Fix listviews with ",
7286
+ "requiresProject": true,
7409
7287
  "isESM": true,
7410
7288
  "relativePath": [
7411
7289
  "lib",
7412
7290
  "commands",
7413
7291
  "hardis",
7414
7292
  "org",
7415
- "generate",
7416
- "packagexmlfull.js"
7293
+ "fix",
7294
+ "listviewmine.js"
7295
+ ],
7296
+ "aliasPermutations": [],
7297
+ "permutations": [
7298
+ "hardis:org:fix:listviewmine",
7299
+ "org:hardis:fix:listviewmine",
7300
+ "org:fix:hardis:listviewmine",
7301
+ "org:fix:listviewmine:hardis",
7302
+ "hardis:fix:org:listviewmine",
7303
+ "fix:hardis:org:listviewmine",
7304
+ "fix:org:hardis:listviewmine",
7305
+ "fix:org:listviewmine:hardis",
7306
+ "hardis:fix:listviewmine:org",
7307
+ "fix:hardis:listviewmine:org",
7308
+ "fix:listviewmine:hardis:org",
7309
+ "fix:listviewmine:org:hardis",
7310
+ "hardis:org:listviewmine:fix",
7311
+ "org:hardis:listviewmine:fix",
7312
+ "org:listviewmine:hardis:fix",
7313
+ "org:listviewmine:fix:hardis",
7314
+ "hardis:listviewmine:org:fix",
7315
+ "listviewmine:hardis:org:fix",
7316
+ "listviewmine:org:hardis:fix",
7317
+ "listviewmine:org:fix:hardis",
7318
+ "hardis:listviewmine:fix:org",
7319
+ "listviewmine:hardis:fix:org",
7320
+ "listviewmine:fix:hardis:org",
7321
+ "listviewmine:fix:org:hardis"
7322
+ ]
7323
+ },
7324
+ "hardis:org:generate:packagexmlfull": {
7325
+ "aliases": [],
7326
+ "args": {},
7327
+ "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",
7328
+ "examples": [
7329
+ "$ sf hardis:org:generate:packagexmlfull",
7330
+ "$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
7331
+ "$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
7332
+ ],
7333
+ "flags": {
7334
+ "json": {
7335
+ "description": "Format output as json.",
7336
+ "helpGroup": "GLOBAL",
7337
+ "name": "json",
7338
+ "allowNo": false,
7339
+ "type": "boolean"
7340
+ },
7341
+ "flags-dir": {
7342
+ "helpGroup": "GLOBAL",
7343
+ "name": "flags-dir",
7344
+ "summary": "Import flag values from a directory.",
7345
+ "hasDynamicHelp": false,
7346
+ "multiple": false,
7347
+ "type": "option"
7348
+ },
7349
+ "outputfile": {
7350
+ "description": "Output package.xml file",
7351
+ "name": "outputfile",
7352
+ "hasDynamicHelp": false,
7353
+ "multiple": false,
7354
+ "type": "option"
7355
+ },
7356
+ "debug": {
7357
+ "char": "d",
7358
+ "description": "Activate debug mode (more logs)",
7359
+ "name": "debug",
7360
+ "allowNo": false,
7361
+ "type": "boolean"
7362
+ },
7363
+ "no-prompt": {
7364
+ "char": "n",
7365
+ "description": "Do not prompt for org username, use the default one",
7366
+ "name": "no-prompt",
7367
+ "allowNo": false,
7368
+ "type": "boolean"
7369
+ },
7370
+ "websocket": {
7371
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7372
+ "name": "websocket",
7373
+ "hasDynamicHelp": false,
7374
+ "multiple": false,
7375
+ "type": "option"
7376
+ },
7377
+ "skipauth": {
7378
+ "description": "Skip authentication check when a default username is required",
7379
+ "name": "skipauth",
7380
+ "allowNo": false,
7381
+ "type": "boolean"
7382
+ },
7383
+ "target-org": {
7384
+ "aliases": [
7385
+ "targetusername",
7386
+ "u"
7387
+ ],
7388
+ "char": "o",
7389
+ "deprecateAliases": true,
7390
+ "name": "target-org",
7391
+ "noCacheDefault": true,
7392
+ "required": true,
7393
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
7394
+ "hasDynamicHelp": true,
7395
+ "multiple": false,
7396
+ "type": "option"
7397
+ }
7398
+ },
7399
+ "hasDynamicHelp": true,
7400
+ "hiddenAliases": [],
7401
+ "id": "hardis:org:generate:packagexmlfull",
7402
+ "pluginAlias": "sfdx-hardis",
7403
+ "pluginName": "sfdx-hardis",
7404
+ "pluginType": "core",
7405
+ "strict": true,
7406
+ "enableJsonFlag": true,
7407
+ "title": "Generate Full Org package.xml",
7408
+ "requiresProject": false,
7409
+ "isESM": true,
7410
+ "relativePath": [
7411
+ "lib",
7412
+ "commands",
7413
+ "hardis",
7414
+ "org",
7415
+ "generate",
7416
+ "packagexmlfull.js"
7417
7417
  ],
7418
7418
  "aliasPermutations": [],
7419
7419
  "permutations": [
@@ -8192,13 +8192,16 @@
8192
8192
  "flow:purge:org:hardis"
8193
8193
  ]
8194
8194
  },
8195
- "hardis:org:retrieve:packageconfig": {
8195
+ "hardis:org:refresh:after-refresh": {
8196
8196
  "aliases": [],
8197
8197
  "args": {},
8198
- "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",
8198
+ "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",
8199
8199
  "examples": [
8200
- "$ sf hardis:org:retrieve:packageconfig",
8201
- "sf hardis:org:retrieve:packageconfig -u myOrg"
8200
+ "$ sf hardis:org:refresh:after-refresh",
8201
+ "$ sf hardis:org:refresh:after-refresh --name \"MyConnectedApp\" // Process specific app, no selection prompt",
8202
+ "$ sf hardis:org:refresh:after-refresh --name \"App1,App2,App3\" // Process multiple apps, no selection prompt",
8203
+ "$ sf hardis:org:refresh:after-refresh --all // Process all apps, no selection prompt",
8204
+ "$ sf hardis:org:refresh:after-refresh --target-org myDevOrg"
8202
8205
  ],
8203
8206
  "flags": {
8204
8207
  "json": {
@@ -8216,16 +8219,37 @@
8216
8219
  "multiple": false,
8217
8220
  "type": "option"
8218
8221
  },
8219
- "debug": {
8220
- "char": "d",
8221
- "description": "Activate debug mode (more logs)",
8222
- "name": "debug",
8222
+ "target-org": {
8223
+ "char": "o",
8224
+ "name": "target-org",
8225
+ "noCacheDefault": true,
8226
+ "required": true,
8227
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8228
+ "hasDynamicHelp": true,
8229
+ "multiple": false,
8230
+ "type": "option"
8231
+ },
8232
+ "name": {
8233
+ "char": "n",
8234
+ "description": "Connected App name(s) to process (bypasses selection prompt). For multiple apps, separate with commas (e.g., \"App1,App2\")",
8235
+ "name": "name",
8236
+ "summary": "Filter according to Name criteria",
8237
+ "hasDynamicHelp": false,
8238
+ "multiple": false,
8239
+ "type": "option"
8240
+ },
8241
+ "all": {
8242
+ "char": "a",
8243
+ "description": "If set, all Connected Apps from the local repository will be processed. Takes precedence over --name if both are specified.",
8244
+ "name": "all",
8245
+ "summary": "Process all Connected Apps without selection prompt",
8223
8246
  "allowNo": false,
8224
8247
  "type": "boolean"
8225
8248
  },
8226
8249
  "websocket": {
8227
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
8250
+ "description": "WebSocket host:port for VS Code SFDX Hardis UI integration",
8228
8251
  "name": "websocket",
8252
+ "summary": "Websocket host:port for VsCode SFDX Hardis UI integration",
8229
8253
  "hasDynamicHelp": false,
8230
8254
  "multiple": false,
8231
8255
  "type": "option"
@@ -8233,78 +8257,68 @@
8233
8257
  "skipauth": {
8234
8258
  "description": "Skip authentication check when a default username is required",
8235
8259
  "name": "skipauth",
8260
+ "summary": "Skip authentication check when a default username is required",
8236
8261
  "allowNo": false,
8237
8262
  "type": "boolean"
8238
- },
8239
- "target-org": {
8240
- "aliases": [
8241
- "targetusername",
8242
- "u"
8243
- ],
8244
- "char": "o",
8245
- "deprecateAliases": true,
8246
- "name": "target-org",
8247
- "noCacheDefault": true,
8248
- "required": true,
8249
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8250
- "hasDynamicHelp": true,
8251
- "multiple": false,
8252
- "type": "option"
8253
8263
  }
8254
8264
  },
8255
8265
  "hasDynamicHelp": true,
8256
8266
  "hiddenAliases": [],
8257
- "id": "hardis:org:retrieve:packageconfig",
8267
+ "id": "hardis:org:refresh:after-refresh",
8258
8268
  "pluginAlias": "sfdx-hardis",
8259
8269
  "pluginName": "sfdx-hardis",
8260
8270
  "pluginType": "core",
8261
8271
  "strict": true,
8262
8272
  "enableJsonFlag": true,
8263
- "title": "Retrieve package configuration from an org",
8264
- "requiresProject": false,
8273
+ "title": "Restore Connected Apps after org refresh",
8274
+ "requiresProject": true,
8265
8275
  "isESM": true,
8266
8276
  "relativePath": [
8267
8277
  "lib",
8268
8278
  "commands",
8269
8279
  "hardis",
8270
8280
  "org",
8271
- "retrieve",
8272
- "packageconfig.js"
8281
+ "refresh",
8282
+ "after-refresh.js"
8273
8283
  ],
8274
8284
  "aliasPermutations": [],
8275
8285
  "permutations": [
8276
- "hardis:org:retrieve:packageconfig",
8277
- "org:hardis:retrieve:packageconfig",
8278
- "org:retrieve:hardis:packageconfig",
8279
- "org:retrieve:packageconfig:hardis",
8280
- "hardis:retrieve:org:packageconfig",
8281
- "retrieve:hardis:org:packageconfig",
8282
- "retrieve:org:hardis:packageconfig",
8283
- "retrieve:org:packageconfig:hardis",
8284
- "hardis:retrieve:packageconfig:org",
8285
- "retrieve:hardis:packageconfig:org",
8286
- "retrieve:packageconfig:hardis:org",
8287
- "retrieve:packageconfig:org:hardis",
8288
- "hardis:org:packageconfig:retrieve",
8289
- "org:hardis:packageconfig:retrieve",
8290
- "org:packageconfig:hardis:retrieve",
8291
- "org:packageconfig:retrieve:hardis",
8292
- "hardis:packageconfig:org:retrieve",
8293
- "packageconfig:hardis:org:retrieve",
8294
- "packageconfig:org:hardis:retrieve",
8295
- "packageconfig:org:retrieve:hardis",
8296
- "hardis:packageconfig:retrieve:org",
8297
- "packageconfig:hardis:retrieve:org",
8298
- "packageconfig:retrieve:hardis:org",
8299
- "packageconfig:retrieve:org:hardis"
8286
+ "hardis:org:refresh:after-refresh",
8287
+ "org:hardis:refresh:after-refresh",
8288
+ "org:refresh:hardis:after-refresh",
8289
+ "org:refresh:after-refresh:hardis",
8290
+ "hardis:refresh:org:after-refresh",
8291
+ "refresh:hardis:org:after-refresh",
8292
+ "refresh:org:hardis:after-refresh",
8293
+ "refresh:org:after-refresh:hardis",
8294
+ "hardis:refresh:after-refresh:org",
8295
+ "refresh:hardis:after-refresh:org",
8296
+ "refresh:after-refresh:hardis:org",
8297
+ "refresh:after-refresh:org:hardis",
8298
+ "hardis:org:after-refresh:refresh",
8299
+ "org:hardis:after-refresh:refresh",
8300
+ "org:after-refresh:hardis:refresh",
8301
+ "org:after-refresh:refresh:hardis",
8302
+ "hardis:after-refresh:org:refresh",
8303
+ "after-refresh:hardis:org:refresh",
8304
+ "after-refresh:org:hardis:refresh",
8305
+ "after-refresh:org:refresh:hardis",
8306
+ "hardis:after-refresh:refresh:org",
8307
+ "after-refresh:hardis:refresh:org",
8308
+ "after-refresh:refresh:hardis:org",
8309
+ "after-refresh:refresh:org:hardis"
8300
8310
  ]
8301
8311
  },
8302
- "hardis:org:test:apex": {
8312
+ "hardis:org:refresh:before-refresh": {
8303
8313
  "aliases": [],
8304
8314
  "args": {},
8305
- "description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 120 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
8315
+ "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",
8306
8316
  "examples": [
8307
- "$ sf hardis:org:test:apex"
8317
+ "$ sf hardis:org:refresh:before-refresh",
8318
+ "$ sf hardis:org:refresh:before-refresh --name \"MyConnectedApp\"",
8319
+ "$ sf hardis:org:refresh:before-refresh --name \"App1,App2,App3\"",
8320
+ "$ sf hardis:org:refresh:before-refresh --all",
8321
+ "$ sf hardis:org:refresh:before-refresh --delete"
8308
8322
  ],
8309
8323
  "flags": {
8310
8324
  "json": {
@@ -8322,12 +8336,237 @@
8322
8336
  "multiple": false,
8323
8337
  "type": "option"
8324
8338
  },
8325
- "testlevel": {
8326
- "char": "l",
8327
- "description": "Level of tests to apply to validate deployment",
8328
- "name": "testlevel",
8329
- "default": "RunLocalTests",
8330
- "hasDynamicHelp": false,
8339
+ "target-org": {
8340
+ "char": "o",
8341
+ "name": "target-org",
8342
+ "noCacheDefault": true,
8343
+ "required": true,
8344
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8345
+ "hasDynamicHelp": true,
8346
+ "multiple": false,
8347
+ "type": "option"
8348
+ },
8349
+ "delete": {
8350
+ "char": "d",
8351
+ "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.",
8352
+ "name": "delete",
8353
+ "summary": "Delete Connected Apps from org after saving",
8354
+ "allowNo": false,
8355
+ "type": "boolean"
8356
+ },
8357
+ "name": {
8358
+ "char": "n",
8359
+ "description": "Connected App name(s) to process. For multiple apps, separate with commas (e.g., \"App1,App2\")",
8360
+ "name": "name",
8361
+ "summary": "Filter according to Name criteria",
8362
+ "hasDynamicHelp": false,
8363
+ "multiple": false,
8364
+ "type": "option"
8365
+ },
8366
+ "all": {
8367
+ "char": "a",
8368
+ "description": "If set, all Connected Apps from the org will be processed. Takes precedence over --name if both are specified.",
8369
+ "name": "all",
8370
+ "summary": "Process all Connected Apps without selection prompt",
8371
+ "allowNo": false,
8372
+ "type": "boolean"
8373
+ },
8374
+ "websocket": {
8375
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
8376
+ "name": "websocket",
8377
+ "hasDynamicHelp": false,
8378
+ "multiple": false,
8379
+ "type": "option"
8380
+ },
8381
+ "skipauth": {
8382
+ "description": "Skip authentication check when a default username is required",
8383
+ "name": "skipauth",
8384
+ "allowNo": false,
8385
+ "type": "boolean"
8386
+ }
8387
+ },
8388
+ "hasDynamicHelp": true,
8389
+ "hiddenAliases": [],
8390
+ "id": "hardis:org:refresh:before-refresh",
8391
+ "pluginAlias": "sfdx-hardis",
8392
+ "pluginName": "sfdx-hardis",
8393
+ "pluginType": "core",
8394
+ "strict": true,
8395
+ "enableJsonFlag": true,
8396
+ "requiresProject": true,
8397
+ "isESM": true,
8398
+ "relativePath": [
8399
+ "lib",
8400
+ "commands",
8401
+ "hardis",
8402
+ "org",
8403
+ "refresh",
8404
+ "before-refresh.js"
8405
+ ],
8406
+ "aliasPermutations": [],
8407
+ "permutations": [
8408
+ "hardis:org:refresh:before-refresh",
8409
+ "org:hardis:refresh:before-refresh",
8410
+ "org:refresh:hardis:before-refresh",
8411
+ "org:refresh:before-refresh:hardis",
8412
+ "hardis:refresh:org:before-refresh",
8413
+ "refresh:hardis:org:before-refresh",
8414
+ "refresh:org:hardis:before-refresh",
8415
+ "refresh:org:before-refresh:hardis",
8416
+ "hardis:refresh:before-refresh:org",
8417
+ "refresh:hardis:before-refresh:org",
8418
+ "refresh:before-refresh:hardis:org",
8419
+ "refresh:before-refresh:org:hardis",
8420
+ "hardis:org:before-refresh:refresh",
8421
+ "org:hardis:before-refresh:refresh",
8422
+ "org:before-refresh:hardis:refresh",
8423
+ "org:before-refresh:refresh:hardis",
8424
+ "hardis:before-refresh:org:refresh",
8425
+ "before-refresh:hardis:org:refresh",
8426
+ "before-refresh:org:hardis:refresh",
8427
+ "before-refresh:org:refresh:hardis",
8428
+ "hardis:before-refresh:refresh:org",
8429
+ "before-refresh:hardis:refresh:org",
8430
+ "before-refresh:refresh:hardis:org",
8431
+ "before-refresh:refresh:org:hardis"
8432
+ ]
8433
+ },
8434
+ "hardis:org:retrieve:packageconfig": {
8435
+ "aliases": [],
8436
+ "args": {},
8437
+ "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",
8438
+ "examples": [
8439
+ "$ sf hardis:org:retrieve:packageconfig",
8440
+ "sf hardis:org:retrieve:packageconfig -u myOrg"
8441
+ ],
8442
+ "flags": {
8443
+ "json": {
8444
+ "description": "Format output as json.",
8445
+ "helpGroup": "GLOBAL",
8446
+ "name": "json",
8447
+ "allowNo": false,
8448
+ "type": "boolean"
8449
+ },
8450
+ "flags-dir": {
8451
+ "helpGroup": "GLOBAL",
8452
+ "name": "flags-dir",
8453
+ "summary": "Import flag values from a directory.",
8454
+ "hasDynamicHelp": false,
8455
+ "multiple": false,
8456
+ "type": "option"
8457
+ },
8458
+ "debug": {
8459
+ "char": "d",
8460
+ "description": "Activate debug mode (more logs)",
8461
+ "name": "debug",
8462
+ "allowNo": false,
8463
+ "type": "boolean"
8464
+ },
8465
+ "websocket": {
8466
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
8467
+ "name": "websocket",
8468
+ "hasDynamicHelp": false,
8469
+ "multiple": false,
8470
+ "type": "option"
8471
+ },
8472
+ "skipauth": {
8473
+ "description": "Skip authentication check when a default username is required",
8474
+ "name": "skipauth",
8475
+ "allowNo": false,
8476
+ "type": "boolean"
8477
+ },
8478
+ "target-org": {
8479
+ "aliases": [
8480
+ "targetusername",
8481
+ "u"
8482
+ ],
8483
+ "char": "o",
8484
+ "deprecateAliases": true,
8485
+ "name": "target-org",
8486
+ "noCacheDefault": true,
8487
+ "required": true,
8488
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8489
+ "hasDynamicHelp": true,
8490
+ "multiple": false,
8491
+ "type": "option"
8492
+ }
8493
+ },
8494
+ "hasDynamicHelp": true,
8495
+ "hiddenAliases": [],
8496
+ "id": "hardis:org:retrieve:packageconfig",
8497
+ "pluginAlias": "sfdx-hardis",
8498
+ "pluginName": "sfdx-hardis",
8499
+ "pluginType": "core",
8500
+ "strict": true,
8501
+ "enableJsonFlag": true,
8502
+ "title": "Retrieve package configuration from an org",
8503
+ "requiresProject": false,
8504
+ "isESM": true,
8505
+ "relativePath": [
8506
+ "lib",
8507
+ "commands",
8508
+ "hardis",
8509
+ "org",
8510
+ "retrieve",
8511
+ "packageconfig.js"
8512
+ ],
8513
+ "aliasPermutations": [],
8514
+ "permutations": [
8515
+ "hardis:org:retrieve:packageconfig",
8516
+ "org:hardis:retrieve:packageconfig",
8517
+ "org:retrieve:hardis:packageconfig",
8518
+ "org:retrieve:packageconfig:hardis",
8519
+ "hardis:retrieve:org:packageconfig",
8520
+ "retrieve:hardis:org:packageconfig",
8521
+ "retrieve:org:hardis:packageconfig",
8522
+ "retrieve:org:packageconfig:hardis",
8523
+ "hardis:retrieve:packageconfig:org",
8524
+ "retrieve:hardis:packageconfig:org",
8525
+ "retrieve:packageconfig:hardis:org",
8526
+ "retrieve:packageconfig:org:hardis",
8527
+ "hardis:org:packageconfig:retrieve",
8528
+ "org:hardis:packageconfig:retrieve",
8529
+ "org:packageconfig:hardis:retrieve",
8530
+ "org:packageconfig:retrieve:hardis",
8531
+ "hardis:packageconfig:org:retrieve",
8532
+ "packageconfig:hardis:org:retrieve",
8533
+ "packageconfig:org:hardis:retrieve",
8534
+ "packageconfig:org:retrieve:hardis",
8535
+ "hardis:packageconfig:retrieve:org",
8536
+ "packageconfig:hardis:retrieve:org",
8537
+ "packageconfig:retrieve:hardis:org",
8538
+ "packageconfig:retrieve:org:hardis"
8539
+ ]
8540
+ },
8541
+ "hardis:org:test:apex": {
8542
+ "aliases": [],
8543
+ "args": {},
8544
+ "description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 120 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
8545
+ "examples": [
8546
+ "$ sf hardis:org:test:apex"
8547
+ ],
8548
+ "flags": {
8549
+ "json": {
8550
+ "description": "Format output as json.",
8551
+ "helpGroup": "GLOBAL",
8552
+ "name": "json",
8553
+ "allowNo": false,
8554
+ "type": "boolean"
8555
+ },
8556
+ "flags-dir": {
8557
+ "helpGroup": "GLOBAL",
8558
+ "name": "flags-dir",
8559
+ "summary": "Import flag values from a directory.",
8560
+ "hasDynamicHelp": false,
8561
+ "multiple": false,
8562
+ "type": "option"
8563
+ },
8564
+ "testlevel": {
8565
+ "char": "l",
8566
+ "description": "Level of tests to apply to validate deployment",
8567
+ "name": "testlevel",
8568
+ "default": "RunLocalTests",
8569
+ "hasDynamicHelp": false,
8331
8570
  "multiple": false,
8332
8571
  "options": [
8333
8572
  "NoTestRun",
@@ -8819,245 +9058,6 @@
8819
9058
  "unfreeze:user:org:hardis"
8820
9059
  ]
8821
9060
  },
8822
- "hardis:org:refresh:after-refresh": {
8823
- "aliases": [],
8824
- "args": {},
8825
- "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",
8826
- "examples": [
8827
- "$ sf hardis:org:refresh:after-refresh",
8828
- "$ sf hardis:org:refresh:after-refresh --name \"MyConnectedApp\" // Process specific app, no selection prompt",
8829
- "$ sf hardis:org:refresh:after-refresh --name \"App1,App2,App3\" // Process multiple apps, no selection prompt",
8830
- "$ sf hardis:org:refresh:after-refresh --all // Process all apps, no selection prompt",
8831
- "$ sf hardis:org:refresh:after-refresh --target-org myDevOrg"
8832
- ],
8833
- "flags": {
8834
- "json": {
8835
- "description": "Format output as json.",
8836
- "helpGroup": "GLOBAL",
8837
- "name": "json",
8838
- "allowNo": false,
8839
- "type": "boolean"
8840
- },
8841
- "flags-dir": {
8842
- "helpGroup": "GLOBAL",
8843
- "name": "flags-dir",
8844
- "summary": "Import flag values from a directory.",
8845
- "hasDynamicHelp": false,
8846
- "multiple": false,
8847
- "type": "option"
8848
- },
8849
- "target-org": {
8850
- "char": "o",
8851
- "name": "target-org",
8852
- "noCacheDefault": true,
8853
- "required": true,
8854
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8855
- "hasDynamicHelp": true,
8856
- "multiple": false,
8857
- "type": "option"
8858
- },
8859
- "name": {
8860
- "char": "n",
8861
- "description": "Connected App name(s) to process (bypasses selection prompt). For multiple apps, separate with commas (e.g., \"App1,App2\")",
8862
- "name": "name",
8863
- "summary": "Filter according to Name criteria",
8864
- "hasDynamicHelp": false,
8865
- "multiple": false,
8866
- "type": "option"
8867
- },
8868
- "all": {
8869
- "char": "a",
8870
- "description": "If set, all Connected Apps from the local repository will be processed. Takes precedence over --name if both are specified.",
8871
- "name": "all",
8872
- "summary": "Process all Connected Apps without selection prompt",
8873
- "allowNo": false,
8874
- "type": "boolean"
8875
- },
8876
- "websocket": {
8877
- "description": "WebSocket host:port for VS Code SFDX Hardis UI integration",
8878
- "name": "websocket",
8879
- "summary": "Websocket host:port for VsCode SFDX Hardis UI integration",
8880
- "hasDynamicHelp": false,
8881
- "multiple": false,
8882
- "type": "option"
8883
- },
8884
- "skipauth": {
8885
- "description": "Skip authentication check when a default username is required",
8886
- "name": "skipauth",
8887
- "summary": "Skip authentication check when a default username is required",
8888
- "allowNo": false,
8889
- "type": "boolean"
8890
- }
8891
- },
8892
- "hasDynamicHelp": true,
8893
- "hiddenAliases": [],
8894
- "id": "hardis:org:refresh:after-refresh",
8895
- "pluginAlias": "sfdx-hardis",
8896
- "pluginName": "sfdx-hardis",
8897
- "pluginType": "core",
8898
- "strict": true,
8899
- "enableJsonFlag": true,
8900
- "title": "Restore Connected Apps after org refresh",
8901
- "requiresProject": true,
8902
- "isESM": true,
8903
- "relativePath": [
8904
- "lib",
8905
- "commands",
8906
- "hardis",
8907
- "org",
8908
- "refresh",
8909
- "after-refresh.js"
8910
- ],
8911
- "aliasPermutations": [],
8912
- "permutations": [
8913
- "hardis:org:refresh:after-refresh",
8914
- "org:hardis:refresh:after-refresh",
8915
- "org:refresh:hardis:after-refresh",
8916
- "org:refresh:after-refresh:hardis",
8917
- "hardis:refresh:org:after-refresh",
8918
- "refresh:hardis:org:after-refresh",
8919
- "refresh:org:hardis:after-refresh",
8920
- "refresh:org:after-refresh:hardis",
8921
- "hardis:refresh:after-refresh:org",
8922
- "refresh:hardis:after-refresh:org",
8923
- "refresh:after-refresh:hardis:org",
8924
- "refresh:after-refresh:org:hardis",
8925
- "hardis:org:after-refresh:refresh",
8926
- "org:hardis:after-refresh:refresh",
8927
- "org:after-refresh:hardis:refresh",
8928
- "org:after-refresh:refresh:hardis",
8929
- "hardis:after-refresh:org:refresh",
8930
- "after-refresh:hardis:org:refresh",
8931
- "after-refresh:org:hardis:refresh",
8932
- "after-refresh:org:refresh:hardis",
8933
- "hardis:after-refresh:refresh:org",
8934
- "after-refresh:hardis:refresh:org",
8935
- "after-refresh:refresh:hardis:org",
8936
- "after-refresh:refresh:org:hardis"
8937
- ]
8938
- },
8939
- "hardis:org:refresh:before-refresh": {
8940
- "aliases": [],
8941
- "args": {},
8942
- "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",
8943
- "examples": [
8944
- "$ sf hardis:org:refresh:before-refresh",
8945
- "$ sf hardis:org:refresh:before-refresh --name \"MyConnectedApp\"",
8946
- "$ sf hardis:org:refresh:before-refresh --name \"App1,App2,App3\"",
8947
- "$ sf hardis:org:refresh:before-refresh --all",
8948
- "$ sf hardis:org:refresh:before-refresh --delete"
8949
- ],
8950
- "flags": {
8951
- "json": {
8952
- "description": "Format output as json.",
8953
- "helpGroup": "GLOBAL",
8954
- "name": "json",
8955
- "allowNo": false,
8956
- "type": "boolean"
8957
- },
8958
- "flags-dir": {
8959
- "helpGroup": "GLOBAL",
8960
- "name": "flags-dir",
8961
- "summary": "Import flag values from a directory.",
8962
- "hasDynamicHelp": false,
8963
- "multiple": false,
8964
- "type": "option"
8965
- },
8966
- "target-org": {
8967
- "char": "o",
8968
- "name": "target-org",
8969
- "noCacheDefault": true,
8970
- "required": true,
8971
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8972
- "hasDynamicHelp": true,
8973
- "multiple": false,
8974
- "type": "option"
8975
- },
8976
- "delete": {
8977
- "char": "d",
8978
- "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.",
8979
- "name": "delete",
8980
- "summary": "Delete Connected Apps from org after saving",
8981
- "allowNo": false,
8982
- "type": "boolean"
8983
- },
8984
- "name": {
8985
- "char": "n",
8986
- "description": "Connected App name(s) to process. For multiple apps, separate with commas (e.g., \"App1,App2\")",
8987
- "name": "name",
8988
- "summary": "Filter according to Name criteria",
8989
- "hasDynamicHelp": false,
8990
- "multiple": false,
8991
- "type": "option"
8992
- },
8993
- "all": {
8994
- "char": "a",
8995
- "description": "If set, all Connected Apps from the org will be processed. Takes precedence over --name if both are specified.",
8996
- "name": "all",
8997
- "summary": "Process all Connected Apps without selection prompt",
8998
- "allowNo": false,
8999
- "type": "boolean"
9000
- },
9001
- "websocket": {
9002
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9003
- "name": "websocket",
9004
- "hasDynamicHelp": false,
9005
- "multiple": false,
9006
- "type": "option"
9007
- },
9008
- "skipauth": {
9009
- "description": "Skip authentication check when a default username is required",
9010
- "name": "skipauth",
9011
- "allowNo": false,
9012
- "type": "boolean"
9013
- }
9014
- },
9015
- "hasDynamicHelp": true,
9016
- "hiddenAliases": [],
9017
- "id": "hardis:org:refresh:before-refresh",
9018
- "pluginAlias": "sfdx-hardis",
9019
- "pluginName": "sfdx-hardis",
9020
- "pluginType": "core",
9021
- "strict": true,
9022
- "enableJsonFlag": true,
9023
- "requiresProject": true,
9024
- "isESM": true,
9025
- "relativePath": [
9026
- "lib",
9027
- "commands",
9028
- "hardis",
9029
- "org",
9030
- "refresh",
9031
- "before-refresh.js"
9032
- ],
9033
- "aliasPermutations": [],
9034
- "permutations": [
9035
- "hardis:org:refresh:before-refresh",
9036
- "org:hardis:refresh:before-refresh",
9037
- "org:refresh:hardis:before-refresh",
9038
- "org:refresh:before-refresh:hardis",
9039
- "hardis:refresh:org:before-refresh",
9040
- "refresh:hardis:org:before-refresh",
9041
- "refresh:org:hardis:before-refresh",
9042
- "refresh:org:before-refresh:hardis",
9043
- "hardis:refresh:before-refresh:org",
9044
- "refresh:hardis:before-refresh:org",
9045
- "refresh:before-refresh:hardis:org",
9046
- "refresh:before-refresh:org:hardis",
9047
- "hardis:org:before-refresh:refresh",
9048
- "org:hardis:before-refresh:refresh",
9049
- "org:before-refresh:hardis:refresh",
9050
- "org:before-refresh:refresh:hardis",
9051
- "hardis:before-refresh:org:refresh",
9052
- "before-refresh:hardis:org:refresh",
9053
- "before-refresh:org:hardis:refresh",
9054
- "before-refresh:org:refresh:hardis",
9055
- "hardis:before-refresh:refresh:org",
9056
- "before-refresh:hardis:refresh:org",
9057
- "before-refresh:refresh:hardis:org",
9058
- "before-refresh:refresh:org:hardis"
9059
- ]
9060
- },
9061
9061
  "hardis:package:version:create": {
9062
9062
  "aliases": [],
9063
9063
  "args": {},
@@ -15505,5 +15505,5 @@
15505
15505
  ]
15506
15506
  }
15507
15507
  },
15508
- "version": "6.12.0"
15508
+ "version": "6.12.2"
15509
15509
  }