sfdx-hardis 5.39.1 → 5.40.1-beta202506151204.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/lib/commands/hardis/doc/override-prompts.d.ts +11 -0
  3. package/lib/commands/hardis/doc/override-prompts.js +164 -0
  4. package/lib/commands/hardis/doc/override-prompts.js.map +1 -0
  5. package/lib/commands/hardis/doc/project2markdown.d.ts +2 -0
  6. package/lib/commands/hardis/doc/project2markdown.js +32 -2
  7. package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
  8. package/lib/common/aiProvider/promptTemplates/PROMPT_COMPLETE_OBJECT_ATTRIBUTES_MD.js +1 -1
  9. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APEX.js +4 -10
  10. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APEX.js.map +1 -1
  11. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APPROVAL_PROCESS.js +4 -10
  12. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_APPROVAL_PROCESS.js.map +1 -1
  13. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ASSIGNMENT_RULES.js +4 -11
  14. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ASSIGNMENT_RULES.js.map +1 -1
  15. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_AUTORESPONSE_RULES.js +6 -12
  16. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_AUTORESPONSE_RULES.js.map +1 -1
  17. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ESCALATION_RULES.js +4 -10
  18. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ESCALATION_RULES.js.map +1 -1
  19. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW.js +4 -10
  20. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW.js.map +1 -1
  21. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW_DIFF.js +3 -8
  22. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_FLOW_DIFF.js.map +1 -1
  23. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_LWC.js +3 -7
  24. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_LWC.js.map +1 -1
  25. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_OBJECT.js +3 -8
  26. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_OBJECT.js.map +1 -1
  27. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.js +3 -8
  28. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PACKAGE.js.map +1 -1
  29. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PAGE.js +3 -8
  30. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PAGE.js.map +1 -1
  31. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET.js +4 -10
  32. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET.js.map +1 -1
  33. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET_GROUP.js +4 -10
  34. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PERMISSION_SET_GROUP.js.map +1 -1
  35. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PROFILE.js +3 -8
  36. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_PROFILE.js.map +1 -1
  37. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ROLES.d.ts +3 -0
  38. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ROLES.js +33 -0
  39. package/lib/common/aiProvider/promptTemplates/PROMPT_DESCRIBE_ROLES.js.map +1 -0
  40. package/lib/common/aiProvider/promptTemplates/PROMPT_SOLVE_DEPLOYMENT_ERROR.js +3 -9
  41. package/lib/common/aiProvider/promptTemplates/PROMPT_SOLVE_DEPLOYMENT_ERROR.js.map +1 -1
  42. package/lib/common/aiProvider/promptTemplates/VARIABLE_ADDITIONAL_INSTRUCTIONS.d.ts +3 -0
  43. package/lib/common/aiProvider/promptTemplates/VARIABLE_ADDITIONAL_INSTRUCTIONS.js +11 -0
  44. package/lib/common/aiProvider/promptTemplates/VARIABLE_ADDITIONAL_INSTRUCTIONS.js.map +1 -0
  45. package/lib/common/aiProvider/promptTemplates/VARIABLE_FORMATTING_REQUIREMENTS.d.ts +3 -0
  46. package/lib/common/aiProvider/promptTemplates/VARIABLE_FORMATTING_REQUIREMENTS.js +13 -0
  47. package/lib/common/aiProvider/promptTemplates/VARIABLE_FORMATTING_REQUIREMENTS.js.map +1 -0
  48. package/lib/common/aiProvider/promptTemplates/VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC.d.ts +3 -0
  49. package/lib/common/aiProvider/promptTemplates/VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC.js +8 -0
  50. package/lib/common/aiProvider/promptTemplates/VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC.js.map +1 -0
  51. package/lib/common/aiProvider/promptTemplates/index.js +2 -0
  52. package/lib/common/aiProvider/promptTemplates/index.js.map +1 -1
  53. package/lib/common/aiProvider/promptTemplates/variablesIndex.d.ts +3 -0
  54. package/lib/common/aiProvider/promptTemplates/variablesIndex.js +9 -0
  55. package/lib/common/aiProvider/promptTemplates/variablesIndex.js.map +1 -0
  56. package/lib/common/aiProvider/promptTemplates.d.ts +1 -1
  57. package/lib/common/aiProvider/promptTemplates.js +43 -2
  58. package/lib/common/aiProvider/promptTemplates.js.map +1 -1
  59. package/lib/common/docBuilder/docBuilderRoles.d.ts +9 -0
  60. package/lib/common/docBuilder/docBuilderRoles.js +105 -0
  61. package/lib/common/docBuilder/docBuilderRoles.js.map +1 -0
  62. package/lib/common/docBuilder/docBuilderRoot.js +2 -0
  63. package/lib/common/docBuilder/docBuilderRoot.js.map +1 -1
  64. package/oclif.lock +59 -72
  65. package/oclif.manifest.json +769 -690
  66. package/package.json +9 -9
@@ -57,13 +57,12 @@
57
57
  "world:hello"
58
58
  ]
59
59
  },
60
- "hardis:auth:login": {
60
+ "hardis:cache:clear": {
61
61
  "aliases": [],
62
62
  "args": {},
63
- "description": "\nLogins to a Salesforce org from CI/CD workflows.\n\nWill use the variables and files defined by configuration commands:\n\n- CI/CD repos: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n- Monitoring repos: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n\nIf you have a technical org (for example to call Agentforce from another org, you can define variable SFDX_AUTH_URL_TECHNICAL_ORG and it will authenticate it with alias TECHNICAL_ORG)\n\nYou can get SFDX_AUTH_URL_TECHNICAL_ORG value by running the command: `sf org display --verbose --json` and copy the value of the field `sfdxAuthUrl` in the output.\n",
63
+ "description": "Clear cache generated by sfdx-hardis",
64
64
  "examples": [
65
- "$ sf hardis:auth:login",
66
- "CI=true sf hardis:auth:login"
65
+ "$ sf hardis:cache:clear"
67
66
  ],
68
67
  "flags": {
69
68
  "json": {
@@ -81,28 +80,6 @@
81
80
  "multiple": false,
82
81
  "type": "option"
83
82
  },
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
- },
106
83
  "debug": {
107
84
  "char": "d",
108
85
  "description": "Activate debug mode (more logs)",
@@ -126,38 +103,38 @@
126
103
  },
127
104
  "hasDynamicHelp": false,
128
105
  "hiddenAliases": [],
129
- "id": "hardis:auth:login",
106
+ "id": "hardis:cache:clear",
130
107
  "pluginAlias": "sfdx-hardis",
131
108
  "pluginName": "sfdx-hardis",
132
109
  "pluginType": "core",
133
110
  "strict": true,
134
111
  "enableJsonFlag": true,
135
- "title": "Login",
112
+ "title": "Clear sfdx-hardis cache",
136
113
  "requiresProject": false,
137
114
  "isESM": true,
138
115
  "relativePath": [
139
116
  "lib",
140
117
  "commands",
141
118
  "hardis",
142
- "auth",
143
- "login.js"
119
+ "cache",
120
+ "clear.js"
144
121
  ],
145
122
  "aliasPermutations": [],
146
123
  "permutations": [
147
- "hardis:auth:login",
148
- "auth:hardis:login",
149
- "auth:login:hardis",
150
- "hardis:login:auth",
151
- "login:hardis:auth",
152
- "login:auth:hardis"
124
+ "hardis:cache:clear",
125
+ "cache:hardis:clear",
126
+ "cache:clear:hardis",
127
+ "hardis:clear:cache",
128
+ "clear:hardis:cache",
129
+ "clear:cache:hardis"
153
130
  ]
154
131
  },
155
- "hardis:cache:clear": {
132
+ "hardis:config:get": {
156
133
  "aliases": [],
157
134
  "args": {},
158
- "description": "Clear cache generated by sfdx-hardis",
135
+ "description": "Returns sfdx-hardis project config for a given level",
159
136
  "examples": [
160
- "$ sf hardis:cache:clear"
137
+ "$ sf hardis:project:deploy:sources:metadata"
161
138
  ],
162
139
  "flags": {
163
140
  "json": {
@@ -175,6 +152,20 @@
175
152
  "multiple": false,
176
153
  "type": "option"
177
154
  },
155
+ "level": {
156
+ "char": "l",
157
+ "description": "project,branch or user",
158
+ "name": "level",
159
+ "default": "project",
160
+ "hasDynamicHelp": false,
161
+ "multiple": false,
162
+ "options": [
163
+ "project",
164
+ "branch",
165
+ "user"
166
+ ],
167
+ "type": "option"
168
+ },
178
169
  "debug": {
179
170
  "char": "d",
180
171
  "description": "Activate debug mode (more logs)",
@@ -198,38 +189,39 @@
198
189
  },
199
190
  "hasDynamicHelp": false,
200
191
  "hiddenAliases": [],
201
- "id": "hardis:cache:clear",
192
+ "id": "hardis:config:get",
202
193
  "pluginAlias": "sfdx-hardis",
203
194
  "pluginName": "sfdx-hardis",
204
195
  "pluginType": "core",
205
196
  "strict": true,
206
197
  "enableJsonFlag": true,
207
- "title": "Clear sfdx-hardis cache",
198
+ "title": "Deploy metadata sources to org",
208
199
  "requiresProject": false,
209
200
  "isESM": true,
210
201
  "relativePath": [
211
202
  "lib",
212
203
  "commands",
213
204
  "hardis",
214
- "cache",
215
- "clear.js"
205
+ "config",
206
+ "get.js"
216
207
  ],
217
208
  "aliasPermutations": [],
218
209
  "permutations": [
219
- "hardis:cache:clear",
220
- "cache:hardis:clear",
221
- "cache:clear:hardis",
222
- "hardis:clear:cache",
223
- "clear:hardis:cache",
224
- "clear:cache:hardis"
210
+ "hardis:config:get",
211
+ "config:hardis:get",
212
+ "config:get:hardis",
213
+ "hardis:get:config",
214
+ "get:hardis:config",
215
+ "get:config:hardis"
225
216
  ]
226
217
  },
227
- "hardis:config:get": {
218
+ "hardis:auth:login": {
228
219
  "aliases": [],
229
220
  "args": {},
230
- "description": "Returns sfdx-hardis project config for a given level",
221
+ "description": "\nLogins to a Salesforce org from CI/CD workflows.\n\nWill use the variables and files defined by configuration commands:\n\n- CI/CD repos: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n- Monitoring repos: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n\nIf you have a technical org (for example to call Agentforce from another org, you can define variable SFDX_AUTH_URL_TECHNICAL_ORG and it will authenticate it with alias TECHNICAL_ORG)\n\nYou can get SFDX_AUTH_URL_TECHNICAL_ORG value by running the command: `sf org display --verbose --json` and copy the value of the field `sfdxAuthUrl` in the output.\n",
231
222
  "examples": [
232
- "$ sf hardis:project:deploy:sources:metadata"
223
+ "$ sf hardis:auth:login",
224
+ "CI=true sf hardis:auth:login"
233
225
  ],
234
226
  "flags": {
235
227
  "json": {
@@ -247,20 +239,28 @@
247
239
  "multiple": false,
248
240
  "type": "option"
249
241
  },
250
- "level": {
251
- "char": "l",
252
- "description": "project,branch or user",
253
- "name": "level",
254
- "default": "project",
242
+ "instanceurl": {
243
+ "char": "r",
244
+ "description": "URL of org instance",
245
+ "name": "instanceurl",
255
246
  "hasDynamicHelp": false,
256
247
  "multiple": false,
257
- "options": [
258
- "project",
259
- "branch",
260
- "user"
261
- ],
262
248
  "type": "option"
263
249
  },
250
+ "devhub": {
251
+ "char": "h",
252
+ "description": "Also connect associated DevHub",
253
+ "name": "devhub",
254
+ "allowNo": false,
255
+ "type": "boolean"
256
+ },
257
+ "scratchorg": {
258
+ "char": "s",
259
+ "description": "Scratch org",
260
+ "name": "scratchorg",
261
+ "allowNo": false,
262
+ "type": "boolean"
263
+ },
264
264
  "debug": {
265
265
  "char": "d",
266
266
  "description": "Activate debug mode (more logs)",
@@ -284,30 +284,30 @@
284
284
  },
285
285
  "hasDynamicHelp": false,
286
286
  "hiddenAliases": [],
287
- "id": "hardis:config:get",
287
+ "id": "hardis:auth:login",
288
288
  "pluginAlias": "sfdx-hardis",
289
289
  "pluginName": "sfdx-hardis",
290
290
  "pluginType": "core",
291
291
  "strict": true,
292
292
  "enableJsonFlag": true,
293
- "title": "Deploy metadata sources to org",
293
+ "title": "Login",
294
294
  "requiresProject": false,
295
295
  "isESM": true,
296
296
  "relativePath": [
297
297
  "lib",
298
298
  "commands",
299
299
  "hardis",
300
- "config",
301
- "get.js"
300
+ "auth",
301
+ "login.js"
302
302
  ],
303
303
  "aliasPermutations": [],
304
304
  "permutations": [
305
- "hardis:config:get",
306
- "config:hardis:get",
307
- "config:get:hardis",
308
- "hardis:get:config",
309
- "get:hardis:config",
310
- "get:config:hardis"
305
+ "hardis:auth:login",
306
+ "auth:hardis:login",
307
+ "auth:login:hardis",
308
+ "hardis:login:auth",
309
+ "login:hardis:auth",
310
+ "login:auth:hardis"
311
311
  ]
312
312
  },
313
313
  "hardis:doc:fieldusage": {
@@ -675,6 +675,85 @@
675
675
  "mkdocs-to-salesforce:doc:hardis"
676
676
  ]
677
677
  },
678
+ "hardis:doc:override-prompts": {
679
+ "aliases": [],
680
+ "args": {},
681
+ "description": "Create local override files for AI prompt templates and variables\n\nThis command creates a folder config/prompt-templates/ and copies all the default AI prompt templates and variables as .txt files that can be customized.\n\nThe templates are used by sfdx-hardis for:\n- Generating documentation with AI\n- Solving deployment errors\n- Describing Salesforce metadata\n\nThe variables contain common instruction patterns that are reused across multiple templates, such as:\n- Role definitions (business analyst, developer, etc.)\n- Formatting requirements for markdown output\n- Security caution instructions\n- Output format specifications\n\nYou can customize these prompts and variables to match your organization's specific needs and terminology.\n\nAfter running this command, you can modify any of the .txt files in config/prompt-templates/ to override the default prompts and variables.\n\n**Important**: Once created, existing template and variable files will never be overwritten with newer versions from sfdx-hardis updates, unless you explicitly use the --overwrite flag. This ensures your customizations are preserved.\n\nAvailable templates:\n- PROMPT_SOLVE_DEPLOYMENT_ERROR\n- PROMPT_DESCRIBE_FLOW\n- PROMPT_DESCRIBE_FLOW_DIFF\n- PROMPT_DESCRIBE_OBJECT\n- PROMPT_COMPLETE_OBJECT_ATTRIBUTES_MD\n- PROMPT_DESCRIBE_APEX\n- PROMPT_DESCRIBE_PAGE\n- PROMPT_DESCRIBE_PACKAGE\n- PROMPT_DESCRIBE_PROFILE\n- PROMPT_DESCRIBE_PERMISSION_SET\n- PROMPT_DESCRIBE_PERMISSION_SET_GROUP\n- PROMPT_DESCRIBE_ASSIGNMENT_RULES\n- PROMPT_DESCRIBE_APPROVAL_PROCESS\n- PROMPT_DESCRIBE_LWC\n- PROMPT_DESCRIBE_AUTORESPONSE_RULES\n- PROMPT_DESCRIBE_ESCALATION_RULES\n- PROMPT_DESCRIBE_ROLES\n\nAvailable variables:\n- VARIABLE_OUTPUT_FORMAT_MARKDOWN_DOC\n- VARIABLE_FORMATTING_REQUIREMENTS\n- VARIABLE_ADDITIONAL_INSTRUCTIONS\n\nMore info on [AI Prompts documentation](https://sfdx-hardis.cloudity.com/salesforce-ai-prompts/)\n",
682
+ "examples": [
683
+ "$ sf hardis:doc:override-prompts",
684
+ "$ sf hardis:doc:override-prompts --overwrite"
685
+ ],
686
+ "flags": {
687
+ "json": {
688
+ "description": "Format output as json.",
689
+ "helpGroup": "GLOBAL",
690
+ "name": "json",
691
+ "allowNo": false,
692
+ "type": "boolean"
693
+ },
694
+ "flags-dir": {
695
+ "helpGroup": "GLOBAL",
696
+ "name": "flags-dir",
697
+ "summary": "Import flag values from a directory.",
698
+ "hasDynamicHelp": false,
699
+ "multiple": false,
700
+ "type": "option"
701
+ },
702
+ "overwrite": {
703
+ "description": "Overwrite existing template files if they already exist",
704
+ "name": "overwrite",
705
+ "allowNo": false,
706
+ "type": "boolean"
707
+ },
708
+ "debug": {
709
+ "char": "d",
710
+ "description": "Activate debug mode (more logs)",
711
+ "name": "debug",
712
+ "allowNo": false,
713
+ "type": "boolean"
714
+ },
715
+ "websocket": {
716
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
717
+ "name": "websocket",
718
+ "hasDynamicHelp": false,
719
+ "multiple": false,
720
+ "type": "option"
721
+ },
722
+ "skipauth": {
723
+ "description": "Skip authentication check when a default username is required",
724
+ "name": "skipauth",
725
+ "allowNo": false,
726
+ "type": "boolean"
727
+ }
728
+ },
729
+ "hasDynamicHelp": false,
730
+ "hiddenAliases": [],
731
+ "id": "hardis:doc:override-prompts",
732
+ "pluginAlias": "sfdx-hardis",
733
+ "pluginName": "sfdx-hardis",
734
+ "pluginType": "core",
735
+ "strict": true,
736
+ "enableJsonFlag": true,
737
+ "title": "Override AI Prompt Templates",
738
+ "requiresProject": false,
739
+ "isESM": true,
740
+ "relativePath": [
741
+ "lib",
742
+ "commands",
743
+ "hardis",
744
+ "doc",
745
+ "override-prompts.js"
746
+ ],
747
+ "aliasPermutations": [],
748
+ "permutations": [
749
+ "hardis:doc:override-prompts",
750
+ "doc:hardis:override-prompts",
751
+ "doc:override-prompts:hardis",
752
+ "hardis:override-prompts:doc",
753
+ "override-prompts:hardis:doc",
754
+ "override-prompts:doc:hardis"
755
+ ]
756
+ },
678
757
  "hardis:doc:packagexml2markdown": {
679
758
  "aliases": [],
680
759
  "args": {},
@@ -7888,12 +7967,14 @@
7888
7967
  "packageconfig:retrieve:org:hardis"
7889
7968
  ]
7890
7969
  },
7891
- "hardis:org:test:apex": {
7970
+ "hardis:org:user:activateinvalid": {
7892
7971
  "aliases": [],
7893
7972
  "args": {},
7894
- "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",
7973
+ "description": "Update sandbox users so their email is valid\n\n Example: replaces `toto@company.com.dev.invalid` with `toto@company.com.dev.invalid`\n\nSee article below\n\n[![Reactivate all the sandbox users with .invalid emails in 3 clicks](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-email.jpg)](https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d)\n",
7895
7974
  "examples": [
7896
- "$ sf hardis:org:test:apex"
7975
+ "$ sf hardis:org:user:activateinvalid",
7976
+ "$ sf hardis:org:user:activateinvalid --target-org my-user@myorg.com",
7977
+ "$ sf hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --target-org my-user@myorg.com"
7897
7978
  ],
7898
7979
  "flags": {
7899
7980
  "json": {
@@ -7911,19 +7992,12 @@
7911
7992
  "multiple": false,
7912
7993
  "type": "option"
7913
7994
  },
7914
- "testlevel": {
7915
- "char": "l",
7916
- "description": "Level of tests to apply to validate deployment",
7917
- "name": "testlevel",
7918
- "default": "RunLocalTests",
7995
+ "profiles": {
7996
+ "char": "p",
7997
+ "description": "Comma-separated list of profiles names that you want to reactive users assigned to and with a .invalid email",
7998
+ "name": "profiles",
7919
7999
  "hasDynamicHelp": false,
7920
8000
  "multiple": false,
7921
- "options": [
7922
- "NoTestRun",
7923
- "RunSpecifiedTests",
7924
- "RunLocalTests",
7925
- "RunAllTestsInOrg"
7926
- ],
7927
8001
  "type": "option"
7928
8002
  },
7929
8003
  "debug": {
@@ -7964,137 +8038,22 @@
7964
8038
  },
7965
8039
  "hasDynamicHelp": true,
7966
8040
  "hiddenAliases": [],
7967
- "id": "hardis:org:test:apex",
8041
+ "id": "hardis:org:user:activateinvalid",
7968
8042
  "pluginAlias": "sfdx-hardis",
7969
8043
  "pluginName": "sfdx-hardis",
7970
8044
  "pluginType": "core",
7971
8045
  "strict": true,
7972
8046
  "enableJsonFlag": true,
7973
- "title": "Run apex tests",
8047
+ "title": "Reactivate sandbox invalid users",
8048
+ "requiresProject": false,
7974
8049
  "isESM": true,
7975
8050
  "relativePath": [
7976
8051
  "lib",
7977
8052
  "commands",
7978
8053
  "hardis",
7979
8054
  "org",
7980
- "test",
7981
- "apex.js"
7982
- ],
7983
- "aliasPermutations": [],
7984
- "permutations": [
7985
- "hardis:org:test:apex",
7986
- "org:hardis:test:apex",
7987
- "org:test:hardis:apex",
7988
- "org:test:apex:hardis",
7989
- "hardis:test:org:apex",
7990
- "test:hardis:org:apex",
7991
- "test:org:hardis:apex",
7992
- "test:org:apex:hardis",
7993
- "hardis:test:apex:org",
7994
- "test:hardis:apex:org",
7995
- "test:apex:hardis:org",
7996
- "test:apex:org:hardis",
7997
- "hardis:org:apex:test",
7998
- "org:hardis:apex:test",
7999
- "org:apex:hardis:test",
8000
- "org:apex:test:hardis",
8001
- "hardis:apex:org:test",
8002
- "apex:hardis:org:test",
8003
- "apex:org:hardis:test",
8004
- "apex:org:test:hardis",
8005
- "hardis:apex:test:org",
8006
- "apex:hardis:test:org",
8007
- "apex:test:hardis:org",
8008
- "apex:test:org:hardis"
8009
- ]
8010
- },
8011
- "hardis:org:user:activateinvalid": {
8012
- "aliases": [],
8013
- "args": {},
8014
- "description": "Update sandbox users so their email is valid\n\n Example: replaces `toto@company.com.dev.invalid` with `toto@company.com.dev.invalid`\n\nSee article below\n\n[![Reactivate all the sandbox users with .invalid emails in 3 clicks](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-invalid-email.jpg)](https://nicolas.vuillamy.fr/reactivate-all-the-sandbox-users-with-invalid-emails-in-3-clicks-2265af4e3a3d)\n",
8015
- "examples": [
8016
- "$ sf hardis:org:user:activateinvalid",
8017
- "$ sf hardis:org:user:activateinvalid --target-org my-user@myorg.com",
8018
- "$ sf hardis:org:user:activateinvalid --profiles 'System Administrator,MyCustomProfile' --target-org my-user@myorg.com"
8019
- ],
8020
- "flags": {
8021
- "json": {
8022
- "description": "Format output as json.",
8023
- "helpGroup": "GLOBAL",
8024
- "name": "json",
8025
- "allowNo": false,
8026
- "type": "boolean"
8027
- },
8028
- "flags-dir": {
8029
- "helpGroup": "GLOBAL",
8030
- "name": "flags-dir",
8031
- "summary": "Import flag values from a directory.",
8032
- "hasDynamicHelp": false,
8033
- "multiple": false,
8034
- "type": "option"
8035
- },
8036
- "profiles": {
8037
- "char": "p",
8038
- "description": "Comma-separated list of profiles names that you want to reactive users assigned to and with a .invalid email",
8039
- "name": "profiles",
8040
- "hasDynamicHelp": false,
8041
- "multiple": false,
8042
- "type": "option"
8043
- },
8044
- "debug": {
8045
- "char": "d",
8046
- "description": "Activate debug mode (more logs)",
8047
- "name": "debug",
8048
- "allowNo": false,
8049
- "type": "boolean"
8050
- },
8051
- "websocket": {
8052
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
8053
- "name": "websocket",
8054
- "hasDynamicHelp": false,
8055
- "multiple": false,
8056
- "type": "option"
8057
- },
8058
- "skipauth": {
8059
- "description": "Skip authentication check when a default username is required",
8060
- "name": "skipauth",
8061
- "allowNo": false,
8062
- "type": "boolean"
8063
- },
8064
- "target-org": {
8065
- "aliases": [
8066
- "targetusername",
8067
- "u"
8068
- ],
8069
- "char": "o",
8070
- "deprecateAliases": true,
8071
- "name": "target-org",
8072
- "noCacheDefault": true,
8073
- "required": true,
8074
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8075
- "hasDynamicHelp": true,
8076
- "multiple": false,
8077
- "type": "option"
8078
- }
8079
- },
8080
- "hasDynamicHelp": true,
8081
- "hiddenAliases": [],
8082
- "id": "hardis:org:user:activateinvalid",
8083
- "pluginAlias": "sfdx-hardis",
8084
- "pluginName": "sfdx-hardis",
8085
- "pluginType": "core",
8086
- "strict": true,
8087
- "enableJsonFlag": true,
8088
- "title": "Reactivate sandbox invalid users",
8089
- "requiresProject": false,
8090
- "isESM": true,
8091
- "relativePath": [
8092
- "lib",
8093
- "commands",
8094
- "hardis",
8095
- "org",
8096
- "user",
8097
- "activateinvalid.js"
8055
+ "user",
8056
+ "activateinvalid.js"
8098
8057
  ],
8099
8058
  "aliasPermutations": [],
8100
8059
  "permutations": [
@@ -8408,6 +8367,126 @@
8408
8367
  "unfreeze:user:org:hardis"
8409
8368
  ]
8410
8369
  },
8370
+ "hardis:org:test:apex": {
8371
+ "aliases": [],
8372
+ "args": {},
8373
+ "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",
8374
+ "examples": [
8375
+ "$ sf hardis:org:test:apex"
8376
+ ],
8377
+ "flags": {
8378
+ "json": {
8379
+ "description": "Format output as json.",
8380
+ "helpGroup": "GLOBAL",
8381
+ "name": "json",
8382
+ "allowNo": false,
8383
+ "type": "boolean"
8384
+ },
8385
+ "flags-dir": {
8386
+ "helpGroup": "GLOBAL",
8387
+ "name": "flags-dir",
8388
+ "summary": "Import flag values from a directory.",
8389
+ "hasDynamicHelp": false,
8390
+ "multiple": false,
8391
+ "type": "option"
8392
+ },
8393
+ "testlevel": {
8394
+ "char": "l",
8395
+ "description": "Level of tests to apply to validate deployment",
8396
+ "name": "testlevel",
8397
+ "default": "RunLocalTests",
8398
+ "hasDynamicHelp": false,
8399
+ "multiple": false,
8400
+ "options": [
8401
+ "NoTestRun",
8402
+ "RunSpecifiedTests",
8403
+ "RunLocalTests",
8404
+ "RunAllTestsInOrg"
8405
+ ],
8406
+ "type": "option"
8407
+ },
8408
+ "debug": {
8409
+ "char": "d",
8410
+ "description": "Activate debug mode (more logs)",
8411
+ "name": "debug",
8412
+ "allowNo": false,
8413
+ "type": "boolean"
8414
+ },
8415
+ "websocket": {
8416
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
8417
+ "name": "websocket",
8418
+ "hasDynamicHelp": false,
8419
+ "multiple": false,
8420
+ "type": "option"
8421
+ },
8422
+ "skipauth": {
8423
+ "description": "Skip authentication check when a default username is required",
8424
+ "name": "skipauth",
8425
+ "allowNo": false,
8426
+ "type": "boolean"
8427
+ },
8428
+ "target-org": {
8429
+ "aliases": [
8430
+ "targetusername",
8431
+ "u"
8432
+ ],
8433
+ "char": "o",
8434
+ "deprecateAliases": true,
8435
+ "name": "target-org",
8436
+ "noCacheDefault": true,
8437
+ "required": true,
8438
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8439
+ "hasDynamicHelp": true,
8440
+ "multiple": false,
8441
+ "type": "option"
8442
+ }
8443
+ },
8444
+ "hasDynamicHelp": true,
8445
+ "hiddenAliases": [],
8446
+ "id": "hardis:org:test:apex",
8447
+ "pluginAlias": "sfdx-hardis",
8448
+ "pluginName": "sfdx-hardis",
8449
+ "pluginType": "core",
8450
+ "strict": true,
8451
+ "enableJsonFlag": true,
8452
+ "title": "Run apex tests",
8453
+ "isESM": true,
8454
+ "relativePath": [
8455
+ "lib",
8456
+ "commands",
8457
+ "hardis",
8458
+ "org",
8459
+ "test",
8460
+ "apex.js"
8461
+ ],
8462
+ "aliasPermutations": [],
8463
+ "permutations": [
8464
+ "hardis:org:test:apex",
8465
+ "org:hardis:test:apex",
8466
+ "org:test:hardis:apex",
8467
+ "org:test:apex:hardis",
8468
+ "hardis:test:org:apex",
8469
+ "test:hardis:org:apex",
8470
+ "test:org:hardis:apex",
8471
+ "test:org:apex:hardis",
8472
+ "hardis:test:apex:org",
8473
+ "test:hardis:apex:org",
8474
+ "test:apex:hardis:org",
8475
+ "test:apex:org:hardis",
8476
+ "hardis:org:apex:test",
8477
+ "org:hardis:apex:test",
8478
+ "org:apex:hardis:test",
8479
+ "org:apex:test:hardis",
8480
+ "hardis:apex:org:test",
8481
+ "apex:hardis:org:test",
8482
+ "apex:org:hardis:test",
8483
+ "apex:org:test:hardis",
8484
+ "hardis:apex:test:org",
8485
+ "apex:hardis:test:org",
8486
+ "apex:test:hardis:org",
8487
+ "apex:test:org:hardis"
8488
+ ]
8489
+ },
8411
8490
  "hardis:package:version:create": {
8412
8491
  "aliases": [],
8413
8492
  "args": {},
@@ -9166,12 +9245,12 @@
9166
9245
  "remotesites:audit:project:hardis"
9167
9246
  ]
9168
9247
  },
9169
- "hardis:project:clean:emptyitems": {
9248
+ "hardis:project:configure:auth": {
9170
9249
  "aliases": [],
9171
9250
  "args": {},
9172
- "description": "Remove unwanted empty items within sfdx project sources",
9251
+ "description": "Configure authentication from git branch to target org",
9173
9252
  "examples": [
9174
- "$ sf hardis:project:clean:emptyitems"
9253
+ "$ sf hardis:project:configure:auth"
9175
9254
  ],
9176
9255
  "flags": {
9177
9256
  "json": {
@@ -9189,14 +9268,12 @@
9189
9268
  "multiple": false,
9190
9269
  "type": "option"
9191
9270
  },
9192
- "folder": {
9193
- "char": "f",
9194
- "description": "Root folder",
9195
- "name": "folder",
9196
- "default": "force-app",
9197
- "hasDynamicHelp": false,
9198
- "multiple": false,
9199
- "type": "option"
9271
+ "devhub": {
9272
+ "char": "b",
9273
+ "description": "Configure project DevHub",
9274
+ "name": "devhub",
9275
+ "allowNo": false,
9276
+ "type": "boolean"
9200
9277
  },
9201
9278
  "debug": {
9202
9279
  "char": "d",
@@ -9217,21 +9294,255 @@
9217
9294
  "name": "skipauth",
9218
9295
  "allowNo": false,
9219
9296
  "type": "boolean"
9220
- }
9221
- },
9222
- "hasDynamicHelp": false,
9223
- "hiddenAliases": [],
9224
- "id": "hardis:project:clean:emptyitems",
9225
- "pluginAlias": "sfdx-hardis",
9226
- "pluginName": "sfdx-hardis",
9227
- "pluginType": "core",
9228
- "strict": true,
9229
- "enableJsonFlag": true,
9230
- "title": "Clean retrieved empty items in dx sources",
9231
- "requiresProject": true,
9232
- "isESM": true,
9233
- "relativePath": [
9234
- "lib",
9297
+ },
9298
+ "target-org": {
9299
+ "aliases": [
9300
+ "targetusername",
9301
+ "u"
9302
+ ],
9303
+ "char": "o",
9304
+ "deprecateAliases": true,
9305
+ "name": "target-org",
9306
+ "noCacheDefault": true,
9307
+ "summary": "Username or alias of the target org.",
9308
+ "hasDynamicHelp": true,
9309
+ "multiple": false,
9310
+ "type": "option"
9311
+ },
9312
+ "target-dev-hub": {
9313
+ "aliases": [
9314
+ "targetdevhubusername"
9315
+ ],
9316
+ "char": "v",
9317
+ "deprecateAliases": true,
9318
+ "name": "target-dev-hub",
9319
+ "noCacheDefault": true,
9320
+ "required": false,
9321
+ "summary": "Username or alias of the Dev Hub org.",
9322
+ "hasDynamicHelp": true,
9323
+ "multiple": false,
9324
+ "type": "option"
9325
+ }
9326
+ },
9327
+ "hasDynamicHelp": true,
9328
+ "hiddenAliases": [],
9329
+ "id": "hardis:project:configure:auth",
9330
+ "pluginAlias": "sfdx-hardis",
9331
+ "pluginName": "sfdx-hardis",
9332
+ "pluginType": "core",
9333
+ "strict": true,
9334
+ "enableJsonFlag": true,
9335
+ "title": "Configure authentication",
9336
+ "requiresProject": false,
9337
+ "requiresDependencies": [
9338
+ "openssl"
9339
+ ],
9340
+ "isESM": true,
9341
+ "relativePath": [
9342
+ "lib",
9343
+ "commands",
9344
+ "hardis",
9345
+ "project",
9346
+ "configure",
9347
+ "auth.js"
9348
+ ],
9349
+ "aliasPermutations": [],
9350
+ "permutations": [
9351
+ "hardis:project:configure:auth",
9352
+ "project:hardis:configure:auth",
9353
+ "project:configure:hardis:auth",
9354
+ "project:configure:auth:hardis",
9355
+ "hardis:configure:project:auth",
9356
+ "configure:hardis:project:auth",
9357
+ "configure:project:hardis:auth",
9358
+ "configure:project:auth:hardis",
9359
+ "hardis:configure:auth:project",
9360
+ "configure:hardis:auth:project",
9361
+ "configure:auth:hardis:project",
9362
+ "configure:auth:project:hardis",
9363
+ "hardis:project:auth:configure",
9364
+ "project:hardis:auth:configure",
9365
+ "project:auth:hardis:configure",
9366
+ "project:auth:configure:hardis",
9367
+ "hardis:auth:project:configure",
9368
+ "auth:hardis:project:configure",
9369
+ "auth:project:hardis:configure",
9370
+ "auth:project:configure:hardis",
9371
+ "hardis:auth:configure:project",
9372
+ "auth:hardis:configure:project",
9373
+ "auth:configure:hardis:project",
9374
+ "auth:configure:project:hardis"
9375
+ ]
9376
+ },
9377
+ "hardis:project:convert:profilestopermsets": {
9378
+ "aliases": [],
9379
+ "args": {},
9380
+ "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
9381
+ "examples": [
9382
+ "$ sf hardis:project:convert:profilestopermsets"
9383
+ ],
9384
+ "flags": {
9385
+ "json": {
9386
+ "description": "Format output as json.",
9387
+ "helpGroup": "GLOBAL",
9388
+ "name": "json",
9389
+ "allowNo": false,
9390
+ "type": "boolean"
9391
+ },
9392
+ "flags-dir": {
9393
+ "helpGroup": "GLOBAL",
9394
+ "name": "flags-dir",
9395
+ "summary": "Import flag values from a directory.",
9396
+ "hasDynamicHelp": false,
9397
+ "multiple": false,
9398
+ "type": "option"
9399
+ },
9400
+ "except": {
9401
+ "char": "e",
9402
+ "description": "List of filters",
9403
+ "name": "except",
9404
+ "default": [],
9405
+ "hasDynamicHelp": false,
9406
+ "multiple": true,
9407
+ "type": "option"
9408
+ },
9409
+ "debug": {
9410
+ "char": "d",
9411
+ "description": "Activate debug mode (more logs)",
9412
+ "name": "debug",
9413
+ "allowNo": false,
9414
+ "type": "boolean"
9415
+ },
9416
+ "websocket": {
9417
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9418
+ "name": "websocket",
9419
+ "hasDynamicHelp": false,
9420
+ "multiple": false,
9421
+ "type": "option"
9422
+ },
9423
+ "skipauth": {
9424
+ "description": "Skip authentication check when a default username is required",
9425
+ "name": "skipauth",
9426
+ "allowNo": false,
9427
+ "type": "boolean"
9428
+ }
9429
+ },
9430
+ "hasDynamicHelp": false,
9431
+ "hiddenAliases": [],
9432
+ "id": "hardis:project:convert:profilestopermsets",
9433
+ "pluginAlias": "sfdx-hardis",
9434
+ "pluginName": "sfdx-hardis",
9435
+ "pluginType": "core",
9436
+ "strict": true,
9437
+ "enableJsonFlag": true,
9438
+ "title": "Convert Profiles into Permission Sets",
9439
+ "requiresProject": true,
9440
+ "requiresSfdxPlugins": [
9441
+ "shane-sfdx-plugins"
9442
+ ],
9443
+ "isESM": true,
9444
+ "relativePath": [
9445
+ "lib",
9446
+ "commands",
9447
+ "hardis",
9448
+ "project",
9449
+ "convert",
9450
+ "profilestopermsets.js"
9451
+ ],
9452
+ "aliasPermutations": [],
9453
+ "permutations": [
9454
+ "hardis:project:convert:profilestopermsets",
9455
+ "project:hardis:convert:profilestopermsets",
9456
+ "project:convert:hardis:profilestopermsets",
9457
+ "project:convert:profilestopermsets:hardis",
9458
+ "hardis:convert:project:profilestopermsets",
9459
+ "convert:hardis:project:profilestopermsets",
9460
+ "convert:project:hardis:profilestopermsets",
9461
+ "convert:project:profilestopermsets:hardis",
9462
+ "hardis:convert:profilestopermsets:project",
9463
+ "convert:hardis:profilestopermsets:project",
9464
+ "convert:profilestopermsets:hardis:project",
9465
+ "convert:profilestopermsets:project:hardis",
9466
+ "hardis:project:profilestopermsets:convert",
9467
+ "project:hardis:profilestopermsets:convert",
9468
+ "project:profilestopermsets:hardis:convert",
9469
+ "project:profilestopermsets:convert:hardis",
9470
+ "hardis:profilestopermsets:project:convert",
9471
+ "profilestopermsets:hardis:project:convert",
9472
+ "profilestopermsets:project:hardis:convert",
9473
+ "profilestopermsets:project:convert:hardis",
9474
+ "hardis:profilestopermsets:convert:project",
9475
+ "profilestopermsets:hardis:convert:project",
9476
+ "profilestopermsets:convert:hardis:project",
9477
+ "profilestopermsets:convert:project:hardis"
9478
+ ]
9479
+ },
9480
+ "hardis:project:clean:emptyitems": {
9481
+ "aliases": [],
9482
+ "args": {},
9483
+ "description": "Remove unwanted empty items within sfdx project sources",
9484
+ "examples": [
9485
+ "$ sf hardis:project:clean:emptyitems"
9486
+ ],
9487
+ "flags": {
9488
+ "json": {
9489
+ "description": "Format output as json.",
9490
+ "helpGroup": "GLOBAL",
9491
+ "name": "json",
9492
+ "allowNo": false,
9493
+ "type": "boolean"
9494
+ },
9495
+ "flags-dir": {
9496
+ "helpGroup": "GLOBAL",
9497
+ "name": "flags-dir",
9498
+ "summary": "Import flag values from a directory.",
9499
+ "hasDynamicHelp": false,
9500
+ "multiple": false,
9501
+ "type": "option"
9502
+ },
9503
+ "folder": {
9504
+ "char": "f",
9505
+ "description": "Root folder",
9506
+ "name": "folder",
9507
+ "default": "force-app",
9508
+ "hasDynamicHelp": false,
9509
+ "multiple": false,
9510
+ "type": "option"
9511
+ },
9512
+ "debug": {
9513
+ "char": "d",
9514
+ "description": "Activate debug mode (more logs)",
9515
+ "name": "debug",
9516
+ "allowNo": false,
9517
+ "type": "boolean"
9518
+ },
9519
+ "websocket": {
9520
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9521
+ "name": "websocket",
9522
+ "hasDynamicHelp": false,
9523
+ "multiple": false,
9524
+ "type": "option"
9525
+ },
9526
+ "skipauth": {
9527
+ "description": "Skip authentication check when a default username is required",
9528
+ "name": "skipauth",
9529
+ "allowNo": false,
9530
+ "type": "boolean"
9531
+ }
9532
+ },
9533
+ "hasDynamicHelp": false,
9534
+ "hiddenAliases": [],
9535
+ "id": "hardis:project:clean:emptyitems",
9536
+ "pluginAlias": "sfdx-hardis",
9537
+ "pluginName": "sfdx-hardis",
9538
+ "pluginType": "core",
9539
+ "strict": true,
9540
+ "enableJsonFlag": true,
9541
+ "title": "Clean retrieved empty items in dx sources",
9542
+ "requiresProject": true,
9543
+ "isESM": true,
9544
+ "relativePath": [
9545
+ "lib",
9235
9546
  "commands",
9236
9547
  "hardis",
9237
9548
  "project",
@@ -10651,242 +10962,10 @@
10651
10962
  "xml:clean:project:hardis"
10652
10963
  ]
10653
10964
  },
10654
- "hardis:project:configure:auth": {
10965
+ "hardis:project:deploy:notify": {
10655
10966
  "aliases": [],
10656
10967
  "args": {},
10657
- "description": "Configure authentication from git branch to target org",
10658
- "examples": [
10659
- "$ sf hardis:project:configure:auth"
10660
- ],
10661
- "flags": {
10662
- "json": {
10663
- "description": "Format output as json.",
10664
- "helpGroup": "GLOBAL",
10665
- "name": "json",
10666
- "allowNo": false,
10667
- "type": "boolean"
10668
- },
10669
- "flags-dir": {
10670
- "helpGroup": "GLOBAL",
10671
- "name": "flags-dir",
10672
- "summary": "Import flag values from a directory.",
10673
- "hasDynamicHelp": false,
10674
- "multiple": false,
10675
- "type": "option"
10676
- },
10677
- "devhub": {
10678
- "char": "b",
10679
- "description": "Configure project DevHub",
10680
- "name": "devhub",
10681
- "allowNo": false,
10682
- "type": "boolean"
10683
- },
10684
- "debug": {
10685
- "char": "d",
10686
- "description": "Activate debug mode (more logs)",
10687
- "name": "debug",
10688
- "allowNo": false,
10689
- "type": "boolean"
10690
- },
10691
- "websocket": {
10692
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
10693
- "name": "websocket",
10694
- "hasDynamicHelp": false,
10695
- "multiple": false,
10696
- "type": "option"
10697
- },
10698
- "skipauth": {
10699
- "description": "Skip authentication check when a default username is required",
10700
- "name": "skipauth",
10701
- "allowNo": false,
10702
- "type": "boolean"
10703
- },
10704
- "target-org": {
10705
- "aliases": [
10706
- "targetusername",
10707
- "u"
10708
- ],
10709
- "char": "o",
10710
- "deprecateAliases": true,
10711
- "name": "target-org",
10712
- "noCacheDefault": true,
10713
- "summary": "Username or alias of the target org.",
10714
- "hasDynamicHelp": true,
10715
- "multiple": false,
10716
- "type": "option"
10717
- },
10718
- "target-dev-hub": {
10719
- "aliases": [
10720
- "targetdevhubusername"
10721
- ],
10722
- "char": "v",
10723
- "deprecateAliases": true,
10724
- "name": "target-dev-hub",
10725
- "noCacheDefault": true,
10726
- "required": false,
10727
- "summary": "Username or alias of the Dev Hub org.",
10728
- "hasDynamicHelp": true,
10729
- "multiple": false,
10730
- "type": "option"
10731
- }
10732
- },
10733
- "hasDynamicHelp": true,
10734
- "hiddenAliases": [],
10735
- "id": "hardis:project:configure:auth",
10736
- "pluginAlias": "sfdx-hardis",
10737
- "pluginName": "sfdx-hardis",
10738
- "pluginType": "core",
10739
- "strict": true,
10740
- "enableJsonFlag": true,
10741
- "title": "Configure authentication",
10742
- "requiresProject": false,
10743
- "requiresDependencies": [
10744
- "openssl"
10745
- ],
10746
- "isESM": true,
10747
- "relativePath": [
10748
- "lib",
10749
- "commands",
10750
- "hardis",
10751
- "project",
10752
- "configure",
10753
- "auth.js"
10754
- ],
10755
- "aliasPermutations": [],
10756
- "permutations": [
10757
- "hardis:project:configure:auth",
10758
- "project:hardis:configure:auth",
10759
- "project:configure:hardis:auth",
10760
- "project:configure:auth:hardis",
10761
- "hardis:configure:project:auth",
10762
- "configure:hardis:project:auth",
10763
- "configure:project:hardis:auth",
10764
- "configure:project:auth:hardis",
10765
- "hardis:configure:auth:project",
10766
- "configure:hardis:auth:project",
10767
- "configure:auth:hardis:project",
10768
- "configure:auth:project:hardis",
10769
- "hardis:project:auth:configure",
10770
- "project:hardis:auth:configure",
10771
- "project:auth:hardis:configure",
10772
- "project:auth:configure:hardis",
10773
- "hardis:auth:project:configure",
10774
- "auth:hardis:project:configure",
10775
- "auth:project:hardis:configure",
10776
- "auth:project:configure:hardis",
10777
- "hardis:auth:configure:project",
10778
- "auth:hardis:configure:project",
10779
- "auth:configure:hardis:project",
10780
- "auth:configure:project:hardis"
10781
- ]
10782
- },
10783
- "hardis:project:convert:profilestopermsets": {
10784
- "aliases": [],
10785
- "args": {},
10786
- "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
10787
- "examples": [
10788
- "$ sf hardis:project:convert:profilestopermsets"
10789
- ],
10790
- "flags": {
10791
- "json": {
10792
- "description": "Format output as json.",
10793
- "helpGroup": "GLOBAL",
10794
- "name": "json",
10795
- "allowNo": false,
10796
- "type": "boolean"
10797
- },
10798
- "flags-dir": {
10799
- "helpGroup": "GLOBAL",
10800
- "name": "flags-dir",
10801
- "summary": "Import flag values from a directory.",
10802
- "hasDynamicHelp": false,
10803
- "multiple": false,
10804
- "type": "option"
10805
- },
10806
- "except": {
10807
- "char": "e",
10808
- "description": "List of filters",
10809
- "name": "except",
10810
- "default": [],
10811
- "hasDynamicHelp": false,
10812
- "multiple": true,
10813
- "type": "option"
10814
- },
10815
- "debug": {
10816
- "char": "d",
10817
- "description": "Activate debug mode (more logs)",
10818
- "name": "debug",
10819
- "allowNo": false,
10820
- "type": "boolean"
10821
- },
10822
- "websocket": {
10823
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
10824
- "name": "websocket",
10825
- "hasDynamicHelp": false,
10826
- "multiple": false,
10827
- "type": "option"
10828
- },
10829
- "skipauth": {
10830
- "description": "Skip authentication check when a default username is required",
10831
- "name": "skipauth",
10832
- "allowNo": false,
10833
- "type": "boolean"
10834
- }
10835
- },
10836
- "hasDynamicHelp": false,
10837
- "hiddenAliases": [],
10838
- "id": "hardis:project:convert:profilestopermsets",
10839
- "pluginAlias": "sfdx-hardis",
10840
- "pluginName": "sfdx-hardis",
10841
- "pluginType": "core",
10842
- "strict": true,
10843
- "enableJsonFlag": true,
10844
- "title": "Convert Profiles into Permission Sets",
10845
- "requiresProject": true,
10846
- "requiresSfdxPlugins": [
10847
- "shane-sfdx-plugins"
10848
- ],
10849
- "isESM": true,
10850
- "relativePath": [
10851
- "lib",
10852
- "commands",
10853
- "hardis",
10854
- "project",
10855
- "convert",
10856
- "profilestopermsets.js"
10857
- ],
10858
- "aliasPermutations": [],
10859
- "permutations": [
10860
- "hardis:project:convert:profilestopermsets",
10861
- "project:hardis:convert:profilestopermsets",
10862
- "project:convert:hardis:profilestopermsets",
10863
- "project:convert:profilestopermsets:hardis",
10864
- "hardis:convert:project:profilestopermsets",
10865
- "convert:hardis:project:profilestopermsets",
10866
- "convert:project:hardis:profilestopermsets",
10867
- "convert:project:profilestopermsets:hardis",
10868
- "hardis:convert:profilestopermsets:project",
10869
- "convert:hardis:profilestopermsets:project",
10870
- "convert:profilestopermsets:hardis:project",
10871
- "convert:profilestopermsets:project:hardis",
10872
- "hardis:project:profilestopermsets:convert",
10873
- "project:hardis:profilestopermsets:convert",
10874
- "project:profilestopermsets:hardis:convert",
10875
- "project:profilestopermsets:convert:hardis",
10876
- "hardis:profilestopermsets:project:convert",
10877
- "profilestopermsets:hardis:project:convert",
10878
- "profilestopermsets:project:hardis:convert",
10879
- "profilestopermsets:project:convert:hardis",
10880
- "hardis:profilestopermsets:convert:project",
10881
- "profilestopermsets:hardis:convert:project",
10882
- "profilestopermsets:convert:hardis:project",
10883
- "profilestopermsets:convert:project:hardis"
10884
- ]
10885
- },
10886
- "hardis:project:deploy:notify": {
10887
- "aliases": [],
10888
- "args": {},
10889
- "description": "Post notifications related to:\n\n- **Deployment simulation** _(use with --check-only)_\n\n- **Deployment process** _(to call only if your deployment is successful)_\n\n### Integrations\n\nAccording to the [integrations you configured](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-home/), notifications can contain deployment information and [Flow Visual Git Diff](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-home/#flow-visual-git-diff)\n\n - GitHub, Gitlab, Azure DevOps, Bitbucket comments on Pull Requests (including Flows Visual Git Diff)\n\n - Slack, Microsoft Teams, Email deployment summary after a successful deployment\n\n - JIRA tags and comments on tickets that just has been deployed\n\n![](https://sfdx-hardis.cloudity.com/assets/images/screenshot-jira-gitlab.jpg)\n\n![](https://sfdx-hardis.cloudity.com/assets/images/screenshot-jira-slack.jpg)\n\n### Flows Visual Git Diff\n\n- Visually show you the differences on a diagram\n\n- Display the update details without having to open any XML !\n\n🟩 = added\n\n🟥 = removed\n\n🟧 = updated\n\n![](https://sfdx-hardis.cloudity.com/assets/images/flow-visual-git-diff.jpg)\n\n![](https://sfdx-hardis.cloudity.com/assets/images/flow-visual-git-diff-2.jpg)\n\n### In custom CI/CD workflow\n\nExample of usage in a custom CI/CD pipeline:\n\n```bash\n# Disable exit-on-error temporarily\nset +e\n\n# Run the deploy command\nsf project deploy start [....]\nRET_CODE=$?\n\n# Re-enable exit-on-error\nset -e\n\n# Determine MYSTATUS based on return code\nif [ $RET_CODE -eq 0 ]; then\n MYSTATUS=\"valid\"\nelse\n MYSTATUS=\"invalid\"\nfi\n\n# Run the notify command with MYSTATUS\nsf hardis:project:deploy:notify --check-only --deploy-status \"$MYSTATUS\"\n```\n\n### Other usages\n\nThis command is for custom SF Cli pipelines, if you are a sfdx-hardis user, it is already embedded in sf hardis:deploy:smart.\n\nYou can also use [sfdx-hardis wrapper commands of SF deployment commands](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-setup/#using-custom-cicd-pipeline)\n",
10968
+ "description": "Post notifications related to:\n\n- **Deployment simulation** _(use with --check-only)_\n\n- **Deployment process** _(to call only if your deployment is successful)_\n\n### Integrations\n\nAccording to the [integrations you configured](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-home/), notifications can contain deployment information and [Flow Visual Git Diff](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-home/#flow-visual-git-diff)\n\n - GitHub, Gitlab, Azure DevOps, Bitbucket comments on Pull Requests (including Flows Visual Git Diff)\n\n - Slack, Microsoft Teams, Email deployment summary after a successful deployment\n\n - JIRA tags and comments on tickets that just has been deployed\n\n![](https://sfdx-hardis.cloudity.com/assets/images/screenshot-jira-gitlab.jpg)\n\n![](https://sfdx-hardis.cloudity.com/assets/images/screenshot-jira-slack.jpg)\n\n### Flows Visual Git Diff\n\n- Visually show you the differences on a diagram\n\n- Display the update details without having to open any XML !\n\n🟩 = added\n\n🟥 = removed\n\n🟧 = updated\n\n![](https://sfdx-hardis.cloudity.com/assets/images/flow-visual-git-diff.jpg)\n\n![](https://sfdx-hardis.cloudity.com/assets/images/flow-visual-git-diff-2.jpg)\n\n### In custom CI/CD workflow\n\nExample of usage in a custom CI/CD pipeline:\n\n```bash\n# Disable exit-on-error temporarily\nset +e\n\n# Run the deploy command\nsf project deploy start [....]\nRET_CODE=$?\n\n# Re-enable exit-on-error\nset -e\n\n# Determine MYSTATUS based on return code\nif [ $RET_CODE -eq 0 ]; then\n MYSTATUS=\"valid\"\nelse\n MYSTATUS=\"invalid\"\nfi\n\n# Run the notify command with MYSTATUS\nsf hardis:project:deploy:notify --check-only --deploy-status \"$MYSTATUS\"\n```\n\n### Other usages\n\nThis command is for custom SF Cli pipelines, if you are a sfdx-hardis user, it is already embedded in sf hardis:deploy:smart.\n\nYou can also use [sfdx-hardis wrapper commands of SF deployment commands](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-setup/#using-custom-cicd-pipeline)\n",
10890
10969
  "examples": [
10891
10970
  "$ sf hardis:project:deploy:notify --check-only --deploy-status valid --message \"This deployment check is valid\\n\\nYahooo !!\"",
10892
10971
  "$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
@@ -12058,232 +12137,17 @@
12058
12137
  "validate:deploy:project:hardis"
12059
12138
  ]
12060
12139
  },
12061
- "hardis:project:fix:profiletabs": {
12140
+ "hardis:project:generate:bypass": {
12062
12141
  "aliases": [],
12063
12142
  "args": {},
12064
- "description": "Interactive prompts to add tab visibilities that are not retrieved by project retrieve start",
12143
+ "description": "\n Generates bypass custom permissions and permission sets for specified sObjects and automations (Flows, Triggers, and Validation Rules). If no parameters are provided, it prompts for user selection.\n ",
12065
12144
  "examples": [
12066
- "$ sf hardis:project:fix:profiletabs"
12067
- ],
12068
- "flags": {
12069
- "json": {
12070
- "description": "Format output as json.",
12071
- "helpGroup": "GLOBAL",
12072
- "name": "json",
12073
- "allowNo": false,
12074
- "type": "boolean"
12075
- },
12076
- "flags-dir": {
12077
- "helpGroup": "GLOBAL",
12078
- "name": "flags-dir",
12079
- "summary": "Import flag values from a directory.",
12080
- "hasDynamicHelp": false,
12081
- "multiple": false,
12082
- "type": "option"
12083
- },
12084
- "path": {
12085
- "char": "p",
12086
- "description": "Root folder",
12087
- "name": "path",
12088
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12089
- "hasDynamicHelp": false,
12090
- "multiple": false,
12091
- "type": "option"
12092
- },
12093
- "debug": {
12094
- "char": "d",
12095
- "description": "Activate debug mode (more logs)",
12096
- "name": "debug",
12097
- "allowNo": false,
12098
- "type": "boolean"
12099
- },
12100
- "websocket": {
12101
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12102
- "name": "websocket",
12103
- "hasDynamicHelp": false,
12104
- "multiple": false,
12105
- "type": "option"
12106
- },
12107
- "skipauth": {
12108
- "description": "Skip authentication check when a default username is required",
12109
- "name": "skipauth",
12110
- "allowNo": false,
12111
- "type": "boolean"
12112
- },
12113
- "target-org": {
12114
- "aliases": [
12115
- "targetusername",
12116
- "u"
12117
- ],
12118
- "char": "o",
12119
- "deprecateAliases": true,
12120
- "name": "target-org",
12121
- "noCacheDefault": true,
12122
- "required": true,
12123
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
12124
- "hasDynamicHelp": true,
12125
- "multiple": false,
12126
- "type": "option"
12127
- }
12128
- },
12129
- "hasDynamicHelp": true,
12130
- "hiddenAliases": [],
12131
- "id": "hardis:project:fix:profiletabs",
12132
- "pluginAlias": "sfdx-hardis",
12133
- "pluginName": "sfdx-hardis",
12134
- "pluginType": "core",
12135
- "strict": true,
12136
- "enableJsonFlag": true,
12137
- "title": "Fix profiles to add tabs that are not retrieved by SF CLI",
12138
- "requiresProject": true,
12139
- "isESM": true,
12140
- "relativePath": [
12141
- "lib",
12142
- "commands",
12143
- "hardis",
12144
- "project",
12145
- "fix",
12146
- "profiletabs.js"
12147
- ],
12148
- "aliasPermutations": [],
12149
- "permutations": [
12150
- "hardis:project:fix:profiletabs",
12151
- "project:hardis:fix:profiletabs",
12152
- "project:fix:hardis:profiletabs",
12153
- "project:fix:profiletabs:hardis",
12154
- "hardis:fix:project:profiletabs",
12155
- "fix:hardis:project:profiletabs",
12156
- "fix:project:hardis:profiletabs",
12157
- "fix:project:profiletabs:hardis",
12158
- "hardis:fix:profiletabs:project",
12159
- "fix:hardis:profiletabs:project",
12160
- "fix:profiletabs:hardis:project",
12161
- "fix:profiletabs:project:hardis",
12162
- "hardis:project:profiletabs:fix",
12163
- "project:hardis:profiletabs:fix",
12164
- "project:profiletabs:hardis:fix",
12165
- "project:profiletabs:fix:hardis",
12166
- "hardis:profiletabs:project:fix",
12167
- "profiletabs:hardis:project:fix",
12168
- "profiletabs:project:hardis:fix",
12169
- "profiletabs:project:fix:hardis",
12170
- "hardis:profiletabs:fix:project",
12171
- "profiletabs:hardis:fix:project",
12172
- "profiletabs:fix:hardis:project",
12173
- "profiletabs:fix:project:hardis"
12174
- ]
12175
- },
12176
- "hardis:project:fix:v53flexipages": {
12177
- "aliases": [],
12178
- "args": {},
12179
- "description": "Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json",
12180
- "examples": [
12181
- "$ sf hardis:project:fix:v53flexipages"
12182
- ],
12183
- "flags": {
12184
- "json": {
12185
- "description": "Format output as json.",
12186
- "helpGroup": "GLOBAL",
12187
- "name": "json",
12188
- "allowNo": false,
12189
- "type": "boolean"
12190
- },
12191
- "flags-dir": {
12192
- "helpGroup": "GLOBAL",
12193
- "name": "flags-dir",
12194
- "summary": "Import flag values from a directory.",
12195
- "hasDynamicHelp": false,
12196
- "multiple": false,
12197
- "type": "option"
12198
- },
12199
- "path": {
12200
- "char": "p",
12201
- "description": "Root folder",
12202
- "name": "path",
12203
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12204
- "hasDynamicHelp": false,
12205
- "multiple": false,
12206
- "type": "option"
12207
- },
12208
- "debug": {
12209
- "char": "d",
12210
- "description": "Activate debug mode (more logs)",
12211
- "name": "debug",
12212
- "allowNo": false,
12213
- "type": "boolean"
12214
- },
12215
- "websocket": {
12216
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12217
- "name": "websocket",
12218
- "hasDynamicHelp": false,
12219
- "multiple": false,
12220
- "type": "option"
12221
- },
12222
- "skipauth": {
12223
- "description": "Skip authentication check when a default username is required",
12224
- "name": "skipauth",
12225
- "allowNo": false,
12226
- "type": "boolean"
12227
- }
12228
- },
12229
- "hasDynamicHelp": false,
12230
- "hiddenAliases": [],
12231
- "id": "hardis:project:fix:v53flexipages",
12232
- "pluginAlias": "sfdx-hardis",
12233
- "pluginName": "sfdx-hardis",
12234
- "pluginType": "core",
12235
- "strict": true,
12236
- "enableJsonFlag": true,
12237
- "title": "Fix flexipages for v53",
12238
- "requiresProject": true,
12239
- "isESM": true,
12240
- "relativePath": [
12241
- "lib",
12242
- "commands",
12243
- "hardis",
12244
- "project",
12245
- "fix",
12246
- "v53flexipages.js"
12247
- ],
12248
- "aliasPermutations": [],
12249
- "permutations": [
12250
- "hardis:project:fix:v53flexipages",
12251
- "project:hardis:fix:v53flexipages",
12252
- "project:fix:hardis:v53flexipages",
12253
- "project:fix:v53flexipages:hardis",
12254
- "hardis:fix:project:v53flexipages",
12255
- "fix:hardis:project:v53flexipages",
12256
- "fix:project:hardis:v53flexipages",
12257
- "fix:project:v53flexipages:hardis",
12258
- "hardis:fix:v53flexipages:project",
12259
- "fix:hardis:v53flexipages:project",
12260
- "fix:v53flexipages:hardis:project",
12261
- "fix:v53flexipages:project:hardis",
12262
- "hardis:project:v53flexipages:fix",
12263
- "project:hardis:v53flexipages:fix",
12264
- "project:v53flexipages:hardis:fix",
12265
- "project:v53flexipages:fix:hardis",
12266
- "hardis:v53flexipages:project:fix",
12267
- "v53flexipages:hardis:project:fix",
12268
- "v53flexipages:project:hardis:fix",
12269
- "v53flexipages:project:fix:hardis",
12270
- "hardis:v53flexipages:fix:project",
12271
- "v53flexipages:hardis:fix:project",
12272
- "v53flexipages:fix:hardis:project",
12273
- "v53flexipages:fix:project:hardis"
12274
- ]
12275
- },
12276
- "hardis:project:generate:bypass": {
12277
- "aliases": [],
12278
- "args": {},
12279
- "description": "\n Generates bypass custom permissions and permission sets for specified sObjects and automations (Flows, Triggers, and Validation Rules). If no parameters are provided, it prompts for user selection.\n ",
12280
- "examples": [
12281
- "$ sf hardis:project:generate:bypass",
12282
- "$ sf hardis:project:generate:bypass --global",
12283
- "$ sf hardis:project:generate:bypass --sObjects Account,Contact,Opportunity",
12284
- "$ sf hardis:project:generate:bypass --automations Flow,Trigger,VR",
12285
- "$ sf hardis:project:generate:bypass --sObjects Account,Opportunity --automations Flow,Trigger",
12286
- "$ sf hardis:project:generate:bypass --skip-credits"
12145
+ "$ sf hardis:project:generate:bypass",
12146
+ "$ sf hardis:project:generate:bypass --global",
12147
+ "$ sf hardis:project:generate:bypass --sObjects Account,Contact,Opportunity",
12148
+ "$ sf hardis:project:generate:bypass --automations Flow,Trigger,VR",
12149
+ "$ sf hardis:project:generate:bypass --sObjects Account,Opportunity --automations Flow,Trigger",
12150
+ "$ sf hardis:project:generate:bypass --skip-credits"
12287
12151
  ],
12288
12152
  "flags": {
12289
12153
  "json": {
@@ -12639,6 +12503,221 @@
12639
12503
  "gitdelta:generate:project:hardis"
12640
12504
  ]
12641
12505
  },
12506
+ "hardis:project:fix:profiletabs": {
12507
+ "aliases": [],
12508
+ "args": {},
12509
+ "description": "Interactive prompts to add tab visibilities that are not retrieved by project retrieve start",
12510
+ "examples": [
12511
+ "$ sf hardis:project:fix:profiletabs"
12512
+ ],
12513
+ "flags": {
12514
+ "json": {
12515
+ "description": "Format output as json.",
12516
+ "helpGroup": "GLOBAL",
12517
+ "name": "json",
12518
+ "allowNo": false,
12519
+ "type": "boolean"
12520
+ },
12521
+ "flags-dir": {
12522
+ "helpGroup": "GLOBAL",
12523
+ "name": "flags-dir",
12524
+ "summary": "Import flag values from a directory.",
12525
+ "hasDynamicHelp": false,
12526
+ "multiple": false,
12527
+ "type": "option"
12528
+ },
12529
+ "path": {
12530
+ "char": "p",
12531
+ "description": "Root folder",
12532
+ "name": "path",
12533
+ "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12534
+ "hasDynamicHelp": false,
12535
+ "multiple": false,
12536
+ "type": "option"
12537
+ },
12538
+ "debug": {
12539
+ "char": "d",
12540
+ "description": "Activate debug mode (more logs)",
12541
+ "name": "debug",
12542
+ "allowNo": false,
12543
+ "type": "boolean"
12544
+ },
12545
+ "websocket": {
12546
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12547
+ "name": "websocket",
12548
+ "hasDynamicHelp": false,
12549
+ "multiple": false,
12550
+ "type": "option"
12551
+ },
12552
+ "skipauth": {
12553
+ "description": "Skip authentication check when a default username is required",
12554
+ "name": "skipauth",
12555
+ "allowNo": false,
12556
+ "type": "boolean"
12557
+ },
12558
+ "target-org": {
12559
+ "aliases": [
12560
+ "targetusername",
12561
+ "u"
12562
+ ],
12563
+ "char": "o",
12564
+ "deprecateAliases": true,
12565
+ "name": "target-org",
12566
+ "noCacheDefault": true,
12567
+ "required": true,
12568
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
12569
+ "hasDynamicHelp": true,
12570
+ "multiple": false,
12571
+ "type": "option"
12572
+ }
12573
+ },
12574
+ "hasDynamicHelp": true,
12575
+ "hiddenAliases": [],
12576
+ "id": "hardis:project:fix:profiletabs",
12577
+ "pluginAlias": "sfdx-hardis",
12578
+ "pluginName": "sfdx-hardis",
12579
+ "pluginType": "core",
12580
+ "strict": true,
12581
+ "enableJsonFlag": true,
12582
+ "title": "Fix profiles to add tabs that are not retrieved by SF CLI",
12583
+ "requiresProject": true,
12584
+ "isESM": true,
12585
+ "relativePath": [
12586
+ "lib",
12587
+ "commands",
12588
+ "hardis",
12589
+ "project",
12590
+ "fix",
12591
+ "profiletabs.js"
12592
+ ],
12593
+ "aliasPermutations": [],
12594
+ "permutations": [
12595
+ "hardis:project:fix:profiletabs",
12596
+ "project:hardis:fix:profiletabs",
12597
+ "project:fix:hardis:profiletabs",
12598
+ "project:fix:profiletabs:hardis",
12599
+ "hardis:fix:project:profiletabs",
12600
+ "fix:hardis:project:profiletabs",
12601
+ "fix:project:hardis:profiletabs",
12602
+ "fix:project:profiletabs:hardis",
12603
+ "hardis:fix:profiletabs:project",
12604
+ "fix:hardis:profiletabs:project",
12605
+ "fix:profiletabs:hardis:project",
12606
+ "fix:profiletabs:project:hardis",
12607
+ "hardis:project:profiletabs:fix",
12608
+ "project:hardis:profiletabs:fix",
12609
+ "project:profiletabs:hardis:fix",
12610
+ "project:profiletabs:fix:hardis",
12611
+ "hardis:profiletabs:project:fix",
12612
+ "profiletabs:hardis:project:fix",
12613
+ "profiletabs:project:hardis:fix",
12614
+ "profiletabs:project:fix:hardis",
12615
+ "hardis:profiletabs:fix:project",
12616
+ "profiletabs:hardis:fix:project",
12617
+ "profiletabs:fix:hardis:project",
12618
+ "profiletabs:fix:project:hardis"
12619
+ ]
12620
+ },
12621
+ "hardis:project:fix:v53flexipages": {
12622
+ "aliases": [],
12623
+ "args": {},
12624
+ "description": "Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json",
12625
+ "examples": [
12626
+ "$ sf hardis:project:fix:v53flexipages"
12627
+ ],
12628
+ "flags": {
12629
+ "json": {
12630
+ "description": "Format output as json.",
12631
+ "helpGroup": "GLOBAL",
12632
+ "name": "json",
12633
+ "allowNo": false,
12634
+ "type": "boolean"
12635
+ },
12636
+ "flags-dir": {
12637
+ "helpGroup": "GLOBAL",
12638
+ "name": "flags-dir",
12639
+ "summary": "Import flag values from a directory.",
12640
+ "hasDynamicHelp": false,
12641
+ "multiple": false,
12642
+ "type": "option"
12643
+ },
12644
+ "path": {
12645
+ "char": "p",
12646
+ "description": "Root folder",
12647
+ "name": "path",
12648
+ "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12649
+ "hasDynamicHelp": false,
12650
+ "multiple": false,
12651
+ "type": "option"
12652
+ },
12653
+ "debug": {
12654
+ "char": "d",
12655
+ "description": "Activate debug mode (more logs)",
12656
+ "name": "debug",
12657
+ "allowNo": false,
12658
+ "type": "boolean"
12659
+ },
12660
+ "websocket": {
12661
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12662
+ "name": "websocket",
12663
+ "hasDynamicHelp": false,
12664
+ "multiple": false,
12665
+ "type": "option"
12666
+ },
12667
+ "skipauth": {
12668
+ "description": "Skip authentication check when a default username is required",
12669
+ "name": "skipauth",
12670
+ "allowNo": false,
12671
+ "type": "boolean"
12672
+ }
12673
+ },
12674
+ "hasDynamicHelp": false,
12675
+ "hiddenAliases": [],
12676
+ "id": "hardis:project:fix:v53flexipages",
12677
+ "pluginAlias": "sfdx-hardis",
12678
+ "pluginName": "sfdx-hardis",
12679
+ "pluginType": "core",
12680
+ "strict": true,
12681
+ "enableJsonFlag": true,
12682
+ "title": "Fix flexipages for v53",
12683
+ "requiresProject": true,
12684
+ "isESM": true,
12685
+ "relativePath": [
12686
+ "lib",
12687
+ "commands",
12688
+ "hardis",
12689
+ "project",
12690
+ "fix",
12691
+ "v53flexipages.js"
12692
+ ],
12693
+ "aliasPermutations": [],
12694
+ "permutations": [
12695
+ "hardis:project:fix:v53flexipages",
12696
+ "project:hardis:fix:v53flexipages",
12697
+ "project:fix:hardis:v53flexipages",
12698
+ "project:fix:v53flexipages:hardis",
12699
+ "hardis:fix:project:v53flexipages",
12700
+ "fix:hardis:project:v53flexipages",
12701
+ "fix:project:hardis:v53flexipages",
12702
+ "fix:project:v53flexipages:hardis",
12703
+ "hardis:fix:v53flexipages:project",
12704
+ "fix:hardis:v53flexipages:project",
12705
+ "fix:v53flexipages:hardis:project",
12706
+ "fix:v53flexipages:project:hardis",
12707
+ "hardis:project:v53flexipages:fix",
12708
+ "project:hardis:v53flexipages:fix",
12709
+ "project:v53flexipages:hardis:fix",
12710
+ "project:v53flexipages:fix:hardis",
12711
+ "hardis:v53flexipages:project:fix",
12712
+ "v53flexipages:hardis:project:fix",
12713
+ "v53flexipages:project:hardis:fix",
12714
+ "v53flexipages:project:fix:hardis",
12715
+ "hardis:v53flexipages:fix:project",
12716
+ "v53flexipages:hardis:fix:project",
12717
+ "v53flexipages:fix:hardis:project",
12718
+ "v53flexipages:fix:project:hardis"
12719
+ ]
12720
+ },
12642
12721
  "hardis:project:metadata:findduplicates": {
12643
12722
  "aliases": [],
12644
12723
  "args": {},
@@ -14726,5 +14805,5 @@
14726
14805
  ]
14727
14806
  }
14728
14807
  },
14729
- "version": "5.39.1"
14808
+ "version": "5.40.1-beta202506151204.0"
14730
14809
  }