sfdx-hardis 5.43.4 → 5.44.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.
@@ -129,12 +129,13 @@
129
129
  "clear:cache:hardis"
130
130
  ]
131
131
  },
132
- "hardis:config:get": {
132
+ "hardis:auth:login": {
133
133
  "aliases": [],
134
134
  "args": {},
135
- "description": "Returns sfdx-hardis project config for a given level",
135
+ "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",
136
136
  "examples": [
137
- "$ sf hardis:project:deploy:sources:metadata"
137
+ "$ sf hardis:auth:login",
138
+ "CI=true sf hardis:auth:login"
138
139
  ],
139
140
  "flags": {
140
141
  "json": {
@@ -152,20 +153,28 @@
152
153
  "multiple": false,
153
154
  "type": "option"
154
155
  },
155
- "level": {
156
- "char": "l",
157
- "description": "project,branch or user",
158
- "name": "level",
159
- "default": "project",
156
+ "instanceurl": {
157
+ "char": "r",
158
+ "description": "URL of org instance",
159
+ "name": "instanceurl",
160
160
  "hasDynamicHelp": false,
161
161
  "multiple": false,
162
- "options": [
163
- "project",
164
- "branch",
165
- "user"
166
- ],
167
162
  "type": "option"
168
163
  },
164
+ "devhub": {
165
+ "char": "h",
166
+ "description": "Also connect associated DevHub",
167
+ "name": "devhub",
168
+ "allowNo": false,
169
+ "type": "boolean"
170
+ },
171
+ "scratchorg": {
172
+ "char": "s",
173
+ "description": "Scratch org",
174
+ "name": "scratchorg",
175
+ "allowNo": false,
176
+ "type": "boolean"
177
+ },
169
178
  "debug": {
170
179
  "char": "d",
171
180
  "description": "Activate debug mode (more logs)",
@@ -189,39 +198,38 @@
189
198
  },
190
199
  "hasDynamicHelp": false,
191
200
  "hiddenAliases": [],
192
- "id": "hardis:config:get",
201
+ "id": "hardis:auth:login",
193
202
  "pluginAlias": "sfdx-hardis",
194
203
  "pluginName": "sfdx-hardis",
195
204
  "pluginType": "core",
196
205
  "strict": true,
197
206
  "enableJsonFlag": true,
198
- "title": "Deploy metadata sources to org",
207
+ "title": "Login",
199
208
  "requiresProject": false,
200
209
  "isESM": true,
201
210
  "relativePath": [
202
211
  "lib",
203
212
  "commands",
204
213
  "hardis",
205
- "config",
206
- "get.js"
214
+ "auth",
215
+ "login.js"
207
216
  ],
208
217
  "aliasPermutations": [],
209
218
  "permutations": [
210
- "hardis:config:get",
211
- "config:hardis:get",
212
- "config:get:hardis",
213
- "hardis:get:config",
214
- "get:hardis:config",
215
- "get:config:hardis"
219
+ "hardis:auth:login",
220
+ "auth:hardis:login",
221
+ "auth:login:hardis",
222
+ "hardis:login:auth",
223
+ "login:hardis:auth",
224
+ "login:auth:hardis"
216
225
  ]
217
226
  },
218
- "hardis:auth:login": {
227
+ "hardis:config:get": {
219
228
  "aliases": [],
220
229
  "args": {},
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",
230
+ "description": "Returns sfdx-hardis project config for a given level",
222
231
  "examples": [
223
- "$ sf hardis:auth:login",
224
- "CI=true sf hardis:auth:login"
232
+ "$ sf hardis:project:deploy:sources:metadata"
225
233
  ],
226
234
  "flags": {
227
235
  "json": {
@@ -239,28 +247,20 @@
239
247
  "multiple": false,
240
248
  "type": "option"
241
249
  },
242
- "instanceurl": {
243
- "char": "r",
244
- "description": "URL of org instance",
245
- "name": "instanceurl",
250
+ "level": {
251
+ "char": "l",
252
+ "description": "project,branch or user",
253
+ "name": "level",
254
+ "default": "project",
246
255
  "hasDynamicHelp": false,
247
256
  "multiple": false,
257
+ "options": [
258
+ "project",
259
+ "branch",
260
+ "user"
261
+ ],
248
262
  "type": "option"
249
263
  },
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:auth:login",
287
+ "id": "hardis:config:get",
288
288
  "pluginAlias": "sfdx-hardis",
289
289
  "pluginName": "sfdx-hardis",
290
290
  "pluginType": "core",
291
291
  "strict": true,
292
292
  "enableJsonFlag": true,
293
- "title": "Login",
293
+ "title": "Deploy metadata sources to org",
294
294
  "requiresProject": false,
295
295
  "isESM": true,
296
296
  "relativePath": [
297
297
  "lib",
298
298
  "commands",
299
299
  "hardis",
300
- "auth",
301
- "login.js"
300
+ "config",
301
+ "get.js"
302
302
  ],
303
303
  "aliasPermutations": [],
304
304
  "permutations": [
305
- "hardis:auth:login",
306
- "auth:hardis:login",
307
- "auth:login:hardis",
308
- "hardis:login:auth",
309
- "login:hardis:auth",
310
- "login:auth:hardis"
305
+ "hardis:config:get",
306
+ "config:hardis:get",
307
+ "config:get:hardis",
308
+ "hardis:get:config",
309
+ "get:hardis:config",
310
+ "get:config:hardis"
311
311
  ]
312
312
  },
313
313
  "hardis:doc:fieldusage": {
@@ -7592,113 +7592,6 @@
7592
7592
  "limits:monitor:org:hardis"
7593
7593
  ]
7594
7594
  },
7595
- "hardis:org:retrieve:packageconfig": {
7596
- "aliases": [],
7597
- "args": {},
7598
- "description": "Retrieve package configuration from an org",
7599
- "examples": [
7600
- "$ sf hardis:org:retrieve:packageconfig",
7601
- "sf hardis:org:retrieve:packageconfig -u myOrg"
7602
- ],
7603
- "flags": {
7604
- "json": {
7605
- "description": "Format output as json.",
7606
- "helpGroup": "GLOBAL",
7607
- "name": "json",
7608
- "allowNo": false,
7609
- "type": "boolean"
7610
- },
7611
- "flags-dir": {
7612
- "helpGroup": "GLOBAL",
7613
- "name": "flags-dir",
7614
- "summary": "Import flag values from a directory.",
7615
- "hasDynamicHelp": false,
7616
- "multiple": false,
7617
- "type": "option"
7618
- },
7619
- "debug": {
7620
- "char": "d",
7621
- "description": "Activate debug mode (more logs)",
7622
- "name": "debug",
7623
- "allowNo": false,
7624
- "type": "boolean"
7625
- },
7626
- "websocket": {
7627
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
7628
- "name": "websocket",
7629
- "hasDynamicHelp": false,
7630
- "multiple": false,
7631
- "type": "option"
7632
- },
7633
- "skipauth": {
7634
- "description": "Skip authentication check when a default username is required",
7635
- "name": "skipauth",
7636
- "allowNo": false,
7637
- "type": "boolean"
7638
- },
7639
- "target-org": {
7640
- "aliases": [
7641
- "targetusername",
7642
- "u"
7643
- ],
7644
- "char": "o",
7645
- "deprecateAliases": true,
7646
- "name": "target-org",
7647
- "noCacheDefault": true,
7648
- "required": true,
7649
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
7650
- "hasDynamicHelp": true,
7651
- "multiple": false,
7652
- "type": "option"
7653
- }
7654
- },
7655
- "hasDynamicHelp": true,
7656
- "hiddenAliases": [],
7657
- "id": "hardis:org:retrieve:packageconfig",
7658
- "pluginAlias": "sfdx-hardis",
7659
- "pluginName": "sfdx-hardis",
7660
- "pluginType": "core",
7661
- "strict": true,
7662
- "enableJsonFlag": true,
7663
- "title": "Retrieve package configuration from an org",
7664
- "requiresProject": false,
7665
- "isESM": true,
7666
- "relativePath": [
7667
- "lib",
7668
- "commands",
7669
- "hardis",
7670
- "org",
7671
- "retrieve",
7672
- "packageconfig.js"
7673
- ],
7674
- "aliasPermutations": [],
7675
- "permutations": [
7676
- "hardis:org:retrieve:packageconfig",
7677
- "org:hardis:retrieve:packageconfig",
7678
- "org:retrieve:hardis:packageconfig",
7679
- "org:retrieve:packageconfig:hardis",
7680
- "hardis:retrieve:org:packageconfig",
7681
- "retrieve:hardis:org:packageconfig",
7682
- "retrieve:org:hardis:packageconfig",
7683
- "retrieve:org:packageconfig:hardis",
7684
- "hardis:retrieve:packageconfig:org",
7685
- "retrieve:hardis:packageconfig:org",
7686
- "retrieve:packageconfig:hardis:org",
7687
- "retrieve:packageconfig:org:hardis",
7688
- "hardis:org:packageconfig:retrieve",
7689
- "org:hardis:packageconfig:retrieve",
7690
- "org:packageconfig:hardis:retrieve",
7691
- "org:packageconfig:retrieve:hardis",
7692
- "hardis:packageconfig:org:retrieve",
7693
- "packageconfig:hardis:org:retrieve",
7694
- "packageconfig:org:hardis:retrieve",
7695
- "packageconfig:org:retrieve:hardis",
7696
- "hardis:packageconfig:retrieve:org",
7697
- "packageconfig:hardis:retrieve:org",
7698
- "packageconfig:retrieve:hardis:org",
7699
- "packageconfig:retrieve:org:hardis"
7700
- ]
7701
- },
7702
7595
  "hardis:org:purge:apexlog": {
7703
7596
  "aliases": [],
7704
7597
  "args": {},
@@ -7967,12 +7860,13 @@
7967
7860
  "flow:purge:org:hardis"
7968
7861
  ]
7969
7862
  },
7970
- "hardis:org:test:apex": {
7863
+ "hardis:org:retrieve:packageconfig": {
7971
7864
  "aliases": [],
7972
7865
  "args": {},
7973
- "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",
7866
+ "description": "Retrieve package configuration from an org",
7974
7867
  "examples": [
7975
- "$ sf hardis:org:test:apex"
7868
+ "$ sf hardis:org:retrieve:packageconfig",
7869
+ "sf hardis:org:retrieve:packageconfig -u myOrg"
7976
7870
  ],
7977
7871
  "flags": {
7978
7872
  "json": {
@@ -7990,21 +7884,6 @@
7990
7884
  "multiple": false,
7991
7885
  "type": "option"
7992
7886
  },
7993
- "testlevel": {
7994
- "char": "l",
7995
- "description": "Level of tests to apply to validate deployment",
7996
- "name": "testlevel",
7997
- "default": "RunLocalTests",
7998
- "hasDynamicHelp": false,
7999
- "multiple": false,
8000
- "options": [
8001
- "NoTestRun",
8002
- "RunSpecifiedTests",
8003
- "RunLocalTests",
8004
- "RunAllTestsInOrg"
8005
- ],
8006
- "type": "option"
8007
- },
8008
7887
  "debug": {
8009
7888
  "char": "d",
8010
7889
  "description": "Activate debug mode (more logs)",
@@ -8043,32 +7922,153 @@
8043
7922
  },
8044
7923
  "hasDynamicHelp": true,
8045
7924
  "hiddenAliases": [],
8046
- "id": "hardis:org:test:apex",
7925
+ "id": "hardis:org:retrieve:packageconfig",
8047
7926
  "pluginAlias": "sfdx-hardis",
8048
7927
  "pluginName": "sfdx-hardis",
8049
7928
  "pluginType": "core",
8050
7929
  "strict": true,
8051
7930
  "enableJsonFlag": true,
8052
- "title": "Run apex tests",
7931
+ "title": "Retrieve package configuration from an org",
7932
+ "requiresProject": false,
8053
7933
  "isESM": true,
8054
7934
  "relativePath": [
8055
7935
  "lib",
8056
7936
  "commands",
8057
7937
  "hardis",
8058
7938
  "org",
8059
- "test",
8060
- "apex.js"
7939
+ "retrieve",
7940
+ "packageconfig.js"
8061
7941
  ],
8062
7942
  "aliasPermutations": [],
8063
7943
  "permutations": [
8064
- "hardis:org:test:apex",
8065
- "org:hardis:test:apex",
8066
- "org:test:hardis:apex",
8067
- "org:test:apex:hardis",
8068
- "hardis:test:org:apex",
8069
- "test:hardis:org:apex",
8070
- "test:org:hardis:apex",
8071
- "test:org:apex:hardis",
7944
+ "hardis:org:retrieve:packageconfig",
7945
+ "org:hardis:retrieve:packageconfig",
7946
+ "org:retrieve:hardis:packageconfig",
7947
+ "org:retrieve:packageconfig:hardis",
7948
+ "hardis:retrieve:org:packageconfig",
7949
+ "retrieve:hardis:org:packageconfig",
7950
+ "retrieve:org:hardis:packageconfig",
7951
+ "retrieve:org:packageconfig:hardis",
7952
+ "hardis:retrieve:packageconfig:org",
7953
+ "retrieve:hardis:packageconfig:org",
7954
+ "retrieve:packageconfig:hardis:org",
7955
+ "retrieve:packageconfig:org:hardis",
7956
+ "hardis:org:packageconfig:retrieve",
7957
+ "org:hardis:packageconfig:retrieve",
7958
+ "org:packageconfig:hardis:retrieve",
7959
+ "org:packageconfig:retrieve:hardis",
7960
+ "hardis:packageconfig:org:retrieve",
7961
+ "packageconfig:hardis:org:retrieve",
7962
+ "packageconfig:org:hardis:retrieve",
7963
+ "packageconfig:org:retrieve:hardis",
7964
+ "hardis:packageconfig:retrieve:org",
7965
+ "packageconfig:hardis:retrieve:org",
7966
+ "packageconfig:retrieve:hardis:org",
7967
+ "packageconfig:retrieve:org:hardis"
7968
+ ]
7969
+ },
7970
+ "hardis:org:test:apex": {
7971
+ "aliases": [],
7972
+ "args": {},
7973
+ "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",
7974
+ "examples": [
7975
+ "$ sf hardis:org:test:apex"
7976
+ ],
7977
+ "flags": {
7978
+ "json": {
7979
+ "description": "Format output as json.",
7980
+ "helpGroup": "GLOBAL",
7981
+ "name": "json",
7982
+ "allowNo": false,
7983
+ "type": "boolean"
7984
+ },
7985
+ "flags-dir": {
7986
+ "helpGroup": "GLOBAL",
7987
+ "name": "flags-dir",
7988
+ "summary": "Import flag values from a directory.",
7989
+ "hasDynamicHelp": false,
7990
+ "multiple": false,
7991
+ "type": "option"
7992
+ },
7993
+ "testlevel": {
7994
+ "char": "l",
7995
+ "description": "Level of tests to apply to validate deployment",
7996
+ "name": "testlevel",
7997
+ "default": "RunLocalTests",
7998
+ "hasDynamicHelp": false,
7999
+ "multiple": false,
8000
+ "options": [
8001
+ "NoTestRun",
8002
+ "RunSpecifiedTests",
8003
+ "RunLocalTests",
8004
+ "RunAllTestsInOrg"
8005
+ ],
8006
+ "type": "option"
8007
+ },
8008
+ "debug": {
8009
+ "char": "d",
8010
+ "description": "Activate debug mode (more logs)",
8011
+ "name": "debug",
8012
+ "allowNo": false,
8013
+ "type": "boolean"
8014
+ },
8015
+ "websocket": {
8016
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
8017
+ "name": "websocket",
8018
+ "hasDynamicHelp": false,
8019
+ "multiple": false,
8020
+ "type": "option"
8021
+ },
8022
+ "skipauth": {
8023
+ "description": "Skip authentication check when a default username is required",
8024
+ "name": "skipauth",
8025
+ "allowNo": false,
8026
+ "type": "boolean"
8027
+ },
8028
+ "target-org": {
8029
+ "aliases": [
8030
+ "targetusername",
8031
+ "u"
8032
+ ],
8033
+ "char": "o",
8034
+ "deprecateAliases": true,
8035
+ "name": "target-org",
8036
+ "noCacheDefault": true,
8037
+ "required": true,
8038
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
8039
+ "hasDynamicHelp": true,
8040
+ "multiple": false,
8041
+ "type": "option"
8042
+ }
8043
+ },
8044
+ "hasDynamicHelp": true,
8045
+ "hiddenAliases": [],
8046
+ "id": "hardis:org:test:apex",
8047
+ "pluginAlias": "sfdx-hardis",
8048
+ "pluginName": "sfdx-hardis",
8049
+ "pluginType": "core",
8050
+ "strict": true,
8051
+ "enableJsonFlag": true,
8052
+ "title": "Run apex tests",
8053
+ "isESM": true,
8054
+ "relativePath": [
8055
+ "lib",
8056
+ "commands",
8057
+ "hardis",
8058
+ "org",
8059
+ "test",
8060
+ "apex.js"
8061
+ ],
8062
+ "aliasPermutations": [],
8063
+ "permutations": [
8064
+ "hardis:org:test:apex",
8065
+ "org:hardis:test:apex",
8066
+ "org:test:hardis:apex",
8067
+ "org:test:apex:hardis",
8068
+ "hardis:test:org:apex",
8069
+ "test:hardis:org:apex",
8070
+ "test:org:hardis:apex",
8071
+ "test:org:apex:hardis",
8072
8072
  "hardis:test:apex:org",
8073
8073
  "test:hardis:apex:org",
8074
8074
  "test:apex:hardis:org",
@@ -9254,12 +9254,12 @@
9254
9254
  "remotesites:audit:project:hardis"
9255
9255
  ]
9256
9256
  },
9257
- "hardis:project:configure:auth": {
9257
+ "hardis:project:clean:emptyitems": {
9258
9258
  "aliases": [],
9259
9259
  "args": {},
9260
- "description": "Configure authentication from git branch to target org",
9260
+ "description": "Remove unwanted empty items within sfdx project sources",
9261
9261
  "examples": [
9262
- "$ sf hardis:project:configure:auth"
9262
+ "$ sf hardis:project:clean:emptyitems"
9263
9263
  ],
9264
9264
  "flags": {
9265
9265
  "json": {
@@ -9277,12 +9277,14 @@
9277
9277
  "multiple": false,
9278
9278
  "type": "option"
9279
9279
  },
9280
- "devhub": {
9281
- "char": "b",
9282
- "description": "Configure project DevHub",
9283
- "name": "devhub",
9284
- "allowNo": false,
9285
- "type": "boolean"
9280
+ "folder": {
9281
+ "char": "f",
9282
+ "description": "Root folder",
9283
+ "name": "folder",
9284
+ "default": "force-app",
9285
+ "hasDynamicHelp": false,
9286
+ "multiple": false,
9287
+ "type": "option"
9286
9288
  },
9287
9289
  "debug": {
9288
9290
  "char": "d",
@@ -9303,92 +9305,62 @@
9303
9305
  "name": "skipauth",
9304
9306
  "allowNo": false,
9305
9307
  "type": "boolean"
9306
- },
9307
- "target-org": {
9308
- "aliases": [
9309
- "targetusername",
9310
- "u"
9311
- ],
9312
- "char": "o",
9313
- "deprecateAliases": true,
9314
- "name": "target-org",
9315
- "noCacheDefault": true,
9316
- "summary": "Username or alias of the target org.",
9317
- "hasDynamicHelp": true,
9318
- "multiple": false,
9319
- "type": "option"
9320
- },
9321
- "target-dev-hub": {
9322
- "aliases": [
9323
- "targetdevhubusername"
9324
- ],
9325
- "char": "v",
9326
- "deprecateAliases": true,
9327
- "name": "target-dev-hub",
9328
- "noCacheDefault": true,
9329
- "required": false,
9330
- "summary": "Username or alias of the Dev Hub org.",
9331
- "hasDynamicHelp": true,
9332
- "multiple": false,
9333
- "type": "option"
9334
9308
  }
9335
9309
  },
9336
- "hasDynamicHelp": true,
9310
+ "hasDynamicHelp": false,
9337
9311
  "hiddenAliases": [],
9338
- "id": "hardis:project:configure:auth",
9312
+ "id": "hardis:project:clean:emptyitems",
9339
9313
  "pluginAlias": "sfdx-hardis",
9340
9314
  "pluginName": "sfdx-hardis",
9341
9315
  "pluginType": "core",
9342
9316
  "strict": true,
9343
9317
  "enableJsonFlag": true,
9344
- "title": "Configure authentication",
9345
- "requiresProject": false,
9346
- "requiresDependencies": [
9347
- "openssl"
9348
- ],
9318
+ "title": "Clean retrieved empty items in dx sources",
9319
+ "requiresProject": true,
9349
9320
  "isESM": true,
9350
9321
  "relativePath": [
9351
9322
  "lib",
9352
9323
  "commands",
9353
9324
  "hardis",
9354
9325
  "project",
9355
- "configure",
9356
- "auth.js"
9326
+ "clean",
9327
+ "emptyitems.js"
9357
9328
  ],
9358
9329
  "aliasPermutations": [],
9359
9330
  "permutations": [
9360
- "hardis:project:configure:auth",
9361
- "project:hardis:configure:auth",
9362
- "project:configure:hardis:auth",
9363
- "project:configure:auth:hardis",
9364
- "hardis:configure:project:auth",
9365
- "configure:hardis:project:auth",
9366
- "configure:project:hardis:auth",
9367
- "configure:project:auth:hardis",
9368
- "hardis:configure:auth:project",
9369
- "configure:hardis:auth:project",
9370
- "configure:auth:hardis:project",
9371
- "configure:auth:project:hardis",
9372
- "hardis:project:auth:configure",
9373
- "project:hardis:auth:configure",
9374
- "project:auth:hardis:configure",
9375
- "project:auth:configure:hardis",
9376
- "hardis:auth:project:configure",
9377
- "auth:hardis:project:configure",
9378
- "auth:project:hardis:configure",
9379
- "auth:project:configure:hardis",
9380
- "hardis:auth:configure:project",
9381
- "auth:hardis:configure:project",
9382
- "auth:configure:hardis:project",
9383
- "auth:configure:project:hardis"
9331
+ "hardis:project:clean:emptyitems",
9332
+ "project:hardis:clean:emptyitems",
9333
+ "project:clean:hardis:emptyitems",
9334
+ "project:clean:emptyitems:hardis",
9335
+ "hardis:clean:project:emptyitems",
9336
+ "clean:hardis:project:emptyitems",
9337
+ "clean:project:hardis:emptyitems",
9338
+ "clean:project:emptyitems:hardis",
9339
+ "hardis:clean:emptyitems:project",
9340
+ "clean:hardis:emptyitems:project",
9341
+ "clean:emptyitems:hardis:project",
9342
+ "clean:emptyitems:project:hardis",
9343
+ "hardis:project:emptyitems:clean",
9344
+ "project:hardis:emptyitems:clean",
9345
+ "project:emptyitems:hardis:clean",
9346
+ "project:emptyitems:clean:hardis",
9347
+ "hardis:emptyitems:project:clean",
9348
+ "emptyitems:hardis:project:clean",
9349
+ "emptyitems:project:hardis:clean",
9350
+ "emptyitems:project:clean:hardis",
9351
+ "hardis:emptyitems:clean:project",
9352
+ "emptyitems:hardis:clean:project",
9353
+ "emptyitems:clean:hardis:project",
9354
+ "emptyitems:clean:project:hardis"
9384
9355
  ]
9385
9356
  },
9386
- "hardis:project:convert:profilestopermsets": {
9357
+ "hardis:project:clean:filter-xml-content": {
9387
9358
  "aliases": [],
9388
9359
  "args": {},
9389
- "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
9360
+ "description": "Filter content of metadatas (XML) in order to be able to deploy only part of them on an org (See [Example configuration](https://github.com/nvuillam/sfdx-essentials/blob/master/examples/filter-xml-content-config.json))\n\nWhen you perform deployments from one org to another, the features activated in the target org may not fit the content of the sfdx/metadata files extracted from the source org.\n\nYou may need to filter some elements in the XML files, for example in the Profiles\n\nThis script requires a filter-config.json file",
9390
9361
  "examples": [
9391
- "$ sf hardis:project:convert:profilestopermsets"
9362
+ "sf hardis:project:clean:filter-xml-content -i \"./mdapi_output\"",
9363
+ "sf hardis:project:clean:filter-xml-content -i \"retrieveUnpackaged\""
9392
9364
  ],
9393
9365
  "flags": {
9394
9366
  "json": {
@@ -9406,214 +9378,10 @@
9406
9378
  "multiple": false,
9407
9379
  "type": "option"
9408
9380
  },
9409
- "except": {
9410
- "char": "e",
9411
- "description": "List of filters",
9412
- "name": "except",
9413
- "default": [],
9414
- "hasDynamicHelp": false,
9415
- "multiple": true,
9416
- "type": "option"
9417
- },
9418
- "debug": {
9419
- "char": "d",
9420
- "description": "Activate debug mode (more logs)",
9421
- "name": "debug",
9422
- "allowNo": false,
9423
- "type": "boolean"
9424
- },
9425
- "websocket": {
9426
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9427
- "name": "websocket",
9428
- "hasDynamicHelp": false,
9429
- "multiple": false,
9430
- "type": "option"
9431
- },
9432
- "skipauth": {
9433
- "description": "Skip authentication check when a default username is required",
9434
- "name": "skipauth",
9435
- "allowNo": false,
9436
- "type": "boolean"
9437
- }
9438
- },
9439
- "hasDynamicHelp": false,
9440
- "hiddenAliases": [],
9441
- "id": "hardis:project:convert:profilestopermsets",
9442
- "pluginAlias": "sfdx-hardis",
9443
- "pluginName": "sfdx-hardis",
9444
- "pluginType": "core",
9445
- "strict": true,
9446
- "enableJsonFlag": true,
9447
- "title": "Convert Profiles into Permission Sets",
9448
- "requiresProject": true,
9449
- "requiresSfdxPlugins": [
9450
- "shane-sfdx-plugins"
9451
- ],
9452
- "isESM": true,
9453
- "relativePath": [
9454
- "lib",
9455
- "commands",
9456
- "hardis",
9457
- "project",
9458
- "convert",
9459
- "profilestopermsets.js"
9460
- ],
9461
- "aliasPermutations": [],
9462
- "permutations": [
9463
- "hardis:project:convert:profilestopermsets",
9464
- "project:hardis:convert:profilestopermsets",
9465
- "project:convert:hardis:profilestopermsets",
9466
- "project:convert:profilestopermsets:hardis",
9467
- "hardis:convert:project:profilestopermsets",
9468
- "convert:hardis:project:profilestopermsets",
9469
- "convert:project:hardis:profilestopermsets",
9470
- "convert:project:profilestopermsets:hardis",
9471
- "hardis:convert:profilestopermsets:project",
9472
- "convert:hardis:profilestopermsets:project",
9473
- "convert:profilestopermsets:hardis:project",
9474
- "convert:profilestopermsets:project:hardis",
9475
- "hardis:project:profilestopermsets:convert",
9476
- "project:hardis:profilestopermsets:convert",
9477
- "project:profilestopermsets:hardis:convert",
9478
- "project:profilestopermsets:convert:hardis",
9479
- "hardis:profilestopermsets:project:convert",
9480
- "profilestopermsets:hardis:project:convert",
9481
- "profilestopermsets:project:hardis:convert",
9482
- "profilestopermsets:project:convert:hardis",
9483
- "hardis:profilestopermsets:convert:project",
9484
- "profilestopermsets:hardis:convert:project",
9485
- "profilestopermsets:convert:hardis:project",
9486
- "profilestopermsets:convert:project:hardis"
9487
- ]
9488
- },
9489
- "hardis:project:clean:emptyitems": {
9490
- "aliases": [],
9491
- "args": {},
9492
- "description": "Remove unwanted empty items within sfdx project sources",
9493
- "examples": [
9494
- "$ sf hardis:project:clean:emptyitems"
9495
- ],
9496
- "flags": {
9497
- "json": {
9498
- "description": "Format output as json.",
9499
- "helpGroup": "GLOBAL",
9500
- "name": "json",
9501
- "allowNo": false,
9502
- "type": "boolean"
9503
- },
9504
- "flags-dir": {
9505
- "helpGroup": "GLOBAL",
9506
- "name": "flags-dir",
9507
- "summary": "Import flag values from a directory.",
9508
- "hasDynamicHelp": false,
9509
- "multiple": false,
9510
- "type": "option"
9511
- },
9512
- "folder": {
9513
- "char": "f",
9514
- "description": "Root folder",
9515
- "name": "folder",
9516
- "default": "force-app",
9517
- "hasDynamicHelp": false,
9518
- "multiple": false,
9519
- "type": "option"
9520
- },
9521
- "debug": {
9522
- "char": "d",
9523
- "description": "Activate debug mode (more logs)",
9524
- "name": "debug",
9525
- "allowNo": false,
9526
- "type": "boolean"
9527
- },
9528
- "websocket": {
9529
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9530
- "name": "websocket",
9531
- "hasDynamicHelp": false,
9532
- "multiple": false,
9533
- "type": "option"
9534
- },
9535
- "skipauth": {
9536
- "description": "Skip authentication check when a default username is required",
9537
- "name": "skipauth",
9538
- "allowNo": false,
9539
- "type": "boolean"
9540
- }
9541
- },
9542
- "hasDynamicHelp": false,
9543
- "hiddenAliases": [],
9544
- "id": "hardis:project:clean:emptyitems",
9545
- "pluginAlias": "sfdx-hardis",
9546
- "pluginName": "sfdx-hardis",
9547
- "pluginType": "core",
9548
- "strict": true,
9549
- "enableJsonFlag": true,
9550
- "title": "Clean retrieved empty items in dx sources",
9551
- "requiresProject": true,
9552
- "isESM": true,
9553
- "relativePath": [
9554
- "lib",
9555
- "commands",
9556
- "hardis",
9557
- "project",
9558
- "clean",
9559
- "emptyitems.js"
9560
- ],
9561
- "aliasPermutations": [],
9562
- "permutations": [
9563
- "hardis:project:clean:emptyitems",
9564
- "project:hardis:clean:emptyitems",
9565
- "project:clean:hardis:emptyitems",
9566
- "project:clean:emptyitems:hardis",
9567
- "hardis:clean:project:emptyitems",
9568
- "clean:hardis:project:emptyitems",
9569
- "clean:project:hardis:emptyitems",
9570
- "clean:project:emptyitems:hardis",
9571
- "hardis:clean:emptyitems:project",
9572
- "clean:hardis:emptyitems:project",
9573
- "clean:emptyitems:hardis:project",
9574
- "clean:emptyitems:project:hardis",
9575
- "hardis:project:emptyitems:clean",
9576
- "project:hardis:emptyitems:clean",
9577
- "project:emptyitems:hardis:clean",
9578
- "project:emptyitems:clean:hardis",
9579
- "hardis:emptyitems:project:clean",
9580
- "emptyitems:hardis:project:clean",
9581
- "emptyitems:project:hardis:clean",
9582
- "emptyitems:project:clean:hardis",
9583
- "hardis:emptyitems:clean:project",
9584
- "emptyitems:hardis:clean:project",
9585
- "emptyitems:clean:hardis:project",
9586
- "emptyitems:clean:project:hardis"
9587
- ]
9588
- },
9589
- "hardis:project:clean:filter-xml-content": {
9590
- "aliases": [],
9591
- "args": {},
9592
- "description": "Filter content of metadatas (XML) in order to be able to deploy only part of them on an org (See [Example configuration](https://github.com/nvuillam/sfdx-essentials/blob/master/examples/filter-xml-content-config.json))\n\nWhen you perform deployments from one org to another, the features activated in the target org may not fit the content of the sfdx/metadata files extracted from the source org.\n\nYou may need to filter some elements in the XML files, for example in the Profiles\n\nThis script requires a filter-config.json file",
9593
- "examples": [
9594
- "sf hardis:project:clean:filter-xml-content -i \"./mdapi_output\"",
9595
- "sf hardis:project:clean:filter-xml-content -i \"retrieveUnpackaged\""
9596
- ],
9597
- "flags": {
9598
- "json": {
9599
- "description": "Format output as json.",
9600
- "helpGroup": "GLOBAL",
9601
- "name": "json",
9602
- "allowNo": false,
9603
- "type": "boolean"
9604
- },
9605
- "flags-dir": {
9606
- "helpGroup": "GLOBAL",
9607
- "name": "flags-dir",
9608
- "summary": "Import flag values from a directory.",
9609
- "hasDynamicHelp": false,
9610
- "multiple": false,
9611
- "type": "option"
9612
- },
9613
- "configfile": {
9614
- "char": "c",
9615
- "description": "Config JSON file path",
9616
- "name": "configfile",
9381
+ "configfile": {
9382
+ "char": "c",
9383
+ "description": "Config JSON file path",
9384
+ "name": "configfile",
9617
9385
  "hasDynamicHelp": false,
9618
9386
  "multiple": false,
9619
9387
  "type": "option"
@@ -10971,12 +10739,12 @@
10971
10739
  "xml:clean:project:hardis"
10972
10740
  ]
10973
10741
  },
10974
- "hardis:project:fix:profiletabs": {
10742
+ "hardis:project:convert:profilestopermsets": {
10975
10743
  "aliases": [],
10976
10744
  "args": {},
10977
- "description": "Interactive prompts to add tab visibilities that are not retrieved by project retrieve start",
10745
+ "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
10978
10746
  "examples": [
10979
- "$ sf hardis:project:fix:profiletabs"
10747
+ "$ sf hardis:project:convert:profilestopermsets"
10980
10748
  ],
10981
10749
  "flags": {
10982
10750
  "json": {
@@ -10994,13 +10762,13 @@
10994
10762
  "multiple": false,
10995
10763
  "type": "option"
10996
10764
  },
10997
- "path": {
10998
- "char": "p",
10999
- "description": "Root folder",
11000
- "name": "path",
11001
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
10765
+ "except": {
10766
+ "char": "e",
10767
+ "description": "List of filters",
10768
+ "name": "except",
10769
+ "default": [],
11002
10770
  "hasDynamicHelp": false,
11003
- "multiple": false,
10771
+ "multiple": true,
11004
10772
  "type": "option"
11005
10773
  },
11006
10774
  "debug": {
@@ -11022,76 +10790,64 @@
11022
10790
  "name": "skipauth",
11023
10791
  "allowNo": false,
11024
10792
  "type": "boolean"
11025
- },
11026
- "target-org": {
11027
- "aliases": [
11028
- "targetusername",
11029
- "u"
11030
- ],
11031
- "char": "o",
11032
- "deprecateAliases": true,
11033
- "name": "target-org",
11034
- "noCacheDefault": true,
11035
- "required": true,
11036
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
11037
- "hasDynamicHelp": true,
11038
- "multiple": false,
11039
- "type": "option"
11040
10793
  }
11041
10794
  },
11042
- "hasDynamicHelp": true,
10795
+ "hasDynamicHelp": false,
11043
10796
  "hiddenAliases": [],
11044
- "id": "hardis:project:fix:profiletabs",
10797
+ "id": "hardis:project:convert:profilestopermsets",
11045
10798
  "pluginAlias": "sfdx-hardis",
11046
10799
  "pluginName": "sfdx-hardis",
11047
10800
  "pluginType": "core",
11048
10801
  "strict": true,
11049
10802
  "enableJsonFlag": true,
11050
- "title": "Fix profiles to add tabs that are not retrieved by SF CLI",
10803
+ "title": "Convert Profiles into Permission Sets",
11051
10804
  "requiresProject": true,
10805
+ "requiresSfdxPlugins": [
10806
+ "shane-sfdx-plugins"
10807
+ ],
11052
10808
  "isESM": true,
11053
10809
  "relativePath": [
11054
10810
  "lib",
11055
10811
  "commands",
11056
10812
  "hardis",
11057
10813
  "project",
11058
- "fix",
11059
- "profiletabs.js"
10814
+ "convert",
10815
+ "profilestopermsets.js"
11060
10816
  ],
11061
10817
  "aliasPermutations": [],
11062
10818
  "permutations": [
11063
- "hardis:project:fix:profiletabs",
11064
- "project:hardis:fix:profiletabs",
11065
- "project:fix:hardis:profiletabs",
11066
- "project:fix:profiletabs:hardis",
11067
- "hardis:fix:project:profiletabs",
11068
- "fix:hardis:project:profiletabs",
11069
- "fix:project:hardis:profiletabs",
11070
- "fix:project:profiletabs:hardis",
11071
- "hardis:fix:profiletabs:project",
11072
- "fix:hardis:profiletabs:project",
11073
- "fix:profiletabs:hardis:project",
11074
- "fix:profiletabs:project:hardis",
11075
- "hardis:project:profiletabs:fix",
11076
- "project:hardis:profiletabs:fix",
11077
- "project:profiletabs:hardis:fix",
11078
- "project:profiletabs:fix:hardis",
11079
- "hardis:profiletabs:project:fix",
11080
- "profiletabs:hardis:project:fix",
11081
- "profiletabs:project:hardis:fix",
11082
- "profiletabs:project:fix:hardis",
11083
- "hardis:profiletabs:fix:project",
11084
- "profiletabs:hardis:fix:project",
11085
- "profiletabs:fix:hardis:project",
11086
- "profiletabs:fix:project:hardis"
10819
+ "hardis:project:convert:profilestopermsets",
10820
+ "project:hardis:convert:profilestopermsets",
10821
+ "project:convert:hardis:profilestopermsets",
10822
+ "project:convert:profilestopermsets:hardis",
10823
+ "hardis:convert:project:profilestopermsets",
10824
+ "convert:hardis:project:profilestopermsets",
10825
+ "convert:project:hardis:profilestopermsets",
10826
+ "convert:project:profilestopermsets:hardis",
10827
+ "hardis:convert:profilestopermsets:project",
10828
+ "convert:hardis:profilestopermsets:project",
10829
+ "convert:profilestopermsets:hardis:project",
10830
+ "convert:profilestopermsets:project:hardis",
10831
+ "hardis:project:profilestopermsets:convert",
10832
+ "project:hardis:profilestopermsets:convert",
10833
+ "project:profilestopermsets:hardis:convert",
10834
+ "project:profilestopermsets:convert:hardis",
10835
+ "hardis:profilestopermsets:project:convert",
10836
+ "profilestopermsets:hardis:project:convert",
10837
+ "profilestopermsets:project:hardis:convert",
10838
+ "profilestopermsets:project:convert:hardis",
10839
+ "hardis:profilestopermsets:convert:project",
10840
+ "profilestopermsets:hardis:convert:project",
10841
+ "profilestopermsets:convert:hardis:project",
10842
+ "profilestopermsets:convert:project:hardis"
11087
10843
  ]
11088
10844
  },
11089
- "hardis:project:fix:v53flexipages": {
10845
+ "hardis:project:configure:auth": {
11090
10846
  "aliases": [],
11091
10847
  "args": {},
11092
- "description": "Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json",
10848
+ "description": "Configure authentication from git branch to target org",
11093
10849
  "examples": [
11094
- "$ sf hardis:project:fix:v53flexipages"
10850
+ "$ sf hardis:project:configure:auth"
11095
10851
  ],
11096
10852
  "flags": {
11097
10853
  "json": {
@@ -11109,14 +10865,12 @@
11109
10865
  "multiple": false,
11110
10866
  "type": "option"
11111
10867
  },
11112
- "path": {
11113
- "char": "p",
11114
- "description": "Root folder",
11115
- "name": "path",
11116
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
11117
- "hasDynamicHelp": false,
11118
- "multiple": false,
11119
- "type": "option"
10868
+ "devhub": {
10869
+ "char": "b",
10870
+ "description": "Configure project DevHub",
10871
+ "name": "devhub",
10872
+ "allowNo": false,
10873
+ "type": "boolean"
11120
10874
  },
11121
10875
  "debug": {
11122
10876
  "char": "d",
@@ -11137,53 +10891,84 @@
11137
10891
  "name": "skipauth",
11138
10892
  "allowNo": false,
11139
10893
  "type": "boolean"
10894
+ },
10895
+ "target-org": {
10896
+ "aliases": [
10897
+ "targetusername",
10898
+ "u"
10899
+ ],
10900
+ "char": "o",
10901
+ "deprecateAliases": true,
10902
+ "name": "target-org",
10903
+ "noCacheDefault": true,
10904
+ "summary": "Username or alias of the target org.",
10905
+ "hasDynamicHelp": true,
10906
+ "multiple": false,
10907
+ "type": "option"
10908
+ },
10909
+ "target-dev-hub": {
10910
+ "aliases": [
10911
+ "targetdevhubusername"
10912
+ ],
10913
+ "char": "v",
10914
+ "deprecateAliases": true,
10915
+ "name": "target-dev-hub",
10916
+ "noCacheDefault": true,
10917
+ "required": false,
10918
+ "summary": "Username or alias of the Dev Hub org.",
10919
+ "hasDynamicHelp": true,
10920
+ "multiple": false,
10921
+ "type": "option"
11140
10922
  }
11141
10923
  },
11142
- "hasDynamicHelp": false,
10924
+ "hasDynamicHelp": true,
11143
10925
  "hiddenAliases": [],
11144
- "id": "hardis:project:fix:v53flexipages",
10926
+ "id": "hardis:project:configure:auth",
11145
10927
  "pluginAlias": "sfdx-hardis",
11146
10928
  "pluginName": "sfdx-hardis",
11147
10929
  "pluginType": "core",
11148
10930
  "strict": true,
11149
10931
  "enableJsonFlag": true,
11150
- "title": "Fix flexipages for v53",
11151
- "requiresProject": true,
10932
+ "title": "Configure authentication",
10933
+ "requiresProject": false,
10934
+ "requiresDependencies": [
10935
+ "openssl"
10936
+ ],
11152
10937
  "isESM": true,
11153
10938
  "relativePath": [
11154
10939
  "lib",
11155
10940
  "commands",
11156
10941
  "hardis",
11157
10942
  "project",
11158
- "fix",
11159
- "v53flexipages.js"
10943
+ "configure",
10944
+ "auth.js"
11160
10945
  ],
11161
10946
  "aliasPermutations": [],
11162
10947
  "permutations": [
11163
- "hardis:project:fix:v53flexipages",
11164
- "project:hardis:fix:v53flexipages",
11165
- "project:fix:hardis:v53flexipages",
11166
- "project:fix:v53flexipages:hardis",
11167
- "hardis:fix:project:v53flexipages",
11168
- "fix:hardis:project:v53flexipages",
11169
- "fix:project:hardis:v53flexipages",
11170
- "fix:project:v53flexipages:hardis",
11171
- "hardis:fix:v53flexipages:project",
11172
- "fix:hardis:v53flexipages:project",
11173
- "fix:v53flexipages:hardis:project",
11174
- "fix:v53flexipages:project:hardis",
11175
- "hardis:project:v53flexipages:fix",
11176
- "project:hardis:v53flexipages:fix",
11177
- "project:v53flexipages:hardis:fix",
11178
- "project:v53flexipages:fix:hardis",
11179
- "hardis:v53flexipages:project:fix",
11180
- "v53flexipages:hardis:project:fix",
11181
- "v53flexipages:project:hardis:fix",
11182
- "v53flexipages:project:fix:hardis",
11183
- "hardis:v53flexipages:fix:project",
11184
- "v53flexipages:hardis:fix:project",
11185
- "v53flexipages:fix:hardis:project",
11186
- "v53flexipages:fix:project:hardis"
10948
+ "hardis:project:configure:auth",
10949
+ "project:hardis:configure:auth",
10950
+ "project:configure:hardis:auth",
10951
+ "project:configure:auth:hardis",
10952
+ "hardis:configure:project:auth",
10953
+ "configure:hardis:project:auth",
10954
+ "configure:project:hardis:auth",
10955
+ "configure:project:auth:hardis",
10956
+ "hardis:configure:auth:project",
10957
+ "configure:hardis:auth:project",
10958
+ "configure:auth:hardis:project",
10959
+ "configure:auth:project:hardis",
10960
+ "hardis:project:auth:configure",
10961
+ "project:hardis:auth:configure",
10962
+ "project:auth:hardis:configure",
10963
+ "project:auth:configure:hardis",
10964
+ "hardis:auth:project:configure",
10965
+ "auth:hardis:project:configure",
10966
+ "auth:project:hardis:configure",
10967
+ "auth:project:configure:hardis",
10968
+ "hardis:auth:configure:project",
10969
+ "auth:hardis:configure:project",
10970
+ "auth:configure:hardis:project",
10971
+ "auth:configure:project:hardis"
11187
10972
  ]
11188
10973
  },
11189
10974
  "hardis:project:deploy:notify": {
@@ -12361,17 +12146,234 @@
12361
12146
  "validate:deploy:project:hardis"
12362
12147
  ]
12363
12148
  },
12149
+ "hardis:project:fix:profiletabs": {
12150
+ "aliases": [],
12151
+ "args": {},
12152
+ "description": "Interactive prompts to add tab visibilities that are not retrieved by project retrieve start",
12153
+ "examples": [
12154
+ "$ sf hardis:project:fix:profiletabs"
12155
+ ],
12156
+ "flags": {
12157
+ "json": {
12158
+ "description": "Format output as json.",
12159
+ "helpGroup": "GLOBAL",
12160
+ "name": "json",
12161
+ "allowNo": false,
12162
+ "type": "boolean"
12163
+ },
12164
+ "flags-dir": {
12165
+ "helpGroup": "GLOBAL",
12166
+ "name": "flags-dir",
12167
+ "summary": "Import flag values from a directory.",
12168
+ "hasDynamicHelp": false,
12169
+ "multiple": false,
12170
+ "type": "option"
12171
+ },
12172
+ "path": {
12173
+ "char": "p",
12174
+ "description": "Root folder",
12175
+ "name": "path",
12176
+ "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12177
+ "hasDynamicHelp": false,
12178
+ "multiple": false,
12179
+ "type": "option"
12180
+ },
12181
+ "debug": {
12182
+ "char": "d",
12183
+ "description": "Activate debug mode (more logs)",
12184
+ "name": "debug",
12185
+ "allowNo": false,
12186
+ "type": "boolean"
12187
+ },
12188
+ "websocket": {
12189
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12190
+ "name": "websocket",
12191
+ "hasDynamicHelp": false,
12192
+ "multiple": false,
12193
+ "type": "option"
12194
+ },
12195
+ "skipauth": {
12196
+ "description": "Skip authentication check when a default username is required",
12197
+ "name": "skipauth",
12198
+ "allowNo": false,
12199
+ "type": "boolean"
12200
+ },
12201
+ "target-org": {
12202
+ "aliases": [
12203
+ "targetusername",
12204
+ "u"
12205
+ ],
12206
+ "char": "o",
12207
+ "deprecateAliases": true,
12208
+ "name": "target-org",
12209
+ "noCacheDefault": true,
12210
+ "required": true,
12211
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
12212
+ "hasDynamicHelp": true,
12213
+ "multiple": false,
12214
+ "type": "option"
12215
+ }
12216
+ },
12217
+ "hasDynamicHelp": true,
12218
+ "hiddenAliases": [],
12219
+ "id": "hardis:project:fix:profiletabs",
12220
+ "pluginAlias": "sfdx-hardis",
12221
+ "pluginName": "sfdx-hardis",
12222
+ "pluginType": "core",
12223
+ "strict": true,
12224
+ "enableJsonFlag": true,
12225
+ "title": "Fix profiles to add tabs that are not retrieved by SF CLI",
12226
+ "requiresProject": true,
12227
+ "isESM": true,
12228
+ "relativePath": [
12229
+ "lib",
12230
+ "commands",
12231
+ "hardis",
12232
+ "project",
12233
+ "fix",
12234
+ "profiletabs.js"
12235
+ ],
12236
+ "aliasPermutations": [],
12237
+ "permutations": [
12238
+ "hardis:project:fix:profiletabs",
12239
+ "project:hardis:fix:profiletabs",
12240
+ "project:fix:hardis:profiletabs",
12241
+ "project:fix:profiletabs:hardis",
12242
+ "hardis:fix:project:profiletabs",
12243
+ "fix:hardis:project:profiletabs",
12244
+ "fix:project:hardis:profiletabs",
12245
+ "fix:project:profiletabs:hardis",
12246
+ "hardis:fix:profiletabs:project",
12247
+ "fix:hardis:profiletabs:project",
12248
+ "fix:profiletabs:hardis:project",
12249
+ "fix:profiletabs:project:hardis",
12250
+ "hardis:project:profiletabs:fix",
12251
+ "project:hardis:profiletabs:fix",
12252
+ "project:profiletabs:hardis:fix",
12253
+ "project:profiletabs:fix:hardis",
12254
+ "hardis:profiletabs:project:fix",
12255
+ "profiletabs:hardis:project:fix",
12256
+ "profiletabs:project:hardis:fix",
12257
+ "profiletabs:project:fix:hardis",
12258
+ "hardis:profiletabs:fix:project",
12259
+ "profiletabs:hardis:fix:project",
12260
+ "profiletabs:fix:hardis:project",
12261
+ "profiletabs:fix:project:hardis"
12262
+ ]
12263
+ },
12264
+ "hardis:project:fix:v53flexipages": {
12265
+ "aliases": [],
12266
+ "args": {},
12267
+ "description": "Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json",
12268
+ "examples": [
12269
+ "$ sf hardis:project:fix:v53flexipages"
12270
+ ],
12271
+ "flags": {
12272
+ "json": {
12273
+ "description": "Format output as json.",
12274
+ "helpGroup": "GLOBAL",
12275
+ "name": "json",
12276
+ "allowNo": false,
12277
+ "type": "boolean"
12278
+ },
12279
+ "flags-dir": {
12280
+ "helpGroup": "GLOBAL",
12281
+ "name": "flags-dir",
12282
+ "summary": "Import flag values from a directory.",
12283
+ "hasDynamicHelp": false,
12284
+ "multiple": false,
12285
+ "type": "option"
12286
+ },
12287
+ "path": {
12288
+ "char": "p",
12289
+ "description": "Root folder",
12290
+ "name": "path",
12291
+ "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
12292
+ "hasDynamicHelp": false,
12293
+ "multiple": false,
12294
+ "type": "option"
12295
+ },
12296
+ "debug": {
12297
+ "char": "d",
12298
+ "description": "Activate debug mode (more logs)",
12299
+ "name": "debug",
12300
+ "allowNo": false,
12301
+ "type": "boolean"
12302
+ },
12303
+ "websocket": {
12304
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12305
+ "name": "websocket",
12306
+ "hasDynamicHelp": false,
12307
+ "multiple": false,
12308
+ "type": "option"
12309
+ },
12310
+ "skipauth": {
12311
+ "description": "Skip authentication check when a default username is required",
12312
+ "name": "skipauth",
12313
+ "allowNo": false,
12314
+ "type": "boolean"
12315
+ }
12316
+ },
12317
+ "hasDynamicHelp": false,
12318
+ "hiddenAliases": [],
12319
+ "id": "hardis:project:fix:v53flexipages",
12320
+ "pluginAlias": "sfdx-hardis",
12321
+ "pluginName": "sfdx-hardis",
12322
+ "pluginType": "core",
12323
+ "strict": true,
12324
+ "enableJsonFlag": true,
12325
+ "title": "Fix flexipages for v53",
12326
+ "requiresProject": true,
12327
+ "isESM": true,
12328
+ "relativePath": [
12329
+ "lib",
12330
+ "commands",
12331
+ "hardis",
12332
+ "project",
12333
+ "fix",
12334
+ "v53flexipages.js"
12335
+ ],
12336
+ "aliasPermutations": [],
12337
+ "permutations": [
12338
+ "hardis:project:fix:v53flexipages",
12339
+ "project:hardis:fix:v53flexipages",
12340
+ "project:fix:hardis:v53flexipages",
12341
+ "project:fix:v53flexipages:hardis",
12342
+ "hardis:fix:project:v53flexipages",
12343
+ "fix:hardis:project:v53flexipages",
12344
+ "fix:project:hardis:v53flexipages",
12345
+ "fix:project:v53flexipages:hardis",
12346
+ "hardis:fix:v53flexipages:project",
12347
+ "fix:hardis:v53flexipages:project",
12348
+ "fix:v53flexipages:hardis:project",
12349
+ "fix:v53flexipages:project:hardis",
12350
+ "hardis:project:v53flexipages:fix",
12351
+ "project:hardis:v53flexipages:fix",
12352
+ "project:v53flexipages:hardis:fix",
12353
+ "project:v53flexipages:fix:hardis",
12354
+ "hardis:v53flexipages:project:fix",
12355
+ "v53flexipages:hardis:project:fix",
12356
+ "v53flexipages:project:hardis:fix",
12357
+ "v53flexipages:project:fix:hardis",
12358
+ "hardis:v53flexipages:fix:project",
12359
+ "v53flexipages:hardis:fix:project",
12360
+ "v53flexipages:fix:hardis:project",
12361
+ "v53flexipages:fix:project:hardis"
12362
+ ]
12363
+ },
12364
12364
  "hardis:project:generate:bypass": {
12365
12365
  "aliases": [],
12366
12366
  "args": {},
12367
12367
  "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 ",
12368
12368
  "examples": [
12369
12369
  "$ sf hardis:project:generate:bypass",
12370
- "$ sf hardis:project:generate:bypass --global",
12371
12370
  "$ sf hardis:project:generate:bypass --sObjects Account,Contact,Opportunity",
12372
12371
  "$ sf hardis:project:generate:bypass --automations Flow,Trigger,VR",
12373
12372
  "$ sf hardis:project:generate:bypass --sObjects Account,Opportunity --automations Flow,Trigger",
12374
- "$ sf hardis:project:generate:bypass --skip-credits"
12373
+ "$ sf hardis:project:generate:bypass --skipCredits",
12374
+ "$ sf hardis:project:generate:bypass --apply-to-vrs",
12375
+ "$ sf hardis:project:generate:bypass --apply-to-triggers",
12376
+ "$ sf hardis:project:generate:bypass --metadata-source org"
12375
12377
  ],
12376
12378
  "flags": {
12377
12379
  "json": {
@@ -12404,10 +12406,13 @@
12404
12406
  "multiple": false,
12405
12407
  "type": "option"
12406
12408
  },
12407
- "sObjects": {
12409
+ "objects": {
12410
+ "aliases": [
12411
+ "sObjects"
12412
+ ],
12408
12413
  "char": "s",
12409
12414
  "description": "Comma-separated list of sObjects to bypass (e.g., Account,Contact,Opportunity). If omitted, you will be prompted to select.",
12410
- "name": "sObjects",
12415
+ "name": "objects",
12411
12416
  "required": false,
12412
12417
  "hasDynamicHelp": false,
12413
12418
  "multiple": false,
@@ -12415,21 +12420,13 @@
12415
12420
  },
12416
12421
  "automations": {
12417
12422
  "char": "a",
12418
- "description": "Comma-separated list of automations to bypass. Allowed values: Flow, Trigger, VR",
12423
+ "description": "Comma-separated automations to bypass: Flow, Trigger, VR",
12419
12424
  "name": "automations",
12420
12425
  "required": false,
12421
12426
  "hasDynamicHelp": false,
12422
12427
  "multiple": false,
12423
12428
  "type": "option"
12424
12429
  },
12425
- "global": {
12426
- "char": "g",
12427
- "description": "Generate global bypasses for all automations (Flow, Trigger, VR) without selecting sObjects.",
12428
- "name": "global",
12429
- "required": false,
12430
- "allowNo": false,
12431
- "type": "boolean"
12432
- },
12433
12430
  "websocket": {
12434
12431
  "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
12435
12432
  "name": "websocket",
@@ -12443,16 +12440,48 @@
12443
12440
  "allowNo": false,
12444
12441
  "type": "boolean"
12445
12442
  },
12446
- "skipCredits": {
12443
+ "skip-credits": {
12447
12444
  "aliases": [
12448
- "skip-credits"
12445
+ "skipCredits"
12449
12446
  ],
12450
12447
  "char": "k",
12451
- "description": "If true, omit the \"Generated by\" line in the XML files.",
12452
- "name": "skipCredits",
12448
+ "description": "Omit the \"Generated by\" line in the XML files",
12449
+ "name": "skip-credits",
12450
+ "required": false,
12451
+ "allowNo": false,
12452
+ "type": "boolean"
12453
+ },
12454
+ "apply-to-vrs": {
12455
+ "aliases": [
12456
+ "applyToVrs"
12457
+ ],
12458
+ "description": "Apply bypass to Validation Rules",
12459
+ "name": "apply-to-vrs",
12460
+ "required": false,
12461
+ "allowNo": false,
12462
+ "type": "boolean"
12463
+ },
12464
+ "apply-to-triggers": {
12465
+ "aliases": [
12466
+ "applyToTriggers"
12467
+ ],
12468
+ "description": "Apply bypass to Triggers",
12469
+ "name": "apply-to-triggers",
12453
12470
  "required": false,
12454
12471
  "allowNo": false,
12455
12472
  "type": "boolean"
12473
+ },
12474
+ "metadata-source": {
12475
+ "aliases": [
12476
+ "metadataSource"
12477
+ ],
12478
+ "char": "r",
12479
+ "description": "Source of metadata elements to apply bypass to. Options: 'org' or 'local'.",
12480
+ "name": "metadata-source",
12481
+ "required": false,
12482
+ "hasDynamicHelp": false,
12483
+ "multiple": false,
12484
+ "type": "option"
12456
12485
  }
12457
12486
  },
12458
12487
  "hasDynamicHelp": true,
@@ -14814,5 +14843,5 @@
14814
14843
  ]
14815
14844
  }
14816
14845
  },
14817
- "version": "5.43.4"
14846
+ "version": "5.44.0"
14818
14847
  }