sfdx-hardis 5.44.2-alpha202507221352.0 → 5.44.2-alpha202507221406.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 (2) hide show
  1. package/oclif.manifest.json +611 -611
  2. package/package.json +1 -1
@@ -57,12 +57,13 @@
57
57
  "world:hello"
58
58
  ]
59
59
  },
60
- "hardis:cache:clear": {
60
+ "hardis:auth:login": {
61
61
  "aliases": [],
62
62
  "args": {},
63
- "description": "Clear cache generated by sfdx-hardis",
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",
64
64
  "examples": [
65
- "$ sf hardis:cache:clear"
65
+ "$ sf hardis:auth:login",
66
+ "CI=true sf hardis:auth:login"
66
67
  ],
67
68
  "flags": {
68
69
  "json": {
@@ -80,6 +81,28 @@
80
81
  "multiple": false,
81
82
  "type": "option"
82
83
  },
84
+ "instanceurl": {
85
+ "char": "r",
86
+ "description": "URL of org instance",
87
+ "name": "instanceurl",
88
+ "hasDynamicHelp": false,
89
+ "multiple": false,
90
+ "type": "option"
91
+ },
92
+ "devhub": {
93
+ "char": "h",
94
+ "description": "Also connect associated DevHub",
95
+ "name": "devhub",
96
+ "allowNo": false,
97
+ "type": "boolean"
98
+ },
99
+ "scratchorg": {
100
+ "char": "s",
101
+ "description": "Scratch org",
102
+ "name": "scratchorg",
103
+ "allowNo": false,
104
+ "type": "boolean"
105
+ },
83
106
  "debug": {
84
107
  "char": "d",
85
108
  "description": "Activate debug mode (more logs)",
@@ -103,39 +126,38 @@
103
126
  },
104
127
  "hasDynamicHelp": false,
105
128
  "hiddenAliases": [],
106
- "id": "hardis:cache:clear",
129
+ "id": "hardis:auth:login",
107
130
  "pluginAlias": "sfdx-hardis",
108
131
  "pluginName": "sfdx-hardis",
109
132
  "pluginType": "core",
110
133
  "strict": true,
111
134
  "enableJsonFlag": true,
112
- "title": "Clear sfdx-hardis cache",
135
+ "title": "Login",
113
136
  "requiresProject": false,
114
137
  "isESM": true,
115
138
  "relativePath": [
116
139
  "lib",
117
140
  "commands",
118
141
  "hardis",
119
- "cache",
120
- "clear.js"
142
+ "auth",
143
+ "login.js"
121
144
  ],
122
145
  "aliasPermutations": [],
123
146
  "permutations": [
124
- "hardis:cache:clear",
125
- "cache:hardis:clear",
126
- "cache:clear:hardis",
127
- "hardis:clear:cache",
128
- "clear:hardis:cache",
129
- "clear:cache:hardis"
147
+ "hardis:auth:login",
148
+ "auth:hardis:login",
149
+ "auth:login:hardis",
150
+ "hardis:login:auth",
151
+ "login:hardis:auth",
152
+ "login:auth:hardis"
130
153
  ]
131
154
  },
132
- "hardis:auth:login": {
155
+ "hardis:cache:clear": {
133
156
  "aliases": [],
134
157
  "args": {},
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",
158
+ "description": "Clear cache generated by sfdx-hardis",
136
159
  "examples": [
137
- "$ sf hardis:auth:login",
138
- "CI=true sf hardis:auth:login"
160
+ "$ sf hardis:cache:clear"
139
161
  ],
140
162
  "flags": {
141
163
  "json": {
@@ -153,28 +175,6 @@
153
175
  "multiple": false,
154
176
  "type": "option"
155
177
  },
156
- "instanceurl": {
157
- "char": "r",
158
- "description": "URL of org instance",
159
- "name": "instanceurl",
160
- "hasDynamicHelp": false,
161
- "multiple": false,
162
- "type": "option"
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
- },
178
178
  "debug": {
179
179
  "char": "d",
180
180
  "description": "Activate debug mode (more logs)",
@@ -198,30 +198,30 @@
198
198
  },
199
199
  "hasDynamicHelp": false,
200
200
  "hiddenAliases": [],
201
- "id": "hardis:auth:login",
201
+ "id": "hardis:cache:clear",
202
202
  "pluginAlias": "sfdx-hardis",
203
203
  "pluginName": "sfdx-hardis",
204
204
  "pluginType": "core",
205
205
  "strict": true,
206
206
  "enableJsonFlag": true,
207
- "title": "Login",
207
+ "title": "Clear sfdx-hardis cache",
208
208
  "requiresProject": false,
209
209
  "isESM": true,
210
210
  "relativePath": [
211
211
  "lib",
212
212
  "commands",
213
213
  "hardis",
214
- "auth",
215
- "login.js"
214
+ "cache",
215
+ "clear.js"
216
216
  ],
217
217
  "aliasPermutations": [],
218
218
  "permutations": [
219
- "hardis:auth:login",
220
- "auth:hardis:login",
221
- "auth:login:hardis",
222
- "hardis:login:auth",
223
- "login:hardis:auth",
224
- "login:auth:hardis"
219
+ "hardis:cache:clear",
220
+ "cache:hardis:clear",
221
+ "cache:clear:hardis",
222
+ "hardis:clear:cache",
223
+ "clear:hardis:cache",
224
+ "clear:cache:hardis"
225
225
  ]
226
226
  },
227
227
  "hardis:config:get": {
@@ -7592,6 +7592,113 @@
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
+ },
7595
7702
  "hardis:org:purge:apexlog": {
7596
7703
  "aliases": [],
7597
7704
  "args": {},
@@ -7860,13 +7967,12 @@
7860
7967
  "flow:purge:org:hardis"
7861
7968
  ]
7862
7969
  },
7863
- "hardis:org:retrieve:packageconfig": {
7970
+ "hardis:org:test:apex": {
7864
7971
  "aliases": [],
7865
7972
  "args": {},
7866
- "description": "Retrieve package configuration from an org",
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",
7867
7974
  "examples": [
7868
- "$ sf hardis:org:retrieve:packageconfig",
7869
- "sf hardis:org:retrieve:packageconfig -u myOrg"
7975
+ "$ sf hardis:org:test:apex"
7870
7976
  ],
7871
7977
  "flags": {
7872
7978
  "json": {
@@ -7884,6 +7990,21 @@
7884
7990
  "multiple": false,
7885
7991
  "type": "option"
7886
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
+ },
7887
8008
  "debug": {
7888
8009
  "char": "d",
7889
8010
  "description": "Activate debug mode (more logs)",
@@ -7922,49 +8043,48 @@
7922
8043
  },
7923
8044
  "hasDynamicHelp": true,
7924
8045
  "hiddenAliases": [],
7925
- "id": "hardis:org:retrieve:packageconfig",
8046
+ "id": "hardis:org:test:apex",
7926
8047
  "pluginAlias": "sfdx-hardis",
7927
8048
  "pluginName": "sfdx-hardis",
7928
8049
  "pluginType": "core",
7929
8050
  "strict": true,
7930
8051
  "enableJsonFlag": true,
7931
- "title": "Retrieve package configuration from an org",
7932
- "requiresProject": false,
8052
+ "title": "Run apex tests",
7933
8053
  "isESM": true,
7934
8054
  "relativePath": [
7935
8055
  "lib",
7936
8056
  "commands",
7937
8057
  "hardis",
7938
8058
  "org",
7939
- "retrieve",
7940
- "packageconfig.js"
8059
+ "test",
8060
+ "apex.js"
7941
8061
  ],
7942
8062
  "aliasPermutations": [],
7943
8063
  "permutations": [
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"
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
+ "hardis:test:apex:org",
8073
+ "test:hardis:apex:org",
8074
+ "test:apex:hardis:org",
8075
+ "test:apex:org:hardis",
8076
+ "hardis:org:apex:test",
8077
+ "org:hardis:apex:test",
8078
+ "org:apex:hardis:test",
8079
+ "org:apex:test:hardis",
8080
+ "hardis:apex:org:test",
8081
+ "apex:hardis:org:test",
8082
+ "apex:org:hardis:test",
8083
+ "apex:org:test:hardis",
8084
+ "hardis:apex:test:org",
8085
+ "apex:hardis:test:org",
8086
+ "apex:test:hardis:org",
8087
+ "apex:test:org:hardis"
7968
8088
  ]
7969
8089
  },
7970
8090
  "hardis:org:user:activateinvalid": {
@@ -8367,126 +8487,6 @@
8367
8487
  "unfreeze:user:org:hardis"
8368
8488
  ]
8369
8489
  },
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
- },
8490
8490
  "hardis:package:version:create": {
8491
8491
  "aliases": [],
8492
8492
  "args": {},
@@ -9254,109 +9254,6 @@
9254
9254
  "remotesites:audit:project:hardis"
9255
9255
  ]
9256
9256
  },
9257
- "hardis:project:convert:profilestopermsets": {
9258
- "aliases": [],
9259
- "args": {},
9260
- "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
9261
- "examples": [
9262
- "$ sf hardis:project:convert:profilestopermsets"
9263
- ],
9264
- "flags": {
9265
- "json": {
9266
- "description": "Format output as json.",
9267
- "helpGroup": "GLOBAL",
9268
- "name": "json",
9269
- "allowNo": false,
9270
- "type": "boolean"
9271
- },
9272
- "flags-dir": {
9273
- "helpGroup": "GLOBAL",
9274
- "name": "flags-dir",
9275
- "summary": "Import flag values from a directory.",
9276
- "hasDynamicHelp": false,
9277
- "multiple": false,
9278
- "type": "option"
9279
- },
9280
- "except": {
9281
- "char": "e",
9282
- "description": "List of filters",
9283
- "name": "except",
9284
- "default": [],
9285
- "hasDynamicHelp": false,
9286
- "multiple": true,
9287
- "type": "option"
9288
- },
9289
- "debug": {
9290
- "char": "d",
9291
- "description": "Activate debug mode (more logs)",
9292
- "name": "debug",
9293
- "allowNo": false,
9294
- "type": "boolean"
9295
- },
9296
- "websocket": {
9297
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
9298
- "name": "websocket",
9299
- "hasDynamicHelp": false,
9300
- "multiple": false,
9301
- "type": "option"
9302
- },
9303
- "skipauth": {
9304
- "description": "Skip authentication check when a default username is required",
9305
- "name": "skipauth",
9306
- "allowNo": false,
9307
- "type": "boolean"
9308
- }
9309
- },
9310
- "hasDynamicHelp": false,
9311
- "hiddenAliases": [],
9312
- "id": "hardis:project:convert:profilestopermsets",
9313
- "pluginAlias": "sfdx-hardis",
9314
- "pluginName": "sfdx-hardis",
9315
- "pluginType": "core",
9316
- "strict": true,
9317
- "enableJsonFlag": true,
9318
- "title": "Convert Profiles into Permission Sets",
9319
- "requiresProject": true,
9320
- "requiresSfdxPlugins": [
9321
- "shane-sfdx-plugins"
9322
- ],
9323
- "isESM": true,
9324
- "relativePath": [
9325
- "lib",
9326
- "commands",
9327
- "hardis",
9328
- "project",
9329
- "convert",
9330
- "profilestopermsets.js"
9331
- ],
9332
- "aliasPermutations": [],
9333
- "permutations": [
9334
- "hardis:project:convert:profilestopermsets",
9335
- "project:hardis:convert:profilestopermsets",
9336
- "project:convert:hardis:profilestopermsets",
9337
- "project:convert:profilestopermsets:hardis",
9338
- "hardis:convert:project:profilestopermsets",
9339
- "convert:hardis:project:profilestopermsets",
9340
- "convert:project:hardis:profilestopermsets",
9341
- "convert:project:profilestopermsets:hardis",
9342
- "hardis:convert:profilestopermsets:project",
9343
- "convert:hardis:profilestopermsets:project",
9344
- "convert:profilestopermsets:hardis:project",
9345
- "convert:profilestopermsets:project:hardis",
9346
- "hardis:project:profilestopermsets:convert",
9347
- "project:hardis:profilestopermsets:convert",
9348
- "project:profilestopermsets:hardis:convert",
9349
- "project:profilestopermsets:convert:hardis",
9350
- "hardis:profilestopermsets:project:convert",
9351
- "profilestopermsets:hardis:project:convert",
9352
- "profilestopermsets:project:hardis:convert",
9353
- "profilestopermsets:project:convert:hardis",
9354
- "hardis:profilestopermsets:convert:project",
9355
- "profilestopermsets:hardis:convert:project",
9356
- "profilestopermsets:convert:hardis:project",
9357
- "profilestopermsets:convert:project:hardis"
9358
- ]
9359
- },
9360
9257
  "hardis:project:configure:auth": {
9361
9258
  "aliases": [],
9362
9259
  "args": {},
@@ -9486,12 +9383,115 @@
9486
9383
  "auth:configure:project:hardis"
9487
9384
  ]
9488
9385
  },
9489
- "hardis:project:clean:emptyitems": {
9386
+ "hardis:project:convert:profilestopermsets": {
9490
9387
  "aliases": [],
9491
9388
  "args": {},
9492
- "description": "Remove unwanted empty items within sfdx project sources",
9389
+ "description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
9493
9390
  "examples": [
9494
- "$ sf hardis:project:clean:emptyitems"
9391
+ "$ sf hardis:project:convert:profilestopermsets"
9392
+ ],
9393
+ "flags": {
9394
+ "json": {
9395
+ "description": "Format output as json.",
9396
+ "helpGroup": "GLOBAL",
9397
+ "name": "json",
9398
+ "allowNo": false,
9399
+ "type": "boolean"
9400
+ },
9401
+ "flags-dir": {
9402
+ "helpGroup": "GLOBAL",
9403
+ "name": "flags-dir",
9404
+ "summary": "Import flag values from a directory.",
9405
+ "hasDynamicHelp": false,
9406
+ "multiple": false,
9407
+ "type": "option"
9408
+ },
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
9495
  ],
9496
9496
  "flags": {
9497
9497
  "json": {
@@ -10971,12 +10971,14 @@
10971
10971
  "xml:clean:project:hardis"
10972
10972
  ]
10973
10973
  },
10974
- "hardis:project:fix:profiletabs": {
10974
+ "hardis:project:deploy:notify": {
10975
10975
  "aliases": [],
10976
10976
  "args": {},
10977
- "description": "Interactive prompts to add tab visibilities that are not retrieved by project retrieve start",
10977
+ "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",
10978
10978
  "examples": [
10979
- "$ sf hardis:project:fix:profiletabs"
10979
+ "$ sf hardis:project:deploy:notify --check-only --deploy-status valid --message \"This deployment check is valid\\n\\nYahooo !!\"",
10980
+ "$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
10981
+ "$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
10980
10982
  ],
10981
10983
  "flags": {
10982
10984
  "json": {
@@ -10994,11 +10996,32 @@
10994
10996
  "multiple": false,
10995
10997
  "type": "option"
10996
10998
  },
10997
- "path": {
10998
- "char": "p",
10999
- "description": "Root folder",
11000
- "name": "path",
11001
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
10999
+ "check-only": {
11000
+ "char": "c",
11001
+ "description": "Use this option to send notifications from a Deployment simulation job",
11002
+ "name": "check-only",
11003
+ "allowNo": false,
11004
+ "type": "boolean"
11005
+ },
11006
+ "deploy-status": {
11007
+ "char": "s",
11008
+ "description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
11009
+ "name": "deploy-status",
11010
+ "default": "unknown",
11011
+ "hasDynamicHelp": false,
11012
+ "multiple": false,
11013
+ "options": [
11014
+ "valid",
11015
+ "invalid",
11016
+ "unknown"
11017
+ ],
11018
+ "type": "option"
11019
+ },
11020
+ "message": {
11021
+ "char": "m",
11022
+ "description": "Custom message that you want to be added in notifications (string or markdown format)",
11023
+ "name": "message",
11024
+ "default": "",
11002
11025
  "hasDynamicHelp": false,
11003
11026
  "multiple": false,
11004
11027
  "type": "option"
@@ -11041,13 +11064,13 @@
11041
11064
  },
11042
11065
  "hasDynamicHelp": true,
11043
11066
  "hiddenAliases": [],
11044
- "id": "hardis:project:fix:profiletabs",
11067
+ "id": "hardis:project:deploy:notify",
11045
11068
  "pluginAlias": "sfdx-hardis",
11046
11069
  "pluginName": "sfdx-hardis",
11047
11070
  "pluginType": "core",
11048
11071
  "strict": true,
11049
11072
  "enableJsonFlag": true,
11050
- "title": "Fix profiles to add tabs that are not retrieved by SF CLI",
11073
+ "title": "Deployment Notifications",
11051
11074
  "requiresProject": true,
11052
11075
  "isESM": true,
11053
11076
  "relativePath": [
@@ -11055,44 +11078,43 @@
11055
11078
  "commands",
11056
11079
  "hardis",
11057
11080
  "project",
11058
- "fix",
11059
- "profiletabs.js"
11081
+ "deploy",
11082
+ "notify.js"
11060
11083
  ],
11061
11084
  "aliasPermutations": [],
11062
11085
  "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"
11086
+ "hardis:project:deploy:notify",
11087
+ "project:hardis:deploy:notify",
11088
+ "project:deploy:hardis:notify",
11089
+ "project:deploy:notify:hardis",
11090
+ "hardis:deploy:project:notify",
11091
+ "deploy:hardis:project:notify",
11092
+ "deploy:project:hardis:notify",
11093
+ "deploy:project:notify:hardis",
11094
+ "hardis:deploy:notify:project",
11095
+ "deploy:hardis:notify:project",
11096
+ "deploy:notify:hardis:project",
11097
+ "deploy:notify:project:hardis",
11098
+ "hardis:project:notify:deploy",
11099
+ "project:hardis:notify:deploy",
11100
+ "project:notify:hardis:deploy",
11101
+ "project:notify:deploy:hardis",
11102
+ "hardis:notify:project:deploy",
11103
+ "notify:hardis:project:deploy",
11104
+ "notify:project:hardis:deploy",
11105
+ "notify:project:deploy:hardis",
11106
+ "hardis:notify:deploy:project",
11107
+ "notify:hardis:deploy:project",
11108
+ "notify:deploy:hardis:project",
11109
+ "notify:deploy:project:hardis"
11087
11110
  ]
11088
11111
  },
11089
- "hardis:project:fix:v53flexipages": {
11090
- "aliases": [],
11091
- "args": {},
11092
- "description": "Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json",
11093
- "examples": [
11094
- "$ sf hardis:project:fix:v53flexipages"
11112
+ "hardis:project:deploy:quick": {
11113
+ "aliases": [
11114
+ "hardis:deploy:quick"
11095
11115
  ],
11116
+ "args": {},
11117
+ "description": "sfdx-hardis wrapper for **sf project deploy quick** that displays tips to solve deployment errors.\n\nNote: Use **--json** argument to have better results\n\n[![Assisted solving of Salesforce deployments errors](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-deployment-errors.jpg)](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_project_commands_unified.htm#cli_reference_project_deploy_quick_unified)\n\n### Deployment pre or post commands\n\nYou can define command lines to run before or after a deployment, with parameters:\n\n- **id**: Unique Id for the command\n- **label**: Human readable label for the command\n- **skipIfError**: If defined to \"true\", the post-command won't be run if there is a deployment failure\n- **context**: Defines the context where the command will be run. Can be **all** (default), **check-deployment-only** or **process-deployment-only**\n- **runOnlyOnceByOrg**: If set to true, the command will be run only one time per org. A record of SfdxHardisTrace__c is stored to make that possible (it needs to be existing in target org)\n\nIf the commands are not the same depending on the target org, you can define them into **config/branches/.sfdx-hardis-BRANCHNAME.yml** instead of root **config/.sfdx-hardis.yml**\n\nExample:\n\n```yaml\ncommandsPreDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to the deployment user\n command: sf data update record --sobject User --where \"Username='deploy.github@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n\ncommandsPostDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to desired username\n command: sf data update record --sobject User --where \"Username='admin-yser@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n - id: someActionToRunJustOneTime\n label: And to run only if deployment is success\n command: sf sfdmu:run ...\n skipIfError: true\n context: process-deployment-only\n runOnlyOnceByOrg: true\n```\n",
11096
11118
  "flags": {
11097
11119
  "json": {
11098
11120
  "description": "Format output as json.",
@@ -11109,273 +11131,36 @@
11109
11131
  "multiple": false,
11110
11132
  "type": "option"
11111
11133
  },
11112
- "path": {
11113
- "char": "p",
11114
- "description": "Root folder",
11115
- "name": "path",
11116
- "default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
11134
+ "api-version": {
11135
+ "char": "a",
11136
+ "description": "api-version",
11137
+ "name": "api-version",
11117
11138
  "hasDynamicHelp": false,
11118
11139
  "multiple": false,
11119
11140
  "type": "option"
11120
11141
  },
11121
- "debug": {
11122
- "char": "d",
11123
- "description": "Activate debug mode (more logs)",
11124
- "name": "debug",
11142
+ "async": {
11143
+ "description": "async",
11144
+ "exclusive": [
11145
+ "wait"
11146
+ ],
11147
+ "name": "async",
11125
11148
  "allowNo": false,
11126
11149
  "type": "boolean"
11127
11150
  },
11128
- "websocket": {
11129
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
11130
- "name": "websocket",
11131
- "hasDynamicHelp": false,
11132
- "multiple": false,
11133
- "type": "option"
11134
- },
11135
- "skipauth": {
11136
- "description": "Skip authentication check when a default username is required",
11137
- "name": "skipauth",
11138
- "allowNo": false,
11139
- "type": "boolean"
11140
- }
11141
- },
11142
- "hasDynamicHelp": false,
11143
- "hiddenAliases": [],
11144
- "id": "hardis:project:fix:v53flexipages",
11145
- "pluginAlias": "sfdx-hardis",
11146
- "pluginName": "sfdx-hardis",
11147
- "pluginType": "core",
11148
- "strict": true,
11149
- "enableJsonFlag": true,
11150
- "title": "Fix flexipages for v53",
11151
- "requiresProject": true,
11152
- "isESM": true,
11153
- "relativePath": [
11154
- "lib",
11155
- "commands",
11156
- "hardis",
11157
- "project",
11158
- "fix",
11159
- "v53flexipages.js"
11160
- ],
11161
- "aliasPermutations": [],
11162
- "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"
11187
- ]
11188
- },
11189
- "hardis:project:deploy:notify": {
11190
- "aliases": [],
11191
- "args": {},
11192
- "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",
11193
- "examples": [
11194
- "$ sf hardis:project:deploy:notify --check-only --deploy-status valid --message \"This deployment check is valid\\n\\nYahooo !!\"",
11195
- "$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
11196
- "$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
11197
- ],
11198
- "flags": {
11199
- "json": {
11200
- "description": "Format output as json.",
11201
- "helpGroup": "GLOBAL",
11202
- "name": "json",
11203
- "allowNo": false,
11204
- "type": "boolean"
11205
- },
11206
- "flags-dir": {
11207
- "helpGroup": "GLOBAL",
11208
- "name": "flags-dir",
11209
- "summary": "Import flag values from a directory.",
11210
- "hasDynamicHelp": false,
11211
- "multiple": false,
11212
- "type": "option"
11213
- },
11214
- "check-only": {
11215
- "char": "c",
11216
- "description": "Use this option to send notifications from a Deployment simulation job",
11217
- "name": "check-only",
11218
- "allowNo": false,
11219
- "type": "boolean"
11220
- },
11221
- "deploy-status": {
11222
- "char": "s",
11223
- "description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
11224
- "name": "deploy-status",
11225
- "default": "unknown",
11226
- "hasDynamicHelp": false,
11227
- "multiple": false,
11228
- "options": [
11229
- "valid",
11230
- "invalid",
11231
- "unknown"
11232
- ],
11233
- "type": "option"
11234
- },
11235
- "message": {
11236
- "char": "m",
11237
- "description": "Custom message that you want to be added in notifications (string or markdown format)",
11238
- "name": "message",
11239
- "default": "",
11240
- "hasDynamicHelp": false,
11241
- "multiple": false,
11242
- "type": "option"
11243
- },
11244
- "debug": {
11245
- "char": "d",
11246
- "description": "Activate debug mode (more logs)",
11247
- "name": "debug",
11248
- "allowNo": false,
11249
- "type": "boolean"
11250
- },
11251
- "websocket": {
11252
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
11253
- "name": "websocket",
11254
- "hasDynamicHelp": false,
11255
- "multiple": false,
11256
- "type": "option"
11257
- },
11258
- "skipauth": {
11259
- "description": "Skip authentication check when a default username is required",
11260
- "name": "skipauth",
11261
- "allowNo": false,
11262
- "type": "boolean"
11263
- },
11264
- "target-org": {
11265
- "aliases": [
11266
- "targetusername",
11267
- "u"
11268
- ],
11269
- "char": "o",
11270
- "deprecateAliases": true,
11271
- "name": "target-org",
11272
- "noCacheDefault": true,
11273
- "required": true,
11274
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
11275
- "hasDynamicHelp": true,
11276
- "multiple": false,
11277
- "type": "option"
11278
- }
11279
- },
11280
- "hasDynamicHelp": true,
11281
- "hiddenAliases": [],
11282
- "id": "hardis:project:deploy:notify",
11283
- "pluginAlias": "sfdx-hardis",
11284
- "pluginName": "sfdx-hardis",
11285
- "pluginType": "core",
11286
- "strict": true,
11287
- "enableJsonFlag": true,
11288
- "title": "Deployment Notifications",
11289
- "requiresProject": true,
11290
- "isESM": true,
11291
- "relativePath": [
11292
- "lib",
11293
- "commands",
11294
- "hardis",
11295
- "project",
11296
- "deploy",
11297
- "notify.js"
11298
- ],
11299
- "aliasPermutations": [],
11300
- "permutations": [
11301
- "hardis:project:deploy:notify",
11302
- "project:hardis:deploy:notify",
11303
- "project:deploy:hardis:notify",
11304
- "project:deploy:notify:hardis",
11305
- "hardis:deploy:project:notify",
11306
- "deploy:hardis:project:notify",
11307
- "deploy:project:hardis:notify",
11308
- "deploy:project:notify:hardis",
11309
- "hardis:deploy:notify:project",
11310
- "deploy:hardis:notify:project",
11311
- "deploy:notify:hardis:project",
11312
- "deploy:notify:project:hardis",
11313
- "hardis:project:notify:deploy",
11314
- "project:hardis:notify:deploy",
11315
- "project:notify:hardis:deploy",
11316
- "project:notify:deploy:hardis",
11317
- "hardis:notify:project:deploy",
11318
- "notify:hardis:project:deploy",
11319
- "notify:project:hardis:deploy",
11320
- "notify:project:deploy:hardis",
11321
- "hardis:notify:deploy:project",
11322
- "notify:hardis:deploy:project",
11323
- "notify:deploy:hardis:project",
11324
- "notify:deploy:project:hardis"
11325
- ]
11326
- },
11327
- "hardis:project:deploy:quick": {
11328
- "aliases": [
11329
- "hardis:deploy:quick"
11330
- ],
11331
- "args": {},
11332
- "description": "sfdx-hardis wrapper for **sf project deploy quick** that displays tips to solve deployment errors.\n\nNote: Use **--json** argument to have better results\n\n[![Assisted solving of Salesforce deployments errors](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-deployment-errors.jpg)](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_project_commands_unified.htm#cli_reference_project_deploy_quick_unified)\n\n### Deployment pre or post commands\n\nYou can define command lines to run before or after a deployment, with parameters:\n\n- **id**: Unique Id for the command\n- **label**: Human readable label for the command\n- **skipIfError**: If defined to \"true\", the post-command won't be run if there is a deployment failure\n- **context**: Defines the context where the command will be run. Can be **all** (default), **check-deployment-only** or **process-deployment-only**\n- **runOnlyOnceByOrg**: If set to true, the command will be run only one time per org. A record of SfdxHardisTrace__c is stored to make that possible (it needs to be existing in target org)\n\nIf the commands are not the same depending on the target org, you can define them into **config/branches/.sfdx-hardis-BRANCHNAME.yml** instead of root **config/.sfdx-hardis.yml**\n\nExample:\n\n```yaml\ncommandsPreDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to the deployment user\n command: sf data update record --sobject User --where \"Username='deploy.github@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n\ncommandsPostDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to desired username\n command: sf data update record --sobject User --where \"Username='admin-yser@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n - id: someActionToRunJustOneTime\n label: And to run only if deployment is success\n command: sf sfdmu:run ...\n skipIfError: true\n context: process-deployment-only\n runOnlyOnceByOrg: true\n```\n",
11333
- "flags": {
11334
- "json": {
11335
- "description": "Format output as json.",
11336
- "helpGroup": "GLOBAL",
11337
- "name": "json",
11338
- "allowNo": false,
11339
- "type": "boolean"
11340
- },
11341
- "flags-dir": {
11342
- "helpGroup": "GLOBAL",
11343
- "name": "flags-dir",
11344
- "summary": "Import flag values from a directory.",
11345
- "hasDynamicHelp": false,
11346
- "multiple": false,
11347
- "type": "option"
11348
- },
11349
- "api-version": {
11350
- "char": "a",
11351
- "description": "api-version",
11352
- "name": "api-version",
11353
- "hasDynamicHelp": false,
11354
- "multiple": false,
11355
- "type": "option"
11356
- },
11357
- "async": {
11358
- "description": "async",
11359
- "exclusive": [
11360
- "wait"
11361
- ],
11362
- "name": "async",
11363
- "allowNo": false,
11364
- "type": "boolean"
11365
- },
11366
- "target-org": {
11367
- "char": "o",
11368
- "name": "target-org",
11369
- "noCacheDefault": true,
11370
- "required": true,
11371
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
11372
- "hasDynamicHelp": true,
11373
- "multiple": false,
11374
- "type": "option"
11375
- },
11376
- "tests": {
11377
- "description": "tests",
11378
- "name": "tests",
11151
+ "target-org": {
11152
+ "char": "o",
11153
+ "name": "target-org",
11154
+ "noCacheDefault": true,
11155
+ "required": true,
11156
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
11157
+ "hasDynamicHelp": true,
11158
+ "multiple": false,
11159
+ "type": "option"
11160
+ },
11161
+ "tests": {
11162
+ "description": "tests",
11163
+ "name": "tests",
11379
11164
  "hasDynamicHelp": false,
11380
11165
  "multiple": false,
11381
11166
  "type": "option"
@@ -12361,6 +12146,221 @@
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": {},
@@ -14843,5 +14843,5 @@
14843
14843
  ]
14844
14844
  }
14845
14845
  },
14846
- "version": "5.44.2-alpha202507221352.0"
14846
+ "version": "5.44.2-alpha202507221406.0"
14847
14847
  }