sfdx-hardis 6.10.1-alpha202511022140.0 → 6.11.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.
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta`
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## [6.11.0] 2025-11-02
|
|
8
|
+
|
|
9
|
+
- New feature: [**Deployment actions**](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-work-on-task-deployment-actions/) at Pull Request level
|
|
8
10
|
- Define pre-deploy and post-deploy commands to be executed during CI/CD deployments
|
|
9
11
|
- Display summary in Pull Request with details of each command execution
|
|
10
12
|
- Update CI/CD documentation & screenshots
|
|
@@ -33,7 +33,7 @@ export async function executePrePostCommands(property, options) {
|
|
|
33
33
|
continue;
|
|
34
34
|
}
|
|
35
35
|
// If if skipIfError is true and deployment failed
|
|
36
|
-
if (options.success === false && cmd
|
|
36
|
+
if (options.success === false && !(cmd?.skipIfError === false)) {
|
|
37
37
|
uxLog("action", this, c.yellow(`[DeploymentActions] Skipping ${cmd.label} (skipIfError=true) `));
|
|
38
38
|
cmd.result = {
|
|
39
39
|
statusCode: "skipped",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prePostCommandUtils.js","sourceRoot":"","sources":["../../../src/common/utils/prePostCommandUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,CAAC,MAAM,OAAO,CAAC;AACtB,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,KAAK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|
134
134
|
},
|
|
135
|
-
"hardis:
|
|
135
|
+
"hardis:config:get": {
|
|
136
136
|
"aliases": [],
|
|
137
137
|
"args": {},
|
|
138
|
-
"description": "\n## Command Behavior\n\n**
|
|
138
|
+
"description": "\n## Command Behavior\n\n**Retrieves and displays the sfdx-hardis configuration for a specified level.**\n\nThis command allows you to inspect the configuration that is currently in effect for your project, which is useful for debugging and understanding how sfdx-hardis will behave.\n\n- **Configuration levels:** It can retrieve configuration from three different levels:\n - **Project:** The configuration defined in the project's `.sfdx-hardis.yml` file.\n - **Branch:** The configuration defined in a branch-specific configuration file (e.g., `.sfdx-hardis.production.yml`).\n - **User:** The global user-level configuration.\n\n## Technical explanations\n\nThe command's logic is straightforward:\n\n- **`getConfig` function:** It calls the `getConfig` utility function, passing the desired configuration level as an argument.\n- **Configuration loading:** The `getConfig` function is responsible for finding the appropriate configuration file, reading its contents, and parsing it as YAML or JSON.\n- **Output:** The retrieved configuration is then displayed to the user as a JSON string.\n",
|
|
139
139
|
"examples": [
|
|
140
|
-
"$ sf hardis:
|
|
141
|
-
"CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
|
|
140
|
+
"$ sf hardis:project:deploy:sources:metadata"
|
|
142
141
|
],
|
|
143
142
|
"flags": {
|
|
144
143
|
"json": {
|
|
@@ -156,28 +155,20 @@
|
|
|
156
155
|
"multiple": false,
|
|
157
156
|
"type": "option"
|
|
158
157
|
},
|
|
159
|
-
"
|
|
160
|
-
"char": "
|
|
161
|
-
"description": "
|
|
162
|
-
"name": "
|
|
158
|
+
"level": {
|
|
159
|
+
"char": "l",
|
|
160
|
+
"description": "project,branch or user",
|
|
161
|
+
"name": "level",
|
|
162
|
+
"default": "project",
|
|
163
163
|
"hasDynamicHelp": false,
|
|
164
164
|
"multiple": false,
|
|
165
|
+
"options": [
|
|
166
|
+
"project",
|
|
167
|
+
"branch",
|
|
168
|
+
"user"
|
|
169
|
+
],
|
|
165
170
|
"type": "option"
|
|
166
171
|
},
|
|
167
|
-
"devhub": {
|
|
168
|
-
"char": "h",
|
|
169
|
-
"description": "Also connect associated DevHub",
|
|
170
|
-
"name": "devhub",
|
|
171
|
-
"allowNo": false,
|
|
172
|
-
"type": "boolean"
|
|
173
|
-
},
|
|
174
|
-
"scratchorg": {
|
|
175
|
-
"char": "s",
|
|
176
|
-
"description": "Scratch org",
|
|
177
|
-
"name": "scratchorg",
|
|
178
|
-
"allowNo": false,
|
|
179
|
-
"type": "boolean"
|
|
180
|
-
},
|
|
181
172
|
"debug": {
|
|
182
173
|
"char": "d",
|
|
183
174
|
"description": "Activate debug mode (more logs)",
|
|
@@ -201,38 +192,39 @@
|
|
|
201
192
|
},
|
|
202
193
|
"hasDynamicHelp": false,
|
|
203
194
|
"hiddenAliases": [],
|
|
204
|
-
"id": "hardis:
|
|
195
|
+
"id": "hardis:config:get",
|
|
205
196
|
"pluginAlias": "sfdx-hardis",
|
|
206
197
|
"pluginName": "sfdx-hardis",
|
|
207
198
|
"pluginType": "core",
|
|
208
199
|
"strict": true,
|
|
209
200
|
"enableJsonFlag": true,
|
|
210
|
-
"title": "
|
|
201
|
+
"title": "Deploy metadata sources to org",
|
|
211
202
|
"requiresProject": false,
|
|
212
203
|
"isESM": true,
|
|
213
204
|
"relativePath": [
|
|
214
205
|
"lib",
|
|
215
206
|
"commands",
|
|
216
207
|
"hardis",
|
|
217
|
-
"
|
|
218
|
-
"
|
|
208
|
+
"config",
|
|
209
|
+
"get.js"
|
|
219
210
|
],
|
|
220
211
|
"aliasPermutations": [],
|
|
221
212
|
"permutations": [
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"hardis:
|
|
226
|
-
"
|
|
227
|
-
"
|
|
213
|
+
"hardis:config:get",
|
|
214
|
+
"config:hardis:get",
|
|
215
|
+
"config:get:hardis",
|
|
216
|
+
"hardis:get:config",
|
|
217
|
+
"get:hardis:config",
|
|
218
|
+
"get:config:hardis"
|
|
228
219
|
]
|
|
229
220
|
},
|
|
230
|
-
"hardis:
|
|
221
|
+
"hardis:auth:login": {
|
|
231
222
|
"aliases": [],
|
|
232
223
|
"args": {},
|
|
233
|
-
"description": "\n## Command Behavior\n\n**
|
|
224
|
+
"description": "\n## Command Behavior\n\n**Authenticates to a Salesforce org, primarily designed for CI/CD workflows.**\n\nThis command facilitates secure and automated logins to Salesforce organizations within continuous integration and continuous delivery pipelines. It leverages pre-configured authentication details, ensuring that CI/CD processes can interact with Salesforce without manual intervention.\n\nKey aspects:\n\n- **Configuration-Driven:** It relies on authentication variables and files set up by dedicated configuration commands:\n - For CI/CD repositories: [Configure Org CI Authentication](https://sfdx-hardis.cloudity.com/hardis/project/configure/auth/)\n - For Monitoring repositories: [Configure Org Monitoring](https://sfdx-hardis.cloudity.com/hardis/org/configure/monitoring/)\n- **Technical Org Support:** Supports authentication to a 'technical org' (e.g., for calling Agentforce from another org) by utilizing the `SFDX_AUTH_URL_TECHNICAL_ORG` environment variable. If this variable is set, the command authenticates to this org with the alias `TECHNICAL_ORG`.\n\nTo obtain the `SFDX_AUTH_URL_TECHNICAL_ORG` value, you can run `sf org display --verbose --json` and copy the `sfdxAuthUrl` field from the output.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical flow involves:\n\n- **Flag Parsing:** It parses command-line flags such as `instanceurl`, `devhub`, `scratchorg`, and `debug` to determine the authentication context.\n- **Authentication Hook:** It triggers an internal authentication hook (`this.config.runHook('auth', ...`)) which is responsible for executing the actual authentication logic based on the provided flags (e.g., whether it's a Dev Hub or a scratch org).\n- **Environment Variable Check:** It checks for the presence of `SFDX_AUTH_URL_TECHNICAL_ORG` or `TECHNICAL_ORG_ALIAS` environment variables.\n- **`authOrg` Utility:** If a technical org is configured, it calls the `authOrg` utility function to perform the authentication for that specific org, ensuring it's connected and available for subsequent operations.\n- **Salesforce CLI Integration:** It integrates with the Salesforce CLI's authentication mechanisms to establish and manage org connections.\n</details>\n",
|
|
234
225
|
"examples": [
|
|
235
|
-
"$ sf hardis:
|
|
226
|
+
"$ sf hardis:auth:login",
|
|
227
|
+
"CI=true CI_COMMIT_REF_NAME=monitoring_myclient sf hardis:auth:login"
|
|
236
228
|
],
|
|
237
229
|
"flags": {
|
|
238
230
|
"json": {
|
|
@@ -250,20 +242,28 @@
|
|
|
250
242
|
"multiple": false,
|
|
251
243
|
"type": "option"
|
|
252
244
|
},
|
|
253
|
-
"
|
|
254
|
-
"char": "
|
|
255
|
-
"description": "
|
|
256
|
-
"name": "
|
|
257
|
-
"default": "project",
|
|
245
|
+
"instanceurl": {
|
|
246
|
+
"char": "r",
|
|
247
|
+
"description": "URL of org instance",
|
|
248
|
+
"name": "instanceurl",
|
|
258
249
|
"hasDynamicHelp": false,
|
|
259
250
|
"multiple": false,
|
|
260
|
-
"options": [
|
|
261
|
-
"project",
|
|
262
|
-
"branch",
|
|
263
|
-
"user"
|
|
264
|
-
],
|
|
265
251
|
"type": "option"
|
|
266
252
|
},
|
|
253
|
+
"devhub": {
|
|
254
|
+
"char": "h",
|
|
255
|
+
"description": "Also connect associated DevHub",
|
|
256
|
+
"name": "devhub",
|
|
257
|
+
"allowNo": false,
|
|
258
|
+
"type": "boolean"
|
|
259
|
+
},
|
|
260
|
+
"scratchorg": {
|
|
261
|
+
"char": "s",
|
|
262
|
+
"description": "Scratch org",
|
|
263
|
+
"name": "scratchorg",
|
|
264
|
+
"allowNo": false,
|
|
265
|
+
"type": "boolean"
|
|
266
|
+
},
|
|
267
267
|
"debug": {
|
|
268
268
|
"char": "d",
|
|
269
269
|
"description": "Activate debug mode (more logs)",
|
|
@@ -287,30 +287,30 @@
|
|
|
287
287
|
},
|
|
288
288
|
"hasDynamicHelp": false,
|
|
289
289
|
"hiddenAliases": [],
|
|
290
|
-
"id": "hardis:
|
|
290
|
+
"id": "hardis:auth:login",
|
|
291
291
|
"pluginAlias": "sfdx-hardis",
|
|
292
292
|
"pluginName": "sfdx-hardis",
|
|
293
293
|
"pluginType": "core",
|
|
294
294
|
"strict": true,
|
|
295
295
|
"enableJsonFlag": true,
|
|
296
|
-
"title": "
|
|
296
|
+
"title": "Login",
|
|
297
297
|
"requiresProject": false,
|
|
298
298
|
"isESM": true,
|
|
299
299
|
"relativePath": [
|
|
300
300
|
"lib",
|
|
301
301
|
"commands",
|
|
302
302
|
"hardis",
|
|
303
|
-
"
|
|
304
|
-
"
|
|
303
|
+
"auth",
|
|
304
|
+
"login.js"
|
|
305
305
|
],
|
|
306
306
|
"aliasPermutations": [],
|
|
307
307
|
"permutations": [
|
|
308
|
-
"hardis:
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
"hardis:
|
|
312
|
-
"
|
|
313
|
-
"
|
|
308
|
+
"hardis:auth:login",
|
|
309
|
+
"auth:hardis:login",
|
|
310
|
+
"auth:login:hardis",
|
|
311
|
+
"hardis:login:auth",
|
|
312
|
+
"login:hardis:auth",
|
|
313
|
+
"login:auth:hardis"
|
|
314
314
|
]
|
|
315
315
|
},
|
|
316
316
|
"hardis:doc:fieldusage": {
|
|
@@ -5923,128 +5923,6 @@
|
|
|
5923
5923
|
"listviewmine:fix:org:hardis"
|
|
5924
5924
|
]
|
|
5925
5925
|
},
|
|
5926
|
-
"hardis:org:generate:packagexmlfull": {
|
|
5927
|
-
"aliases": [],
|
|
5928
|
-
"args": {},
|
|
5929
|
-
"description": "\n## Command Behavior\n\n**Generates a comprehensive `package.xml` file for a Salesforce org, including all metadata components, even managed ones.**\n\nThis command is essential for various Salesforce development and administration tasks, especially when you need a complete snapshot of an org's metadata. It goes beyond typical source tracking by including managed package components, which is crucial for understanding the full metadata footprint of an org.\n\nKey functionalities:\n\n- **Full Org Metadata Retrieval:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a complete list of all metadata types and their members.\n- **Managed Package Inclusion:** Unlike standard source retrieval, this command explicitly includes metadata from managed packages, providing a truly comprehensive `package.xml`.\n- **Customizable Output:** Allows you to specify the output file path for the generated `package.xml`.\n- **Interactive Org Selection:** If no target org is specified, it interactively prompts the user to choose an org. (or use --no-prompt to skip this step)\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce Metadata API Interaction:** It leverages the Salesforce Metadata API to list all available metadata types and then retrieve all components for each type.\n- **`buildOrgManifest` Utility:** The core logic for querying the org's metadata and constructing the `package.xml` is encapsulated within the `buildOrgManifest` utility function.\n- **XML Generation:** It dynamically builds the XML structure of the `package.xml` file, including the `types` and `members` elements for all retrieved metadata.\n- **File System Operations:** It writes the generated `package.xml` file to the specified output path.\n- **Interactive Prompts:** Uses `promptOrgUsernameDefault` to guide the user in selecting the target Salesforce org.\n</details>\n",
|
|
5930
|
-
"examples": [
|
|
5931
|
-
"$ sf hardis:org:generate:packagexmlfull",
|
|
5932
|
-
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
5933
|
-
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
5934
|
-
],
|
|
5935
|
-
"flags": {
|
|
5936
|
-
"json": {
|
|
5937
|
-
"description": "Format output as json.",
|
|
5938
|
-
"helpGroup": "GLOBAL",
|
|
5939
|
-
"name": "json",
|
|
5940
|
-
"allowNo": false,
|
|
5941
|
-
"type": "boolean"
|
|
5942
|
-
},
|
|
5943
|
-
"flags-dir": {
|
|
5944
|
-
"helpGroup": "GLOBAL",
|
|
5945
|
-
"name": "flags-dir",
|
|
5946
|
-
"summary": "Import flag values from a directory.",
|
|
5947
|
-
"hasDynamicHelp": false,
|
|
5948
|
-
"multiple": false,
|
|
5949
|
-
"type": "option"
|
|
5950
|
-
},
|
|
5951
|
-
"outputfile": {
|
|
5952
|
-
"description": "Output package.xml file",
|
|
5953
|
-
"name": "outputfile",
|
|
5954
|
-
"hasDynamicHelp": false,
|
|
5955
|
-
"multiple": false,
|
|
5956
|
-
"type": "option"
|
|
5957
|
-
},
|
|
5958
|
-
"debug": {
|
|
5959
|
-
"char": "d",
|
|
5960
|
-
"description": "Activate debug mode (more logs)",
|
|
5961
|
-
"name": "debug",
|
|
5962
|
-
"allowNo": false,
|
|
5963
|
-
"type": "boolean"
|
|
5964
|
-
},
|
|
5965
|
-
"no-prompt": {
|
|
5966
|
-
"char": "n",
|
|
5967
|
-
"description": "Do not prompt for org username, use the default one",
|
|
5968
|
-
"name": "no-prompt",
|
|
5969
|
-
"allowNo": false,
|
|
5970
|
-
"type": "boolean"
|
|
5971
|
-
},
|
|
5972
|
-
"websocket": {
|
|
5973
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5974
|
-
"name": "websocket",
|
|
5975
|
-
"hasDynamicHelp": false,
|
|
5976
|
-
"multiple": false,
|
|
5977
|
-
"type": "option"
|
|
5978
|
-
},
|
|
5979
|
-
"skipauth": {
|
|
5980
|
-
"description": "Skip authentication check when a default username is required",
|
|
5981
|
-
"name": "skipauth",
|
|
5982
|
-
"allowNo": false,
|
|
5983
|
-
"type": "boolean"
|
|
5984
|
-
},
|
|
5985
|
-
"target-org": {
|
|
5986
|
-
"aliases": [
|
|
5987
|
-
"targetusername",
|
|
5988
|
-
"u"
|
|
5989
|
-
],
|
|
5990
|
-
"char": "o",
|
|
5991
|
-
"deprecateAliases": true,
|
|
5992
|
-
"name": "target-org",
|
|
5993
|
-
"noCacheDefault": true,
|
|
5994
|
-
"required": true,
|
|
5995
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5996
|
-
"hasDynamicHelp": true,
|
|
5997
|
-
"multiple": false,
|
|
5998
|
-
"type": "option"
|
|
5999
|
-
}
|
|
6000
|
-
},
|
|
6001
|
-
"hasDynamicHelp": true,
|
|
6002
|
-
"hiddenAliases": [],
|
|
6003
|
-
"id": "hardis:org:generate:packagexmlfull",
|
|
6004
|
-
"pluginAlias": "sfdx-hardis",
|
|
6005
|
-
"pluginName": "sfdx-hardis",
|
|
6006
|
-
"pluginType": "core",
|
|
6007
|
-
"strict": true,
|
|
6008
|
-
"enableJsonFlag": true,
|
|
6009
|
-
"title": "Generate Full Org package.xml",
|
|
6010
|
-
"requiresProject": false,
|
|
6011
|
-
"isESM": true,
|
|
6012
|
-
"relativePath": [
|
|
6013
|
-
"lib",
|
|
6014
|
-
"commands",
|
|
6015
|
-
"hardis",
|
|
6016
|
-
"org",
|
|
6017
|
-
"generate",
|
|
6018
|
-
"packagexmlfull.js"
|
|
6019
|
-
],
|
|
6020
|
-
"aliasPermutations": [],
|
|
6021
|
-
"permutations": [
|
|
6022
|
-
"hardis:org:generate:packagexmlfull",
|
|
6023
|
-
"org:hardis:generate:packagexmlfull",
|
|
6024
|
-
"org:generate:hardis:packagexmlfull",
|
|
6025
|
-
"org:generate:packagexmlfull:hardis",
|
|
6026
|
-
"hardis:generate:org:packagexmlfull",
|
|
6027
|
-
"generate:hardis:org:packagexmlfull",
|
|
6028
|
-
"generate:org:hardis:packagexmlfull",
|
|
6029
|
-
"generate:org:packagexmlfull:hardis",
|
|
6030
|
-
"hardis:generate:packagexmlfull:org",
|
|
6031
|
-
"generate:hardis:packagexmlfull:org",
|
|
6032
|
-
"generate:packagexmlfull:hardis:org",
|
|
6033
|
-
"generate:packagexmlfull:org:hardis",
|
|
6034
|
-
"hardis:org:packagexmlfull:generate",
|
|
6035
|
-
"org:hardis:packagexmlfull:generate",
|
|
6036
|
-
"org:packagexmlfull:hardis:generate",
|
|
6037
|
-
"org:packagexmlfull:generate:hardis",
|
|
6038
|
-
"hardis:packagexmlfull:org:generate",
|
|
6039
|
-
"packagexmlfull:hardis:org:generate",
|
|
6040
|
-
"packagexmlfull:org:hardis:generate",
|
|
6041
|
-
"packagexmlfull:org:generate:hardis",
|
|
6042
|
-
"hardis:packagexmlfull:generate:org",
|
|
6043
|
-
"packagexmlfull:hardis:generate:org",
|
|
6044
|
-
"packagexmlfull:generate:hardis:org",
|
|
6045
|
-
"packagexmlfull:generate:org:hardis"
|
|
6046
|
-
]
|
|
6047
|
-
},
|
|
6048
5926
|
"hardis:org:diagnose:audittrail": {
|
|
6049
5927
|
"aliases": [],
|
|
6050
5928
|
"args": {},
|
|
@@ -7422,12 +7300,14 @@
|
|
|
7422
7300
|
"unusedusers:diagnose:org:hardis"
|
|
7423
7301
|
]
|
|
7424
7302
|
},
|
|
7425
|
-
"hardis:org:
|
|
7303
|
+
"hardis:org:generate:packagexmlfull": {
|
|
7426
7304
|
"aliases": [],
|
|
7427
7305
|
"args": {},
|
|
7428
|
-
"description": "
|
|
7306
|
+
"description": "\n## Command Behavior\n\n**Generates a comprehensive `package.xml` file for a Salesforce org, including all metadata components, even managed ones.**\n\nThis command is essential for various Salesforce development and administration tasks, especially when you need a complete snapshot of an org's metadata. It goes beyond typical source tracking by including managed package components, which is crucial for understanding the full metadata footprint of an org.\n\nKey functionalities:\n\n- **Full Org Metadata Retrieval:** Connects to a specified Salesforce org (or prompts for one if not provided) and retrieves a complete list of all metadata types and their members.\n- **Managed Package Inclusion:** Unlike standard source retrieval, this command explicitly includes metadata from managed packages, providing a truly comprehensive `package.xml`.\n- **Customizable Output:** Allows you to specify the output file path for the generated `package.xml`.\n- **Interactive Org Selection:** If no target org is specified, it interactively prompts the user to choose an org. (or use --no-prompt to skip this step)\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **Salesforce Metadata API Interaction:** It leverages the Salesforce Metadata API to list all available metadata types and then retrieve all components for each type.\n- **`buildOrgManifest` Utility:** The core logic for querying the org's metadata and constructing the `package.xml` is encapsulated within the `buildOrgManifest` utility function.\n- **XML Generation:** It dynamically builds the XML structure of the `package.xml` file, including the `types` and `members` elements for all retrieved metadata.\n- **File System Operations:** It writes the generated `package.xml` file to the specified output path.\n- **Interactive Prompts:** Uses `promptOrgUsernameDefault` to guide the user in selecting the target Salesforce org.\n</details>\n",
|
|
7429
7307
|
"examples": [
|
|
7430
|
-
"$ sf hardis:org:
|
|
7308
|
+
"$ sf hardis:org:generate:packagexmlfull",
|
|
7309
|
+
"$ sf hardis:org:generate:packagexmlfull --outputfile /tmp/packagexmlfull.xml",
|
|
7310
|
+
"$ sf hardis:org:generate:packagexmlfull --target-org nico@example.com"
|
|
7431
7311
|
],
|
|
7432
7312
|
"flags": {
|
|
7433
7313
|
"json": {
|
|
@@ -7445,6 +7325,13 @@
|
|
|
7445
7325
|
"multiple": false,
|
|
7446
7326
|
"type": "option"
|
|
7447
7327
|
},
|
|
7328
|
+
"outputfile": {
|
|
7329
|
+
"description": "Output package.xml file",
|
|
7330
|
+
"name": "outputfile",
|
|
7331
|
+
"hasDynamicHelp": false,
|
|
7332
|
+
"multiple": false,
|
|
7333
|
+
"type": "option"
|
|
7334
|
+
},
|
|
7448
7335
|
"debug": {
|
|
7449
7336
|
"char": "d",
|
|
7450
7337
|
"description": "Activate debug mode (more logs)",
|
|
@@ -7452,6 +7339,13 @@
|
|
|
7452
7339
|
"allowNo": false,
|
|
7453
7340
|
"type": "boolean"
|
|
7454
7341
|
},
|
|
7342
|
+
"no-prompt": {
|
|
7343
|
+
"char": "n",
|
|
7344
|
+
"description": "Do not prompt for org username, use the default one",
|
|
7345
|
+
"name": "no-prompt",
|
|
7346
|
+
"allowNo": false,
|
|
7347
|
+
"type": "boolean"
|
|
7348
|
+
},
|
|
7455
7349
|
"websocket": {
|
|
7456
7350
|
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7457
7351
|
"name": "websocket",
|
|
@@ -7483,7 +7377,113 @@
|
|
|
7483
7377
|
},
|
|
7484
7378
|
"hasDynamicHelp": true,
|
|
7485
7379
|
"hiddenAliases": [],
|
|
7486
|
-
"id": "hardis:org:
|
|
7380
|
+
"id": "hardis:org:generate:packagexmlfull",
|
|
7381
|
+
"pluginAlias": "sfdx-hardis",
|
|
7382
|
+
"pluginName": "sfdx-hardis",
|
|
7383
|
+
"pluginType": "core",
|
|
7384
|
+
"strict": true,
|
|
7385
|
+
"enableJsonFlag": true,
|
|
7386
|
+
"title": "Generate Full Org package.xml",
|
|
7387
|
+
"requiresProject": false,
|
|
7388
|
+
"isESM": true,
|
|
7389
|
+
"relativePath": [
|
|
7390
|
+
"lib",
|
|
7391
|
+
"commands",
|
|
7392
|
+
"hardis",
|
|
7393
|
+
"org",
|
|
7394
|
+
"generate",
|
|
7395
|
+
"packagexmlfull.js"
|
|
7396
|
+
],
|
|
7397
|
+
"aliasPermutations": [],
|
|
7398
|
+
"permutations": [
|
|
7399
|
+
"hardis:org:generate:packagexmlfull",
|
|
7400
|
+
"org:hardis:generate:packagexmlfull",
|
|
7401
|
+
"org:generate:hardis:packagexmlfull",
|
|
7402
|
+
"org:generate:packagexmlfull:hardis",
|
|
7403
|
+
"hardis:generate:org:packagexmlfull",
|
|
7404
|
+
"generate:hardis:org:packagexmlfull",
|
|
7405
|
+
"generate:org:hardis:packagexmlfull",
|
|
7406
|
+
"generate:org:packagexmlfull:hardis",
|
|
7407
|
+
"hardis:generate:packagexmlfull:org",
|
|
7408
|
+
"generate:hardis:packagexmlfull:org",
|
|
7409
|
+
"generate:packagexmlfull:hardis:org",
|
|
7410
|
+
"generate:packagexmlfull:org:hardis",
|
|
7411
|
+
"hardis:org:packagexmlfull:generate",
|
|
7412
|
+
"org:hardis:packagexmlfull:generate",
|
|
7413
|
+
"org:packagexmlfull:hardis:generate",
|
|
7414
|
+
"org:packagexmlfull:generate:hardis",
|
|
7415
|
+
"hardis:packagexmlfull:org:generate",
|
|
7416
|
+
"packagexmlfull:hardis:org:generate",
|
|
7417
|
+
"packagexmlfull:org:hardis:generate",
|
|
7418
|
+
"packagexmlfull:org:generate:hardis",
|
|
7419
|
+
"hardis:packagexmlfull:generate:org",
|
|
7420
|
+
"packagexmlfull:hardis:generate:org",
|
|
7421
|
+
"packagexmlfull:generate:hardis:org",
|
|
7422
|
+
"packagexmlfull:generate:org:hardis"
|
|
7423
|
+
]
|
|
7424
|
+
},
|
|
7425
|
+
"hardis:org:monitor:all": {
|
|
7426
|
+
"aliases": [],
|
|
7427
|
+
"args": {},
|
|
7428
|
+
"description": "Monitor org, generate reports and sends notifications\n\nYou can disable some commands defining either a **monitoringDisable** property in `.sfdx-hardis.yml`, or a comma separated list in env variable **MONITORING_DISABLE**\n\nExample in .sfdx-hardis.yml:\n \n```yaml\nmonitoringDisable:\n - METADATA_STATUS\n - MISSING_ATTRIBUTES\n - UNUSED_METADATAS\n```\n \nExample in env var:\n\n```sh\nMONITORING_DISABLE=METADATA_STATUS,MISSING_ATTRIBUTES,UNUSED_METADATAS\n```\n\nA [default list of monitoring commands](https://sfdx-hardis.cloudity.com/salesforce-monitoring-home/#monitoring-commands) is used, if you want to override it you can define property **monitoringCommands** in your .sfdx-hardis.yml file\n\nExample:\n\n```yaml\nmonitoringCommands:\n - title: My Custom command\n command: sf my:custom:command\n - title: My Custom command 2\n command: sf my:other:custom:command\n```\n\nYou can force the daily run of all commands by defining env var `MONITORING_IGNORE_FREQUENCY=true`\n\nThe default list of commands is the following:\n\n| Key | Description | Command | Frequency |\n| :---: | :---- | :---- | :-----: |\n| [AUDIT_TRAIL](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail) | Detect suspect setup actions in major org | [sf hardis:org:diagnose:audittrail](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/audittrail) | daily |\n| [LEGACY_API](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/legacyapi) | Detect calls to deprecated API versions | [sf hardis:org:diagnose:legacyapi](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/legacyapi) | daily |\n| [ORG_LIMITS](https://sfdx-hardis.cloudity.com/hardis/org/monitor/limits) | Detect if org limits are close to be reached | [sf hardis:org:monitor:limits](https://sfdx-hardis.cloudity.com/hardis/org/monitor/limits) | daily |\n| [UNSECURED_CONNECTED_APPS](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unsecure-connected-apps) | Detect unsecured Connected Apps in an org | [sf hardis:org:diagnose:unsecure-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unsecure-connected-apps) | daily |\n| [LICENSES](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/licenses) | Extract licenses information | [sf hardis:org:diagnose:licenses](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/licenses) | weekly |\n| [LINT_ACCESS](https://sfdx-hardis.cloudity.com/hardis/lint/access) | Detect custom elements with no access rights defined in permission sets | [sf hardis:lint:access](https://sfdx-hardis.cloudity.com/hardis/lint/access) | weekly |\n| [UNUSED_LICENSES](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedlicenses) | Detect permission set licenses that are assigned to users that do not need them | [sf hardis:org:diagnose:unusedlicenses](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedlicenses) | weekly |\n| [UNUSED_USERS](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedusers) | Detect active users without recent logins | [sf hardis:org:diagnose:unusedusers](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedusers) | weekly |\n| [ACTIVE_USERS](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedusers) | Detect active users with recent logins | [sf hardis:org:diagnose:unusedusers --returnactiveusers](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unusedusers) | weekly |\n| [ORG_INFO](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/instanceupgrade) | Get org info + SF instance info + next major upgrade date | [sf hardis:org:diagnose:instanceupgrade](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/instanceupgrade) | weekly |\n| [RELEASE_UPDATES](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/releaseupdates) | Gather warnings about incoming and overdue Release Updates | [sf hardis:org:diagnose:releaseupdates](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/releaseupdates) | weekly |\n| [UNUSED_METADATAS](https://sfdx-hardis.cloudity.com/hardis/lint/unusedmetadatas) | Detect custom labels and custom permissions that are not in use | [sf hardis:lint:unusedmetadatas](https://sfdx-hardis.cloudity.com/hardis/lint/unusedmetadatas) | weekly |\n| [UNUSED_APEX_CLASSES](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-apex-classes) | Detect unused Apex classes in an org | [sf hardis:org:diagnose:unused-apex-classes](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-apex-classes) | weekly |\n| [CONNECTED_APPS](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-connected-apps) | Detect unused Connected Apps in an org | [sf hardis:org:diagnose:unused-connected-apps](https://sfdx-hardis.cloudity.com/hardis/org/diagnose/unused-connected-apps) | weekly |\n| [METADATA_STATUS](https://sfdx-hardis.cloudity.com/hardis/lint/metadatastatus) | Detect inactive metadata | [sf hardis:lint:metadatastatus](https://sfdx-hardis.cloudity.com/hardis/lint/metadatastatus) | weekly |\n| [MISSING_ATTRIBUTES](https://sfdx-hardis.cloudity.com/hardis/lint/missingattributes) | Detect missing description on custom field | [sf hardis:lint:missingattributes](https://sfdx-hardis.cloudity.com/hardis/lint/missingattributes) | weekly |\n\n",
|
|
7429
|
+
"examples": [
|
|
7430
|
+
"$ sf hardis:org:monitor:all"
|
|
7431
|
+
],
|
|
7432
|
+
"flags": {
|
|
7433
|
+
"json": {
|
|
7434
|
+
"description": "Format output as json.",
|
|
7435
|
+
"helpGroup": "GLOBAL",
|
|
7436
|
+
"name": "json",
|
|
7437
|
+
"allowNo": false,
|
|
7438
|
+
"type": "boolean"
|
|
7439
|
+
},
|
|
7440
|
+
"flags-dir": {
|
|
7441
|
+
"helpGroup": "GLOBAL",
|
|
7442
|
+
"name": "flags-dir",
|
|
7443
|
+
"summary": "Import flag values from a directory.",
|
|
7444
|
+
"hasDynamicHelp": false,
|
|
7445
|
+
"multiple": false,
|
|
7446
|
+
"type": "option"
|
|
7447
|
+
},
|
|
7448
|
+
"debug": {
|
|
7449
|
+
"char": "d",
|
|
7450
|
+
"description": "Activate debug mode (more logs)",
|
|
7451
|
+
"name": "debug",
|
|
7452
|
+
"allowNo": false,
|
|
7453
|
+
"type": "boolean"
|
|
7454
|
+
},
|
|
7455
|
+
"websocket": {
|
|
7456
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
7457
|
+
"name": "websocket",
|
|
7458
|
+
"hasDynamicHelp": false,
|
|
7459
|
+
"multiple": false,
|
|
7460
|
+
"type": "option"
|
|
7461
|
+
},
|
|
7462
|
+
"skipauth": {
|
|
7463
|
+
"description": "Skip authentication check when a default username is required",
|
|
7464
|
+
"name": "skipauth",
|
|
7465
|
+
"allowNo": false,
|
|
7466
|
+
"type": "boolean"
|
|
7467
|
+
},
|
|
7468
|
+
"target-org": {
|
|
7469
|
+
"aliases": [
|
|
7470
|
+
"targetusername",
|
|
7471
|
+
"u"
|
|
7472
|
+
],
|
|
7473
|
+
"char": "o",
|
|
7474
|
+
"deprecateAliases": true,
|
|
7475
|
+
"name": "target-org",
|
|
7476
|
+
"noCacheDefault": true,
|
|
7477
|
+
"required": true,
|
|
7478
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
7479
|
+
"hasDynamicHelp": true,
|
|
7480
|
+
"multiple": false,
|
|
7481
|
+
"type": "option"
|
|
7482
|
+
}
|
|
7483
|
+
},
|
|
7484
|
+
"hasDynamicHelp": true,
|
|
7485
|
+
"hiddenAliases": [],
|
|
7486
|
+
"id": "hardis:org:monitor:all",
|
|
7487
7487
|
"pluginAlias": "sfdx-hardis",
|
|
7488
7488
|
"pluginName": "sfdx-hardis",
|
|
7489
7489
|
"pluginType": "core",
|
|
@@ -9933,6 +9933,109 @@
|
|
|
9933
9933
|
"auth:configure:project:hardis"
|
|
9934
9934
|
]
|
|
9935
9935
|
},
|
|
9936
|
+
"hardis:project:convert:profilestopermsets": {
|
|
9937
|
+
"aliases": [],
|
|
9938
|
+
"args": {},
|
|
9939
|
+
"description": "\n## Command Behavior\n\n**Converts existing Salesforce Profiles into Permission Sets, facilitating a more granular and recommended security model.**\n\nThis command helps in migrating permissions from Profiles to Permission Sets, which is a best practice for managing user access in Salesforce. It creates a new Permission Set for each specified Profile, adopting a naming convention of `PS_PROFILENAME`.\n\nKey functionalities:\n\n- **Profile to Permission Set Conversion:** Automatically extracts permissions from a Profile and creates a corresponding Permission Set.\n- **Naming Convention:** New Permission Sets are named with a `PS_` prefix followed by the Profile name (e.g., `PS_Standard_User`).\n- **Exclusion Filter:** Allows you to exclude specific Profiles from the conversion process using the `--except` flag.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **External Plugin Integration:** It relies on the `shane-sfdx-plugins` (specifically the `sf shane:profile:convert` command) to perform the actual conversion.\n- **File System Scan:** It reads the contents of the `force-app/main/default/profiles` directory to identify all available Profile metadata files.\n- **Command Execution:** For each identified Profile (that is not excluded), it constructs and executes the `sf shane:profile:convert` command with the appropriate Profile name and desired Permission Set name.\n- **Error Handling:** Includes basic error handling for the external command execution.\n</details>\n",
|
|
9940
|
+
"examples": [
|
|
9941
|
+
"$ sf hardis:project:convert:profilestopermsets"
|
|
9942
|
+
],
|
|
9943
|
+
"flags": {
|
|
9944
|
+
"json": {
|
|
9945
|
+
"description": "Format output as json.",
|
|
9946
|
+
"helpGroup": "GLOBAL",
|
|
9947
|
+
"name": "json",
|
|
9948
|
+
"allowNo": false,
|
|
9949
|
+
"type": "boolean"
|
|
9950
|
+
},
|
|
9951
|
+
"flags-dir": {
|
|
9952
|
+
"helpGroup": "GLOBAL",
|
|
9953
|
+
"name": "flags-dir",
|
|
9954
|
+
"summary": "Import flag values from a directory.",
|
|
9955
|
+
"hasDynamicHelp": false,
|
|
9956
|
+
"multiple": false,
|
|
9957
|
+
"type": "option"
|
|
9958
|
+
},
|
|
9959
|
+
"except": {
|
|
9960
|
+
"char": "e",
|
|
9961
|
+
"description": "List of filters",
|
|
9962
|
+
"name": "except",
|
|
9963
|
+
"default": [],
|
|
9964
|
+
"hasDynamicHelp": false,
|
|
9965
|
+
"multiple": true,
|
|
9966
|
+
"type": "option"
|
|
9967
|
+
},
|
|
9968
|
+
"debug": {
|
|
9969
|
+
"char": "d",
|
|
9970
|
+
"description": "Activate debug mode (more logs)",
|
|
9971
|
+
"name": "debug",
|
|
9972
|
+
"allowNo": false,
|
|
9973
|
+
"type": "boolean"
|
|
9974
|
+
},
|
|
9975
|
+
"websocket": {
|
|
9976
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
9977
|
+
"name": "websocket",
|
|
9978
|
+
"hasDynamicHelp": false,
|
|
9979
|
+
"multiple": false,
|
|
9980
|
+
"type": "option"
|
|
9981
|
+
},
|
|
9982
|
+
"skipauth": {
|
|
9983
|
+
"description": "Skip authentication check when a default username is required",
|
|
9984
|
+
"name": "skipauth",
|
|
9985
|
+
"allowNo": false,
|
|
9986
|
+
"type": "boolean"
|
|
9987
|
+
}
|
|
9988
|
+
},
|
|
9989
|
+
"hasDynamicHelp": false,
|
|
9990
|
+
"hiddenAliases": [],
|
|
9991
|
+
"id": "hardis:project:convert:profilestopermsets",
|
|
9992
|
+
"pluginAlias": "sfdx-hardis",
|
|
9993
|
+
"pluginName": "sfdx-hardis",
|
|
9994
|
+
"pluginType": "core",
|
|
9995
|
+
"strict": true,
|
|
9996
|
+
"enableJsonFlag": true,
|
|
9997
|
+
"title": "Convert Profiles into Permission Sets",
|
|
9998
|
+
"requiresProject": true,
|
|
9999
|
+
"requiresSfdxPlugins": [
|
|
10000
|
+
"shane-sfdx-plugins"
|
|
10001
|
+
],
|
|
10002
|
+
"isESM": true,
|
|
10003
|
+
"relativePath": [
|
|
10004
|
+
"lib",
|
|
10005
|
+
"commands",
|
|
10006
|
+
"hardis",
|
|
10007
|
+
"project",
|
|
10008
|
+
"convert",
|
|
10009
|
+
"profilestopermsets.js"
|
|
10010
|
+
],
|
|
10011
|
+
"aliasPermutations": [],
|
|
10012
|
+
"permutations": [
|
|
10013
|
+
"hardis:project:convert:profilestopermsets",
|
|
10014
|
+
"project:hardis:convert:profilestopermsets",
|
|
10015
|
+
"project:convert:hardis:profilestopermsets",
|
|
10016
|
+
"project:convert:profilestopermsets:hardis",
|
|
10017
|
+
"hardis:convert:project:profilestopermsets",
|
|
10018
|
+
"convert:hardis:project:profilestopermsets",
|
|
10019
|
+
"convert:project:hardis:profilestopermsets",
|
|
10020
|
+
"convert:project:profilestopermsets:hardis",
|
|
10021
|
+
"hardis:convert:profilestopermsets:project",
|
|
10022
|
+
"convert:hardis:profilestopermsets:project",
|
|
10023
|
+
"convert:profilestopermsets:hardis:project",
|
|
10024
|
+
"convert:profilestopermsets:project:hardis",
|
|
10025
|
+
"hardis:project:profilestopermsets:convert",
|
|
10026
|
+
"project:hardis:profilestopermsets:convert",
|
|
10027
|
+
"project:profilestopermsets:hardis:convert",
|
|
10028
|
+
"project:profilestopermsets:convert:hardis",
|
|
10029
|
+
"hardis:profilestopermsets:project:convert",
|
|
10030
|
+
"profilestopermsets:hardis:project:convert",
|
|
10031
|
+
"profilestopermsets:project:hardis:convert",
|
|
10032
|
+
"profilestopermsets:project:convert:hardis",
|
|
10033
|
+
"hardis:profilestopermsets:convert:project",
|
|
10034
|
+
"profilestopermsets:hardis:convert:project",
|
|
10035
|
+
"profilestopermsets:convert:hardis:project",
|
|
10036
|
+
"profilestopermsets:convert:project:hardis"
|
|
10037
|
+
]
|
|
10038
|
+
},
|
|
9936
10039
|
"hardis:project:clean:emptyitems": {
|
|
9937
10040
|
"aliases": [],
|
|
9938
10041
|
"args": {},
|
|
@@ -11418,109 +11521,6 @@
|
|
|
11418
11521
|
"xml:clean:project:hardis"
|
|
11419
11522
|
]
|
|
11420
11523
|
},
|
|
11421
|
-
"hardis:project:convert:profilestopermsets": {
|
|
11422
|
-
"aliases": [],
|
|
11423
|
-
"args": {},
|
|
11424
|
-
"description": "\n## Command Behavior\n\n**Converts existing Salesforce Profiles into Permission Sets, facilitating a more granular and recommended security model.**\n\nThis command helps in migrating permissions from Profiles to Permission Sets, which is a best practice for managing user access in Salesforce. It creates a new Permission Set for each specified Profile, adopting a naming convention of `PS_PROFILENAME`.\n\nKey functionalities:\n\n- **Profile to Permission Set Conversion:** Automatically extracts permissions from a Profile and creates a corresponding Permission Set.\n- **Naming Convention:** New Permission Sets are named with a `PS_` prefix followed by the Profile name (e.g., `PS_Standard_User`).\n- **Exclusion Filter:** Allows you to exclude specific Profiles from the conversion process using the `--except` flag.\n\n<details markdown=\"1\">\n<summary>Technical explanations</summary>\n\nThe command's technical implementation involves:\n\n- **External Plugin Integration:** It relies on the `shane-sfdx-plugins` (specifically the `sf shane:profile:convert` command) to perform the actual conversion.\n- **File System Scan:** It reads the contents of the `force-app/main/default/profiles` directory to identify all available Profile metadata files.\n- **Command Execution:** For each identified Profile (that is not excluded), it constructs and executes the `sf shane:profile:convert` command with the appropriate Profile name and desired Permission Set name.\n- **Error Handling:** Includes basic error handling for the external command execution.\n</details>\n",
|
|
11425
|
-
"examples": [
|
|
11426
|
-
"$ sf hardis:project:convert:profilestopermsets"
|
|
11427
|
-
],
|
|
11428
|
-
"flags": {
|
|
11429
|
-
"json": {
|
|
11430
|
-
"description": "Format output as json.",
|
|
11431
|
-
"helpGroup": "GLOBAL",
|
|
11432
|
-
"name": "json",
|
|
11433
|
-
"allowNo": false,
|
|
11434
|
-
"type": "boolean"
|
|
11435
|
-
},
|
|
11436
|
-
"flags-dir": {
|
|
11437
|
-
"helpGroup": "GLOBAL",
|
|
11438
|
-
"name": "flags-dir",
|
|
11439
|
-
"summary": "Import flag values from a directory.",
|
|
11440
|
-
"hasDynamicHelp": false,
|
|
11441
|
-
"multiple": false,
|
|
11442
|
-
"type": "option"
|
|
11443
|
-
},
|
|
11444
|
-
"except": {
|
|
11445
|
-
"char": "e",
|
|
11446
|
-
"description": "List of filters",
|
|
11447
|
-
"name": "except",
|
|
11448
|
-
"default": [],
|
|
11449
|
-
"hasDynamicHelp": false,
|
|
11450
|
-
"multiple": true,
|
|
11451
|
-
"type": "option"
|
|
11452
|
-
},
|
|
11453
|
-
"debug": {
|
|
11454
|
-
"char": "d",
|
|
11455
|
-
"description": "Activate debug mode (more logs)",
|
|
11456
|
-
"name": "debug",
|
|
11457
|
-
"allowNo": false,
|
|
11458
|
-
"type": "boolean"
|
|
11459
|
-
},
|
|
11460
|
-
"websocket": {
|
|
11461
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11462
|
-
"name": "websocket",
|
|
11463
|
-
"hasDynamicHelp": false,
|
|
11464
|
-
"multiple": false,
|
|
11465
|
-
"type": "option"
|
|
11466
|
-
},
|
|
11467
|
-
"skipauth": {
|
|
11468
|
-
"description": "Skip authentication check when a default username is required",
|
|
11469
|
-
"name": "skipauth",
|
|
11470
|
-
"allowNo": false,
|
|
11471
|
-
"type": "boolean"
|
|
11472
|
-
}
|
|
11473
|
-
},
|
|
11474
|
-
"hasDynamicHelp": false,
|
|
11475
|
-
"hiddenAliases": [],
|
|
11476
|
-
"id": "hardis:project:convert:profilestopermsets",
|
|
11477
|
-
"pluginAlias": "sfdx-hardis",
|
|
11478
|
-
"pluginName": "sfdx-hardis",
|
|
11479
|
-
"pluginType": "core",
|
|
11480
|
-
"strict": true,
|
|
11481
|
-
"enableJsonFlag": true,
|
|
11482
|
-
"title": "Convert Profiles into Permission Sets",
|
|
11483
|
-
"requiresProject": true,
|
|
11484
|
-
"requiresSfdxPlugins": [
|
|
11485
|
-
"shane-sfdx-plugins"
|
|
11486
|
-
],
|
|
11487
|
-
"isESM": true,
|
|
11488
|
-
"relativePath": [
|
|
11489
|
-
"lib",
|
|
11490
|
-
"commands",
|
|
11491
|
-
"hardis",
|
|
11492
|
-
"project",
|
|
11493
|
-
"convert",
|
|
11494
|
-
"profilestopermsets.js"
|
|
11495
|
-
],
|
|
11496
|
-
"aliasPermutations": [],
|
|
11497
|
-
"permutations": [
|
|
11498
|
-
"hardis:project:convert:profilestopermsets",
|
|
11499
|
-
"project:hardis:convert:profilestopermsets",
|
|
11500
|
-
"project:convert:hardis:profilestopermsets",
|
|
11501
|
-
"project:convert:profilestopermsets:hardis",
|
|
11502
|
-
"hardis:convert:project:profilestopermsets",
|
|
11503
|
-
"convert:hardis:project:profilestopermsets",
|
|
11504
|
-
"convert:project:hardis:profilestopermsets",
|
|
11505
|
-
"convert:project:profilestopermsets:hardis",
|
|
11506
|
-
"hardis:convert:profilestopermsets:project",
|
|
11507
|
-
"convert:hardis:profilestopermsets:project",
|
|
11508
|
-
"convert:profilestopermsets:hardis:project",
|
|
11509
|
-
"convert:profilestopermsets:project:hardis",
|
|
11510
|
-
"hardis:project:profilestopermsets:convert",
|
|
11511
|
-
"project:hardis:profilestopermsets:convert",
|
|
11512
|
-
"project:profilestopermsets:hardis:convert",
|
|
11513
|
-
"project:profilestopermsets:convert:hardis",
|
|
11514
|
-
"hardis:profilestopermsets:project:convert",
|
|
11515
|
-
"profilestopermsets:hardis:project:convert",
|
|
11516
|
-
"profilestopermsets:project:hardis:convert",
|
|
11517
|
-
"profilestopermsets:project:convert:hardis",
|
|
11518
|
-
"hardis:profilestopermsets:convert:project",
|
|
11519
|
-
"profilestopermsets:hardis:convert:project",
|
|
11520
|
-
"profilestopermsets:convert:hardis:project",
|
|
11521
|
-
"profilestopermsets:convert:project:hardis"
|
|
11522
|
-
]
|
|
11523
|
-
},
|
|
11524
11524
|
"hardis:project:deploy:notify": {
|
|
11525
11525
|
"aliases": [],
|
|
11526
11526
|
"args": {},
|
|
@@ -15484,5 +15484,5 @@
|
|
|
15484
15484
|
]
|
|
15485
15485
|
}
|
|
15486
15486
|
},
|
|
15487
|
-
"version": "6.
|
|
15487
|
+
"version": "6.11.0"
|
|
15488
15488
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Swiss-army-knife Toolbox for Salesforce.\n Allows you to define a complete CD/CD Pipeline.\n Orchestrate base commands and assist users with interactive wizards",
|
|
4
4
|
"author": "NicolasVuillamy @nvuillam",
|
|
5
5
|
"bugs": "https://github.com/hardisgroupcom/sfdx-hardis/issues",
|
|
6
|
-
"version": "6.
|
|
6
|
+
"version": "6.11.0",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@actions/github": "^6.0.1",
|
|
9
9
|
"@cparra/apexdocs": "^3.14.1",
|