sfdx-hardis 5.44.2-alpha202507221133.0 → 5.44.2-alpha202507221146.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/oclif.lock +2 -14
- package/oclif.manifest.json +1229 -1229
- package/package.json +3 -2
package/oclif.manifest.json
CHANGED
|
@@ -3009,12 +3009,12 @@
|
|
|
3009
3009
|
"lint:project:hardis"
|
|
3010
3010
|
]
|
|
3011
3011
|
},
|
|
3012
|
-
"hardis:
|
|
3012
|
+
"hardis:source:deploy": {
|
|
3013
3013
|
"aliases": [],
|
|
3014
3014
|
"args": {},
|
|
3015
|
-
"description": "
|
|
3015
|
+
"description": "sfdx-hardis wrapper for sfdx force:source:deploy that displays tips to solve deployment errors.\n\nAdditional to the base command wrapper: If using **--checkonly**, add options **--checkcoverage** and **--coverageformatters json-summary** to check that org coverage is > 75% (or value defined in .sfdx-hardis.yml property **apexTestsMinCoverageOrgWide**)\n\n### Deployment results\n\nYou can also have deployment results as pull request comments, on:\n\n- GitHub (see [GitHub Pull Requests comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-github/))\n- Gitlab (see [Gitlab integration configuration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-gitlab/))\n- Azure DevOps (see [Azure integration configuration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/))\n\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\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\nNotes:\n\n- You can disable coloring of errors in red by defining env variable SFDX_HARDIS_DEPLOY_ERR_COLORS=false\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_deploy)\n",
|
|
3016
3016
|
"examples": [
|
|
3017
|
-
"$ sf hardis:
|
|
3017
|
+
"$ sf hardis:source:deploy -x manifest/package.xml --wait 60 --ignorewarnings --testlevel RunLocalTests --postdestructivechanges ./manifest/destructiveChanges.xml --target-org nicolas.vuillamy@cloudity.com.sfdxhardis --checkonly --checkcoverage --verbose --coverageformatters json-summary"
|
|
3018
3018
|
],
|
|
3019
3019
|
"flags": {
|
|
3020
3020
|
"json": {
|
|
@@ -3032,49 +3032,216 @@
|
|
|
3032
3032
|
"multiple": false,
|
|
3033
3033
|
"type": "option"
|
|
3034
3034
|
},
|
|
3035
|
-
"
|
|
3036
|
-
"char": "
|
|
3037
|
-
"description": "
|
|
3038
|
-
"name": "
|
|
3035
|
+
"checkonly": {
|
|
3036
|
+
"char": "c",
|
|
3037
|
+
"description": "checkonly",
|
|
3038
|
+
"name": "checkonly",
|
|
3039
3039
|
"allowNo": false,
|
|
3040
3040
|
"type": "boolean"
|
|
3041
3041
|
},
|
|
3042
|
-
"
|
|
3043
|
-
"description": "
|
|
3044
|
-
"name": "
|
|
3042
|
+
"soapdeploy": {
|
|
3043
|
+
"description": "soapDeploy",
|
|
3044
|
+
"name": "soapdeploy",
|
|
3045
|
+
"allowNo": false,
|
|
3046
|
+
"type": "boolean"
|
|
3047
|
+
},
|
|
3048
|
+
"wait": {
|
|
3049
|
+
"char": "w",
|
|
3050
|
+
"description": "wait",
|
|
3051
|
+
"name": "wait",
|
|
3052
|
+
"default": 60,
|
|
3053
|
+
"hasDynamicHelp": false,
|
|
3054
|
+
"multiple": false,
|
|
3055
|
+
"type": "option"
|
|
3056
|
+
},
|
|
3057
|
+
"testlevel": {
|
|
3058
|
+
"char": "l",
|
|
3059
|
+
"description": "testlevel",
|
|
3060
|
+
"name": "testlevel",
|
|
3061
|
+
"default": "NoTestRun",
|
|
3062
|
+
"hasDynamicHelp": false,
|
|
3063
|
+
"multiple": false,
|
|
3064
|
+
"options": [
|
|
3065
|
+
"NoTestRun",
|
|
3066
|
+
"RunSpecifiedTests",
|
|
3067
|
+
"RunLocalTests",
|
|
3068
|
+
"RunAllTestsInOrg"
|
|
3069
|
+
],
|
|
3070
|
+
"type": "option"
|
|
3071
|
+
},
|
|
3072
|
+
"runtests": {
|
|
3073
|
+
"char": "r",
|
|
3074
|
+
"description": "runTests",
|
|
3075
|
+
"name": "runtests",
|
|
3076
|
+
"default": [],
|
|
3077
|
+
"hasDynamicHelp": false,
|
|
3078
|
+
"multiple": true,
|
|
3079
|
+
"type": "option"
|
|
3080
|
+
},
|
|
3081
|
+
"ignoreerrors": {
|
|
3082
|
+
"description": "ignoreErrors",
|
|
3083
|
+
"name": "ignoreerrors",
|
|
3084
|
+
"allowNo": false,
|
|
3085
|
+
"type": "boolean"
|
|
3086
|
+
},
|
|
3087
|
+
"ignorewarnings": {
|
|
3088
|
+
"char": "g",
|
|
3089
|
+
"description": "ignoreWarnings",
|
|
3090
|
+
"name": "ignorewarnings",
|
|
3091
|
+
"allowNo": false,
|
|
3092
|
+
"type": "boolean"
|
|
3093
|
+
},
|
|
3094
|
+
"validateddeployrequestid": {
|
|
3095
|
+
"char": "q",
|
|
3096
|
+
"description": "validateDeployRequestId",
|
|
3097
|
+
"exclusive": [
|
|
3098
|
+
"manifest",
|
|
3099
|
+
"metadata",
|
|
3100
|
+
"sourcepath",
|
|
3101
|
+
"checkonly",
|
|
3102
|
+
"testlevel",
|
|
3103
|
+
"runtests",
|
|
3104
|
+
"ignoreerrors",
|
|
3105
|
+
"ignorewarnings"
|
|
3106
|
+
],
|
|
3107
|
+
"name": "validateddeployrequestid",
|
|
3108
|
+
"hasDynamicHelp": false,
|
|
3109
|
+
"multiple": false,
|
|
3110
|
+
"type": "option"
|
|
3111
|
+
},
|
|
3112
|
+
"verbose": {
|
|
3113
|
+
"description": "verbose",
|
|
3114
|
+
"name": "verbose",
|
|
3115
|
+
"allowNo": false,
|
|
3116
|
+
"type": "boolean"
|
|
3117
|
+
},
|
|
3118
|
+
"metadata": {
|
|
3119
|
+
"char": "m",
|
|
3120
|
+
"description": "metadata",
|
|
3121
|
+
"exclusive": [
|
|
3122
|
+
"manifest",
|
|
3123
|
+
"sourcepath"
|
|
3124
|
+
],
|
|
3125
|
+
"name": "metadata",
|
|
3126
|
+
"hasDynamicHelp": false,
|
|
3127
|
+
"multiple": true,
|
|
3128
|
+
"type": "option"
|
|
3129
|
+
},
|
|
3130
|
+
"sourcepath": {
|
|
3131
|
+
"char": "p",
|
|
3132
|
+
"description": "sourcePath",
|
|
3133
|
+
"exclusive": [
|
|
3134
|
+
"manifest",
|
|
3135
|
+
"metadata"
|
|
3136
|
+
],
|
|
3137
|
+
"name": "sourcepath",
|
|
3138
|
+
"hasDynamicHelp": false,
|
|
3139
|
+
"multiple": true,
|
|
3140
|
+
"type": "option"
|
|
3141
|
+
},
|
|
3142
|
+
"manifest": {
|
|
3143
|
+
"char": "x",
|
|
3144
|
+
"description": "flagsLong.manifest",
|
|
3145
|
+
"exclusive": [
|
|
3146
|
+
"metadata",
|
|
3147
|
+
"sourcepath"
|
|
3148
|
+
],
|
|
3149
|
+
"name": "manifest",
|
|
3150
|
+
"hasDynamicHelp": false,
|
|
3151
|
+
"multiple": false,
|
|
3152
|
+
"type": "option"
|
|
3153
|
+
},
|
|
3154
|
+
"predestructivechanges": {
|
|
3155
|
+
"dependsOn": [
|
|
3156
|
+
"manifest"
|
|
3157
|
+
],
|
|
3158
|
+
"description": "predestructivechanges",
|
|
3159
|
+
"name": "predestructivechanges",
|
|
3160
|
+
"hasDynamicHelp": false,
|
|
3161
|
+
"multiple": false,
|
|
3162
|
+
"type": "option"
|
|
3163
|
+
},
|
|
3164
|
+
"postdestructivechanges": {
|
|
3165
|
+
"dependsOn": [
|
|
3166
|
+
"manifest"
|
|
3167
|
+
],
|
|
3168
|
+
"description": "postdestructivechanges",
|
|
3169
|
+
"name": "postdestructivechanges",
|
|
3170
|
+
"hasDynamicHelp": false,
|
|
3171
|
+
"multiple": false,
|
|
3172
|
+
"type": "option"
|
|
3173
|
+
},
|
|
3174
|
+
"tracksource": {
|
|
3175
|
+
"char": "t",
|
|
3176
|
+
"description": "tracksource",
|
|
3177
|
+
"exclusive": [
|
|
3178
|
+
"checkonly",
|
|
3179
|
+
"validateddeployrequestid"
|
|
3180
|
+
],
|
|
3181
|
+
"name": "tracksource",
|
|
3182
|
+
"allowNo": false,
|
|
3183
|
+
"type": "boolean"
|
|
3184
|
+
},
|
|
3185
|
+
"forceoverwrite": {
|
|
3186
|
+
"char": "f",
|
|
3187
|
+
"dependsOn": [
|
|
3188
|
+
"tracksource"
|
|
3189
|
+
],
|
|
3190
|
+
"description": "forceoverwrite",
|
|
3191
|
+
"name": "forceoverwrite",
|
|
3192
|
+
"allowNo": false,
|
|
3193
|
+
"type": "boolean"
|
|
3194
|
+
},
|
|
3195
|
+
"resultsdir": {
|
|
3196
|
+
"description": "resultsdir",
|
|
3197
|
+
"name": "resultsdir",
|
|
3198
|
+
"hasDynamicHelp": false,
|
|
3199
|
+
"multiple": false,
|
|
3200
|
+
"type": "option"
|
|
3201
|
+
},
|
|
3202
|
+
"coverageformatters": {
|
|
3203
|
+
"description": "coverageformatters",
|
|
3204
|
+
"name": "coverageformatters",
|
|
3205
|
+
"hasDynamicHelp": false,
|
|
3206
|
+
"multiple": true,
|
|
3207
|
+
"type": "option"
|
|
3208
|
+
},
|
|
3209
|
+
"junit": {
|
|
3210
|
+
"description": "junit",
|
|
3211
|
+
"name": "junit",
|
|
3212
|
+
"allowNo": false,
|
|
3213
|
+
"type": "boolean"
|
|
3214
|
+
},
|
|
3215
|
+
"checkcoverage": {
|
|
3216
|
+
"description": "Check Apex org coverage",
|
|
3217
|
+
"name": "checkcoverage",
|
|
3045
3218
|
"allowNo": false,
|
|
3046
3219
|
"type": "boolean"
|
|
3047
3220
|
},
|
|
3048
3221
|
"debug": {
|
|
3049
|
-
"
|
|
3050
|
-
"description": "Activate debug mode (more logs)",
|
|
3222
|
+
"description": "debug",
|
|
3051
3223
|
"name": "debug",
|
|
3052
3224
|
"allowNo": false,
|
|
3053
3225
|
"type": "boolean"
|
|
3054
3226
|
},
|
|
3055
3227
|
"websocket": {
|
|
3056
|
-
"description": "
|
|
3228
|
+
"description": "websocket",
|
|
3057
3229
|
"name": "websocket",
|
|
3058
3230
|
"hasDynamicHelp": false,
|
|
3059
3231
|
"multiple": false,
|
|
3060
3232
|
"type": "option"
|
|
3061
3233
|
},
|
|
3062
|
-
"
|
|
3063
|
-
"description": "Skip authentication check when a default username is required",
|
|
3064
|
-
"name": "skipauth",
|
|
3065
|
-
"allowNo": false,
|
|
3066
|
-
"type": "boolean"
|
|
3067
|
-
},
|
|
3068
|
-
"target-dev-hub": {
|
|
3234
|
+
"target-org": {
|
|
3069
3235
|
"aliases": [
|
|
3070
|
-
"
|
|
3236
|
+
"targetusername",
|
|
3237
|
+
"u"
|
|
3071
3238
|
],
|
|
3072
|
-
"char": "
|
|
3239
|
+
"char": "o",
|
|
3073
3240
|
"deprecateAliases": true,
|
|
3074
|
-
"name": "target-
|
|
3241
|
+
"name": "target-org",
|
|
3075
3242
|
"noCacheDefault": true,
|
|
3076
3243
|
"required": true,
|
|
3077
|
-
"summary": "Username or alias of the
|
|
3244
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3078
3245
|
"hasDynamicHelp": true,
|
|
3079
3246
|
"multiple": false,
|
|
3080
3247
|
"type": "option"
|
|
@@ -3082,43 +3249,35 @@
|
|
|
3082
3249
|
},
|
|
3083
3250
|
"hasDynamicHelp": true,
|
|
3084
3251
|
"hiddenAliases": [],
|
|
3085
|
-
"id": "hardis:
|
|
3252
|
+
"id": "hardis:source:deploy",
|
|
3086
3253
|
"pluginAlias": "sfdx-hardis",
|
|
3087
3254
|
"pluginName": "sfdx-hardis",
|
|
3088
3255
|
"pluginType": "core",
|
|
3089
3256
|
"strict": true,
|
|
3090
3257
|
"enableJsonFlag": true,
|
|
3091
|
-
"title": "Create and initialize scratch org",
|
|
3092
3258
|
"requiresProject": true,
|
|
3093
|
-
"requiresSfdxPlugins": [
|
|
3094
|
-
"sfdmu",
|
|
3095
|
-
"texei-sfdx-plugin"
|
|
3096
|
-
],
|
|
3097
3259
|
"isESM": true,
|
|
3098
3260
|
"relativePath": [
|
|
3099
3261
|
"lib",
|
|
3100
3262
|
"commands",
|
|
3101
3263
|
"hardis",
|
|
3102
|
-
"
|
|
3103
|
-
"
|
|
3264
|
+
"source",
|
|
3265
|
+
"deploy.js"
|
|
3104
3266
|
],
|
|
3105
3267
|
"aliasPermutations": [],
|
|
3106
3268
|
"permutations": [
|
|
3107
|
-
"hardis:
|
|
3108
|
-
"
|
|
3109
|
-
"
|
|
3110
|
-
"hardis:
|
|
3111
|
-
"
|
|
3112
|
-
"
|
|
3269
|
+
"hardis:source:deploy",
|
|
3270
|
+
"source:hardis:deploy",
|
|
3271
|
+
"source:deploy:hardis",
|
|
3272
|
+
"hardis:deploy:source",
|
|
3273
|
+
"deploy:hardis:source",
|
|
3274
|
+
"deploy:source:hardis"
|
|
3113
3275
|
]
|
|
3114
3276
|
},
|
|
3115
|
-
"hardis:
|
|
3277
|
+
"hardis:source:push": {
|
|
3116
3278
|
"aliases": [],
|
|
3117
3279
|
"args": {},
|
|
3118
|
-
"description": "
|
|
3119
|
-
"examples": [
|
|
3120
|
-
"$ sf hardis:scratch:delete"
|
|
3121
|
-
],
|
|
3280
|
+
"description": "sfdx-hardis wrapper for sfdx force:source:push that displays tips to solve deployment errors.\n\n[](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_force_source.htm#cli_reference_force_source_push)\n",
|
|
3122
3281
|
"flags": {
|
|
3123
3282
|
"json": {
|
|
3124
3283
|
"description": "Format output as json.",
|
|
@@ -3135,36 +3294,59 @@
|
|
|
3135
3294
|
"multiple": false,
|
|
3136
3295
|
"type": "option"
|
|
3137
3296
|
},
|
|
3297
|
+
"forceoverwrite": {
|
|
3298
|
+
"char": "f",
|
|
3299
|
+
"description": "forceoverwrite",
|
|
3300
|
+
"name": "forceoverwrite",
|
|
3301
|
+
"allowNo": false,
|
|
3302
|
+
"type": "boolean"
|
|
3303
|
+
},
|
|
3304
|
+
"wait": {
|
|
3305
|
+
"char": "w",
|
|
3306
|
+
"description": "wait",
|
|
3307
|
+
"name": "wait",
|
|
3308
|
+
"default": 60,
|
|
3309
|
+
"hasDynamicHelp": false,
|
|
3310
|
+
"multiple": false,
|
|
3311
|
+
"type": "option"
|
|
3312
|
+
},
|
|
3313
|
+
"ignorewarnings": {
|
|
3314
|
+
"char": "g",
|
|
3315
|
+
"description": "ignorewarnings",
|
|
3316
|
+
"name": "ignorewarnings",
|
|
3317
|
+
"allowNo": false,
|
|
3318
|
+
"type": "boolean"
|
|
3319
|
+
},
|
|
3320
|
+
"quiet": {
|
|
3321
|
+
"description": "quiet",
|
|
3322
|
+
"name": "quiet",
|
|
3323
|
+
"allowNo": false,
|
|
3324
|
+
"type": "boolean"
|
|
3325
|
+
},
|
|
3138
3326
|
"debug": {
|
|
3139
|
-
"
|
|
3140
|
-
"description": "Activate debug mode (more logs)",
|
|
3327
|
+
"description": "debug",
|
|
3141
3328
|
"name": "debug",
|
|
3142
3329
|
"allowNo": false,
|
|
3143
3330
|
"type": "boolean"
|
|
3144
3331
|
},
|
|
3145
3332
|
"websocket": {
|
|
3146
|
-
"description": "
|
|
3333
|
+
"description": "websocket",
|
|
3147
3334
|
"name": "websocket",
|
|
3148
3335
|
"hasDynamicHelp": false,
|
|
3149
3336
|
"multiple": false,
|
|
3150
3337
|
"type": "option"
|
|
3151
3338
|
},
|
|
3152
|
-
"
|
|
3153
|
-
"description": "Skip authentication check when a default username is required",
|
|
3154
|
-
"name": "skipauth",
|
|
3155
|
-
"allowNo": false,
|
|
3156
|
-
"type": "boolean"
|
|
3157
|
-
},
|
|
3158
|
-
"target-dev-hub": {
|
|
3339
|
+
"target-org": {
|
|
3159
3340
|
"aliases": [
|
|
3160
|
-
"
|
|
3341
|
+
"targetusername",
|
|
3342
|
+
"u"
|
|
3161
3343
|
],
|
|
3162
|
-
"char": "
|
|
3344
|
+
"char": "o",
|
|
3163
3345
|
"deprecateAliases": true,
|
|
3164
|
-
"name": "target-
|
|
3346
|
+
"name": "target-org",
|
|
3165
3347
|
"noCacheDefault": true,
|
|
3166
3348
|
"required": true,
|
|
3167
|
-
"summary": "Username or alias of the
|
|
3349
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3168
3350
|
"hasDynamicHelp": true,
|
|
3169
3351
|
"multiple": false,
|
|
3170
3352
|
"type": "option"
|
|
@@ -3172,38 +3354,36 @@
|
|
|
3172
3354
|
},
|
|
3173
3355
|
"hasDynamicHelp": true,
|
|
3174
3356
|
"hiddenAliases": [],
|
|
3175
|
-
"id": "hardis:
|
|
3357
|
+
"id": "hardis:source:push",
|
|
3176
3358
|
"pluginAlias": "sfdx-hardis",
|
|
3177
3359
|
"pluginName": "sfdx-hardis",
|
|
3178
3360
|
"pluginType": "core",
|
|
3179
3361
|
"strict": true,
|
|
3180
3362
|
"enableJsonFlag": true,
|
|
3181
|
-
"
|
|
3363
|
+
"requiresProject": true,
|
|
3182
3364
|
"isESM": true,
|
|
3183
3365
|
"relativePath": [
|
|
3184
3366
|
"lib",
|
|
3185
3367
|
"commands",
|
|
3186
3368
|
"hardis",
|
|
3187
|
-
"
|
|
3188
|
-
"
|
|
3369
|
+
"source",
|
|
3370
|
+
"push.js"
|
|
3189
3371
|
],
|
|
3190
3372
|
"aliasPermutations": [],
|
|
3191
3373
|
"permutations": [
|
|
3192
|
-
"hardis:
|
|
3193
|
-
"
|
|
3194
|
-
"
|
|
3195
|
-
"hardis:
|
|
3196
|
-
"
|
|
3197
|
-
"
|
|
3374
|
+
"hardis:source:push",
|
|
3375
|
+
"source:hardis:push",
|
|
3376
|
+
"source:push:hardis",
|
|
3377
|
+
"hardis:push:source",
|
|
3378
|
+
"push:hardis:source",
|
|
3379
|
+
"push:source:hardis"
|
|
3198
3380
|
]
|
|
3199
3381
|
},
|
|
3200
|
-
"hardis:
|
|
3382
|
+
"hardis:source:retrieve": {
|
|
3201
3383
|
"aliases": [],
|
|
3202
3384
|
"args": {},
|
|
3203
|
-
"description": "
|
|
3204
|
-
"examples": [
|
|
3205
|
-
"$ sf hardis:scratch:pull"
|
|
3206
|
-
],
|
|
3385
|
+
"description": "sfdx-hardis wrapper for sfdx force:source:retrieve\n\n- If no retrieve constraint is sent, as assisted menu will request the list of metadatas to retrieve\n- If no org is selected , an assisted menu will request the user to choose one\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_retrieve)\n",
|
|
3386
|
+
"examples": [],
|
|
3207
3387
|
"flags": {
|
|
3208
3388
|
"json": {
|
|
3209
3389
|
"description": "Format output as json.",
|
|
@@ -3220,15 +3400,98 @@
|
|
|
3220
3400
|
"multiple": false,
|
|
3221
3401
|
"type": "option"
|
|
3222
3402
|
},
|
|
3403
|
+
"apiversion": {
|
|
3404
|
+
"char": "a",
|
|
3405
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3406
|
+
"name": "apiversion",
|
|
3407
|
+
"hasDynamicHelp": false,
|
|
3408
|
+
"multiple": false,
|
|
3409
|
+
"type": "option"
|
|
3410
|
+
},
|
|
3411
|
+
"sourcepath": {
|
|
3412
|
+
"char": "p",
|
|
3413
|
+
"description": "sourcePath",
|
|
3414
|
+
"exclusive": [
|
|
3415
|
+
"manifest",
|
|
3416
|
+
"metadata"
|
|
3417
|
+
],
|
|
3418
|
+
"name": "sourcepath",
|
|
3419
|
+
"hasDynamicHelp": false,
|
|
3420
|
+
"multiple": true,
|
|
3421
|
+
"type": "option"
|
|
3422
|
+
},
|
|
3423
|
+
"wait": {
|
|
3424
|
+
"char": "w",
|
|
3425
|
+
"description": "wait",
|
|
3426
|
+
"name": "wait",
|
|
3427
|
+
"hasDynamicHelp": false,
|
|
3428
|
+
"multiple": false,
|
|
3429
|
+
"type": "option"
|
|
3430
|
+
},
|
|
3431
|
+
"manifest": {
|
|
3432
|
+
"char": "x",
|
|
3433
|
+
"description": "manifest",
|
|
3434
|
+
"exclusive": [
|
|
3435
|
+
"metadata",
|
|
3436
|
+
"sourcepath"
|
|
3437
|
+
],
|
|
3438
|
+
"name": "manifest",
|
|
3439
|
+
"hasDynamicHelp": false,
|
|
3440
|
+
"multiple": false,
|
|
3441
|
+
"type": "option"
|
|
3442
|
+
},
|
|
3443
|
+
"metadata": {
|
|
3444
|
+
"char": "m",
|
|
3445
|
+
"description": "metadata",
|
|
3446
|
+
"exclusive": [
|
|
3447
|
+
"manifest",
|
|
3448
|
+
"sourcepath"
|
|
3449
|
+
],
|
|
3450
|
+
"name": "metadata",
|
|
3451
|
+
"hasDynamicHelp": false,
|
|
3452
|
+
"multiple": true,
|
|
3453
|
+
"type": "option"
|
|
3454
|
+
},
|
|
3455
|
+
"packagenames": {
|
|
3456
|
+
"char": "n",
|
|
3457
|
+
"description": "packagenames",
|
|
3458
|
+
"name": "packagenames",
|
|
3459
|
+
"hasDynamicHelp": false,
|
|
3460
|
+
"multiple": true,
|
|
3461
|
+
"type": "option"
|
|
3462
|
+
},
|
|
3463
|
+
"tracksource": {
|
|
3464
|
+
"char": "t",
|
|
3465
|
+
"description": "tracksource",
|
|
3466
|
+
"name": "tracksource",
|
|
3467
|
+
"allowNo": false,
|
|
3468
|
+
"type": "boolean"
|
|
3469
|
+
},
|
|
3470
|
+
"forceoverwrite": {
|
|
3471
|
+
"char": "f",
|
|
3472
|
+
"dependsOn": [
|
|
3473
|
+
"tracksource"
|
|
3474
|
+
],
|
|
3475
|
+
"description": "forceoverwrite",
|
|
3476
|
+
"name": "forceoverwrite",
|
|
3477
|
+
"allowNo": false,
|
|
3478
|
+
"type": "boolean"
|
|
3479
|
+
},
|
|
3480
|
+
"verbose": {
|
|
3481
|
+
"description": "verbose",
|
|
3482
|
+
"name": "verbose",
|
|
3483
|
+
"allowNo": false,
|
|
3484
|
+
"type": "boolean"
|
|
3485
|
+
},
|
|
3223
3486
|
"debug": {
|
|
3224
3487
|
"char": "d",
|
|
3225
|
-
"description": "
|
|
3488
|
+
"description": "debugMode",
|
|
3226
3489
|
"name": "debug",
|
|
3227
3490
|
"allowNo": false,
|
|
3228
3491
|
"type": "boolean"
|
|
3229
3492
|
},
|
|
3230
3493
|
"websocket": {
|
|
3231
|
-
"description": "
|
|
3494
|
+
"description": "websocket",
|
|
3232
3495
|
"name": "websocket",
|
|
3233
3496
|
"hasDynamicHelp": false,
|
|
3234
3497
|
"multiple": false,
|
|
@@ -3258,38 +3521,37 @@
|
|
|
3258
3521
|
},
|
|
3259
3522
|
"hasDynamicHelp": true,
|
|
3260
3523
|
"hiddenAliases": [],
|
|
3261
|
-
"id": "hardis:
|
|
3524
|
+
"id": "hardis:source:retrieve",
|
|
3262
3525
|
"pluginAlias": "sfdx-hardis",
|
|
3263
3526
|
"pluginName": "sfdx-hardis",
|
|
3264
3527
|
"pluginType": "core",
|
|
3265
3528
|
"strict": true,
|
|
3266
3529
|
"enableJsonFlag": true,
|
|
3267
|
-
"title": "Scratch PULL",
|
|
3268
3530
|
"requiresProject": true,
|
|
3269
3531
|
"isESM": true,
|
|
3270
3532
|
"relativePath": [
|
|
3271
3533
|
"lib",
|
|
3272
3534
|
"commands",
|
|
3273
3535
|
"hardis",
|
|
3274
|
-
"
|
|
3275
|
-
"
|
|
3536
|
+
"source",
|
|
3537
|
+
"retrieve.js"
|
|
3276
3538
|
],
|
|
3277
3539
|
"aliasPermutations": [],
|
|
3278
3540
|
"permutations": [
|
|
3279
|
-
"hardis:
|
|
3280
|
-
"
|
|
3281
|
-
"
|
|
3282
|
-
"hardis:
|
|
3283
|
-
"
|
|
3284
|
-
"
|
|
3541
|
+
"hardis:source:retrieve",
|
|
3542
|
+
"source:hardis:retrieve",
|
|
3543
|
+
"source:retrieve:hardis",
|
|
3544
|
+
"hardis:retrieve:source",
|
|
3545
|
+
"retrieve:hardis:source",
|
|
3546
|
+
"retrieve:source:hardis"
|
|
3285
3547
|
]
|
|
3286
3548
|
},
|
|
3287
|
-
"hardis:scratch:
|
|
3549
|
+
"hardis:scratch:create": {
|
|
3288
3550
|
"aliases": [],
|
|
3289
3551
|
"args": {},
|
|
3290
|
-
"description": "
|
|
3552
|
+
"description": "Create and initialize a scratch org or a source-tracked sandbox (config can be defined using `config/.sfdx-hardis.yml`):\n\n- **Install packages**\n - Use property `installedPackages`\n- **Push sources**\n- **Assign permission sets**\n - Use property `initPermissionSets`\n- **Run apex initialization scripts**\n - Use property `scratchOrgInitApexScripts`\n- **Load data**\n - Use property `dataPackages`\n ",
|
|
3291
3553
|
"examples": [
|
|
3292
|
-
"$ sf hardis:scratch:
|
|
3554
|
+
"$ sf hardis:scratch:create"
|
|
3293
3555
|
],
|
|
3294
3556
|
"flags": {
|
|
3295
3557
|
"json": {
|
|
@@ -3307,6 +3569,19 @@
|
|
|
3307
3569
|
"multiple": false,
|
|
3308
3570
|
"type": "option"
|
|
3309
3571
|
},
|
|
3572
|
+
"forcenew": {
|
|
3573
|
+
"char": "n",
|
|
3574
|
+
"description": "If an existing scratch org exists, do not reuse it but create a new one",
|
|
3575
|
+
"name": "forcenew",
|
|
3576
|
+
"allowNo": false,
|
|
3577
|
+
"type": "boolean"
|
|
3578
|
+
},
|
|
3579
|
+
"pool": {
|
|
3580
|
+
"description": "Creates the scratch org for a scratch org pool",
|
|
3581
|
+
"name": "pool",
|
|
3582
|
+
"allowNo": false,
|
|
3583
|
+
"type": "boolean"
|
|
3584
|
+
},
|
|
3310
3585
|
"debug": {
|
|
3311
3586
|
"char": "d",
|
|
3312
3587
|
"description": "Activate debug mode (more logs)",
|
|
@@ -3327,17 +3602,16 @@
|
|
|
3327
3602
|
"allowNo": false,
|
|
3328
3603
|
"type": "boolean"
|
|
3329
3604
|
},
|
|
3330
|
-
"target-
|
|
3605
|
+
"target-dev-hub": {
|
|
3331
3606
|
"aliases": [
|
|
3332
|
-
"
|
|
3333
|
-
"u"
|
|
3607
|
+
"targetdevhubusername"
|
|
3334
3608
|
],
|
|
3335
|
-
"char": "
|
|
3609
|
+
"char": "v",
|
|
3336
3610
|
"deprecateAliases": true,
|
|
3337
|
-
"name": "target-
|
|
3611
|
+
"name": "target-dev-hub",
|
|
3338
3612
|
"noCacheDefault": true,
|
|
3339
3613
|
"required": true,
|
|
3340
|
-
"summary": "Username or alias of the
|
|
3614
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
3341
3615
|
"hasDynamicHelp": true,
|
|
3342
3616
|
"multiple": false,
|
|
3343
3617
|
"type": "option"
|
|
@@ -3345,265 +3619,89 @@
|
|
|
3345
3619
|
},
|
|
3346
3620
|
"hasDynamicHelp": true,
|
|
3347
3621
|
"hiddenAliases": [],
|
|
3348
|
-
"id": "hardis:scratch:
|
|
3622
|
+
"id": "hardis:scratch:create",
|
|
3349
3623
|
"pluginAlias": "sfdx-hardis",
|
|
3350
3624
|
"pluginName": "sfdx-hardis",
|
|
3351
3625
|
"pluginType": "core",
|
|
3352
3626
|
"strict": true,
|
|
3353
3627
|
"enableJsonFlag": true,
|
|
3354
|
-
"title": "
|
|
3628
|
+
"title": "Create and initialize scratch org",
|
|
3355
3629
|
"requiresProject": true,
|
|
3630
|
+
"requiresSfdxPlugins": [
|
|
3631
|
+
"sfdmu",
|
|
3632
|
+
"texei-sfdx-plugin"
|
|
3633
|
+
],
|
|
3356
3634
|
"isESM": true,
|
|
3357
3635
|
"relativePath": [
|
|
3358
|
-
"lib",
|
|
3359
|
-
"commands",
|
|
3360
|
-
"hardis",
|
|
3361
|
-
"scratch",
|
|
3362
|
-
"
|
|
3363
|
-
],
|
|
3364
|
-
"aliasPermutations": [],
|
|
3365
|
-
"permutations": [
|
|
3366
|
-
"hardis:scratch:
|
|
3367
|
-
"scratch:hardis:
|
|
3368
|
-
"scratch:
|
|
3369
|
-
"hardis:
|
|
3370
|
-
"
|
|
3371
|
-
"
|
|
3372
|
-
]
|
|
3373
|
-
},
|
|
3374
|
-
"hardis:
|
|
3375
|
-
"aliases": [],
|
|
3376
|
-
"args": {},
|
|
3377
|
-
"description": "
|
|
3378
|
-
"examples": [
|
|
3379
|
-
"$ sf hardis:
|
|
3380
|
-
],
|
|
3381
|
-
"flags": {
|
|
3382
|
-
"json": {
|
|
3383
|
-
"description": "Format output as json.",
|
|
3384
|
-
"helpGroup": "GLOBAL",
|
|
3385
|
-
"name": "json",
|
|
3386
|
-
"allowNo": false,
|
|
3387
|
-
"type": "boolean"
|
|
3388
|
-
},
|
|
3389
|
-
"flags-dir": {
|
|
3390
|
-
"helpGroup": "GLOBAL",
|
|
3391
|
-
"name": "flags-dir",
|
|
3392
|
-
"summary": "Import flag values from a directory.",
|
|
3393
|
-
"hasDynamicHelp": false,
|
|
3394
|
-
"multiple": false,
|
|
3395
|
-
"type": "option"
|
|
3396
|
-
},
|
|
3397
|
-
"checkonly": {
|
|
3398
|
-
"char": "c",
|
|
3399
|
-
"description": "checkonly",
|
|
3400
|
-
"name": "checkonly",
|
|
3401
|
-
"allowNo": false,
|
|
3402
|
-
"type": "boolean"
|
|
3403
|
-
},
|
|
3404
|
-
"soapdeploy": {
|
|
3405
|
-
"description": "soapDeploy",
|
|
3406
|
-
"name": "soapdeploy",
|
|
3407
|
-
"allowNo": false,
|
|
3408
|
-
"type": "boolean"
|
|
3409
|
-
},
|
|
3410
|
-
"wait": {
|
|
3411
|
-
"char": "w",
|
|
3412
|
-
"description": "wait",
|
|
3413
|
-
"name": "wait",
|
|
3414
|
-
"default": 60,
|
|
3415
|
-
"hasDynamicHelp": false,
|
|
3416
|
-
"multiple": false,
|
|
3417
|
-
"type": "option"
|
|
3418
|
-
},
|
|
3419
|
-
"testlevel": {
|
|
3420
|
-
"char": "l",
|
|
3421
|
-
"description": "testlevel",
|
|
3422
|
-
"name": "testlevel",
|
|
3423
|
-
"default": "NoTestRun",
|
|
3424
|
-
"hasDynamicHelp": false,
|
|
3425
|
-
"multiple": false,
|
|
3426
|
-
"options": [
|
|
3427
|
-
"NoTestRun",
|
|
3428
|
-
"RunSpecifiedTests",
|
|
3429
|
-
"RunLocalTests",
|
|
3430
|
-
"RunAllTestsInOrg"
|
|
3431
|
-
],
|
|
3432
|
-
"type": "option"
|
|
3433
|
-
},
|
|
3434
|
-
"runtests": {
|
|
3435
|
-
"char": "r",
|
|
3436
|
-
"description": "runTests",
|
|
3437
|
-
"name": "runtests",
|
|
3438
|
-
"default": [],
|
|
3439
|
-
"hasDynamicHelp": false,
|
|
3440
|
-
"multiple": true,
|
|
3441
|
-
"type": "option"
|
|
3442
|
-
},
|
|
3443
|
-
"ignoreerrors": {
|
|
3444
|
-
"description": "ignoreErrors",
|
|
3445
|
-
"name": "ignoreerrors",
|
|
3446
|
-
"allowNo": false,
|
|
3447
|
-
"type": "boolean"
|
|
3448
|
-
},
|
|
3449
|
-
"ignorewarnings": {
|
|
3450
|
-
"char": "g",
|
|
3451
|
-
"description": "ignoreWarnings",
|
|
3452
|
-
"name": "ignorewarnings",
|
|
3453
|
-
"allowNo": false,
|
|
3454
|
-
"type": "boolean"
|
|
3455
|
-
},
|
|
3456
|
-
"validateddeployrequestid": {
|
|
3457
|
-
"char": "q",
|
|
3458
|
-
"description": "validateDeployRequestId",
|
|
3459
|
-
"exclusive": [
|
|
3460
|
-
"manifest",
|
|
3461
|
-
"metadata",
|
|
3462
|
-
"sourcepath",
|
|
3463
|
-
"checkonly",
|
|
3464
|
-
"testlevel",
|
|
3465
|
-
"runtests",
|
|
3466
|
-
"ignoreerrors",
|
|
3467
|
-
"ignorewarnings"
|
|
3468
|
-
],
|
|
3469
|
-
"name": "validateddeployrequestid",
|
|
3470
|
-
"hasDynamicHelp": false,
|
|
3471
|
-
"multiple": false,
|
|
3472
|
-
"type": "option"
|
|
3473
|
-
},
|
|
3474
|
-
"verbose": {
|
|
3475
|
-
"description": "verbose",
|
|
3476
|
-
"name": "verbose",
|
|
3477
|
-
"allowNo": false,
|
|
3478
|
-
"type": "boolean"
|
|
3479
|
-
},
|
|
3480
|
-
"metadata": {
|
|
3481
|
-
"char": "m",
|
|
3482
|
-
"description": "metadata",
|
|
3483
|
-
"exclusive": [
|
|
3484
|
-
"manifest",
|
|
3485
|
-
"sourcepath"
|
|
3486
|
-
],
|
|
3487
|
-
"name": "metadata",
|
|
3488
|
-
"hasDynamicHelp": false,
|
|
3489
|
-
"multiple": true,
|
|
3490
|
-
"type": "option"
|
|
3491
|
-
},
|
|
3492
|
-
"sourcepath": {
|
|
3493
|
-
"char": "p",
|
|
3494
|
-
"description": "sourcePath",
|
|
3495
|
-
"exclusive": [
|
|
3496
|
-
"manifest",
|
|
3497
|
-
"metadata"
|
|
3498
|
-
],
|
|
3499
|
-
"name": "sourcepath",
|
|
3500
|
-
"hasDynamicHelp": false,
|
|
3501
|
-
"multiple": true,
|
|
3502
|
-
"type": "option"
|
|
3503
|
-
},
|
|
3504
|
-
"manifest": {
|
|
3505
|
-
"char": "x",
|
|
3506
|
-
"description": "flagsLong.manifest",
|
|
3507
|
-
"exclusive": [
|
|
3508
|
-
"metadata",
|
|
3509
|
-
"sourcepath"
|
|
3510
|
-
],
|
|
3511
|
-
"name": "manifest",
|
|
3512
|
-
"hasDynamicHelp": false,
|
|
3513
|
-
"multiple": false,
|
|
3514
|
-
"type": "option"
|
|
3515
|
-
},
|
|
3516
|
-
"predestructivechanges": {
|
|
3517
|
-
"dependsOn": [
|
|
3518
|
-
"manifest"
|
|
3519
|
-
],
|
|
3520
|
-
"description": "predestructivechanges",
|
|
3521
|
-
"name": "predestructivechanges",
|
|
3522
|
-
"hasDynamicHelp": false,
|
|
3523
|
-
"multiple": false,
|
|
3524
|
-
"type": "option"
|
|
3525
|
-
},
|
|
3526
|
-
"postdestructivechanges": {
|
|
3527
|
-
"dependsOn": [
|
|
3528
|
-
"manifest"
|
|
3529
|
-
],
|
|
3530
|
-
"description": "postdestructivechanges",
|
|
3531
|
-
"name": "postdestructivechanges",
|
|
3532
|
-
"hasDynamicHelp": false,
|
|
3533
|
-
"multiple": false,
|
|
3534
|
-
"type": "option"
|
|
3535
|
-
},
|
|
3536
|
-
"tracksource": {
|
|
3537
|
-
"char": "t",
|
|
3538
|
-
"description": "tracksource",
|
|
3539
|
-
"exclusive": [
|
|
3540
|
-
"checkonly",
|
|
3541
|
-
"validateddeployrequestid"
|
|
3542
|
-
],
|
|
3543
|
-
"name": "tracksource",
|
|
3544
|
-
"allowNo": false,
|
|
3545
|
-
"type": "boolean"
|
|
3546
|
-
},
|
|
3547
|
-
"forceoverwrite": {
|
|
3548
|
-
"char": "f",
|
|
3549
|
-
"dependsOn": [
|
|
3550
|
-
"tracksource"
|
|
3551
|
-
],
|
|
3552
|
-
"description": "forceoverwrite",
|
|
3553
|
-
"name": "forceoverwrite",
|
|
3636
|
+
"lib",
|
|
3637
|
+
"commands",
|
|
3638
|
+
"hardis",
|
|
3639
|
+
"scratch",
|
|
3640
|
+
"create.js"
|
|
3641
|
+
],
|
|
3642
|
+
"aliasPermutations": [],
|
|
3643
|
+
"permutations": [
|
|
3644
|
+
"hardis:scratch:create",
|
|
3645
|
+
"scratch:hardis:create",
|
|
3646
|
+
"scratch:create:hardis",
|
|
3647
|
+
"hardis:create:scratch",
|
|
3648
|
+
"create:hardis:scratch",
|
|
3649
|
+
"create:scratch:hardis"
|
|
3650
|
+
]
|
|
3651
|
+
},
|
|
3652
|
+
"hardis:scratch:delete": {
|
|
3653
|
+
"aliases": [],
|
|
3654
|
+
"args": {},
|
|
3655
|
+
"description": "Assisted menu to delete scratch orgs associated to a DevHub",
|
|
3656
|
+
"examples": [
|
|
3657
|
+
"$ sf hardis:scratch:delete"
|
|
3658
|
+
],
|
|
3659
|
+
"flags": {
|
|
3660
|
+
"json": {
|
|
3661
|
+
"description": "Format output as json.",
|
|
3662
|
+
"helpGroup": "GLOBAL",
|
|
3663
|
+
"name": "json",
|
|
3554
3664
|
"allowNo": false,
|
|
3555
3665
|
"type": "boolean"
|
|
3556
3666
|
},
|
|
3557
|
-
"
|
|
3558
|
-
"
|
|
3559
|
-
"name": "
|
|
3667
|
+
"flags-dir": {
|
|
3668
|
+
"helpGroup": "GLOBAL",
|
|
3669
|
+
"name": "flags-dir",
|
|
3670
|
+
"summary": "Import flag values from a directory.",
|
|
3560
3671
|
"hasDynamicHelp": false,
|
|
3561
3672
|
"multiple": false,
|
|
3562
3673
|
"type": "option"
|
|
3563
3674
|
},
|
|
3564
|
-
"coverageformatters": {
|
|
3565
|
-
"description": "coverageformatters",
|
|
3566
|
-
"name": "coverageformatters",
|
|
3567
|
-
"hasDynamicHelp": false,
|
|
3568
|
-
"multiple": true,
|
|
3569
|
-
"type": "option"
|
|
3570
|
-
},
|
|
3571
|
-
"junit": {
|
|
3572
|
-
"description": "junit",
|
|
3573
|
-
"name": "junit",
|
|
3574
|
-
"allowNo": false,
|
|
3575
|
-
"type": "boolean"
|
|
3576
|
-
},
|
|
3577
|
-
"checkcoverage": {
|
|
3578
|
-
"description": "Check Apex org coverage",
|
|
3579
|
-
"name": "checkcoverage",
|
|
3580
|
-
"allowNo": false,
|
|
3581
|
-
"type": "boolean"
|
|
3582
|
-
},
|
|
3583
3675
|
"debug": {
|
|
3584
|
-
"
|
|
3676
|
+
"char": "d",
|
|
3677
|
+
"description": "Activate debug mode (more logs)",
|
|
3585
3678
|
"name": "debug",
|
|
3586
3679
|
"allowNo": false,
|
|
3587
3680
|
"type": "boolean"
|
|
3588
3681
|
},
|
|
3589
3682
|
"websocket": {
|
|
3590
|
-
"description": "
|
|
3683
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
3591
3684
|
"name": "websocket",
|
|
3592
3685
|
"hasDynamicHelp": false,
|
|
3593
3686
|
"multiple": false,
|
|
3594
3687
|
"type": "option"
|
|
3595
3688
|
},
|
|
3596
|
-
"
|
|
3689
|
+
"skipauth": {
|
|
3690
|
+
"description": "Skip authentication check when a default username is required",
|
|
3691
|
+
"name": "skipauth",
|
|
3692
|
+
"allowNo": false,
|
|
3693
|
+
"type": "boolean"
|
|
3694
|
+
},
|
|
3695
|
+
"target-dev-hub": {
|
|
3597
3696
|
"aliases": [
|
|
3598
|
-
"
|
|
3599
|
-
"u"
|
|
3697
|
+
"targetdevhubusername"
|
|
3600
3698
|
],
|
|
3601
|
-
"char": "
|
|
3699
|
+
"char": "v",
|
|
3602
3700
|
"deprecateAliases": true,
|
|
3603
|
-
"name": "target-
|
|
3701
|
+
"name": "target-dev-hub",
|
|
3604
3702
|
"noCacheDefault": true,
|
|
3605
3703
|
"required": true,
|
|
3606
|
-
"summary": "Username or alias of the
|
|
3704
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
3607
3705
|
"hasDynamicHelp": true,
|
|
3608
3706
|
"multiple": false,
|
|
3609
3707
|
"type": "option"
|
|
@@ -3611,35 +3709,38 @@
|
|
|
3611
3709
|
},
|
|
3612
3710
|
"hasDynamicHelp": true,
|
|
3613
3711
|
"hiddenAliases": [],
|
|
3614
|
-
"id": "hardis:
|
|
3712
|
+
"id": "hardis:scratch:delete",
|
|
3615
3713
|
"pluginAlias": "sfdx-hardis",
|
|
3616
3714
|
"pluginName": "sfdx-hardis",
|
|
3617
3715
|
"pluginType": "core",
|
|
3618
3716
|
"strict": true,
|
|
3619
3717
|
"enableJsonFlag": true,
|
|
3620
|
-
"
|
|
3718
|
+
"title": "Delete scratch orgs(s)",
|
|
3621
3719
|
"isESM": true,
|
|
3622
3720
|
"relativePath": [
|
|
3623
3721
|
"lib",
|
|
3624
3722
|
"commands",
|
|
3625
3723
|
"hardis",
|
|
3626
|
-
"
|
|
3627
|
-
"
|
|
3724
|
+
"scratch",
|
|
3725
|
+
"delete.js"
|
|
3628
3726
|
],
|
|
3629
3727
|
"aliasPermutations": [],
|
|
3630
3728
|
"permutations": [
|
|
3631
|
-
"hardis:
|
|
3632
|
-
"
|
|
3633
|
-
"
|
|
3634
|
-
"hardis:
|
|
3635
|
-
"
|
|
3636
|
-
"
|
|
3729
|
+
"hardis:scratch:delete",
|
|
3730
|
+
"scratch:hardis:delete",
|
|
3731
|
+
"scratch:delete:hardis",
|
|
3732
|
+
"hardis:delete:scratch",
|
|
3733
|
+
"delete:hardis:scratch",
|
|
3734
|
+
"delete:scratch:hardis"
|
|
3637
3735
|
]
|
|
3638
3736
|
},
|
|
3639
|
-
"hardis:
|
|
3737
|
+
"hardis:scratch:pull": {
|
|
3640
3738
|
"aliases": [],
|
|
3641
3739
|
"args": {},
|
|
3642
|
-
"description": "
|
|
3740
|
+
"description": "This commands pulls the updates you performed in your scratch or sandbox org, into your local files\n\nThen, you probably want to stage and commit the files containing the updates you want to keep, as explained in this video.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Ik6whtflmfY\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n- Calls `sf project retrieve start` under the hood\n- If there are errors, proposes to automatically add erroneous item in `.forceignore`, then pull again\n- If you don't see your updated items in the results, you can manually retrieve [using SF Extension **Org Browser** or **Salesforce CLI**](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/#retrieve-metadatas)\n- If you want to always retrieve sources like CustomApplication that are not always detected as updates by project:retrieve:start , you can define property **autoRetrieveWhenPull** in .sfdx-hardis.yml\n\nExample:\n```yaml\nautoRetrieveWhenPull:\n - CustomApplication:MyCustomApplication\n - CustomApplication:MyOtherCustomApplication\n - CustomApplication:MyThirdCustomApp\n```\n",
|
|
3741
|
+
"examples": [
|
|
3742
|
+
"$ sf hardis:scratch:pull"
|
|
3743
|
+
],
|
|
3643
3744
|
"flags": {
|
|
3644
3745
|
"json": {
|
|
3645
3746
|
"description": "Format output as json.",
|
|
@@ -3656,48 +3757,26 @@
|
|
|
3656
3757
|
"multiple": false,
|
|
3657
3758
|
"type": "option"
|
|
3658
3759
|
},
|
|
3659
|
-
"forceoverwrite": {
|
|
3660
|
-
"char": "f",
|
|
3661
|
-
"description": "forceoverwrite",
|
|
3662
|
-
"name": "forceoverwrite",
|
|
3663
|
-
"allowNo": false,
|
|
3664
|
-
"type": "boolean"
|
|
3665
|
-
},
|
|
3666
|
-
"wait": {
|
|
3667
|
-
"char": "w",
|
|
3668
|
-
"description": "wait",
|
|
3669
|
-
"name": "wait",
|
|
3670
|
-
"default": 60,
|
|
3671
|
-
"hasDynamicHelp": false,
|
|
3672
|
-
"multiple": false,
|
|
3673
|
-
"type": "option"
|
|
3674
|
-
},
|
|
3675
|
-
"ignorewarnings": {
|
|
3676
|
-
"char": "g",
|
|
3677
|
-
"description": "ignorewarnings",
|
|
3678
|
-
"name": "ignorewarnings",
|
|
3679
|
-
"allowNo": false,
|
|
3680
|
-
"type": "boolean"
|
|
3681
|
-
},
|
|
3682
|
-
"quiet": {
|
|
3683
|
-
"description": "quiet",
|
|
3684
|
-
"name": "quiet",
|
|
3685
|
-
"allowNo": false,
|
|
3686
|
-
"type": "boolean"
|
|
3687
|
-
},
|
|
3688
3760
|
"debug": {
|
|
3689
|
-
"
|
|
3761
|
+
"char": "d",
|
|
3762
|
+
"description": "Activate debug mode (more logs)",
|
|
3690
3763
|
"name": "debug",
|
|
3691
3764
|
"allowNo": false,
|
|
3692
3765
|
"type": "boolean"
|
|
3693
3766
|
},
|
|
3694
3767
|
"websocket": {
|
|
3695
|
-
"description": "
|
|
3768
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
3696
3769
|
"name": "websocket",
|
|
3697
3770
|
"hasDynamicHelp": false,
|
|
3698
3771
|
"multiple": false,
|
|
3699
3772
|
"type": "option"
|
|
3700
3773
|
},
|
|
3774
|
+
"skipauth": {
|
|
3775
|
+
"description": "Skip authentication check when a default username is required",
|
|
3776
|
+
"name": "skipauth",
|
|
3777
|
+
"allowNo": false,
|
|
3778
|
+
"type": "boolean"
|
|
3779
|
+
},
|
|
3701
3780
|
"target-org": {
|
|
3702
3781
|
"aliases": [
|
|
3703
3782
|
"targetusername",
|
|
@@ -3716,36 +3795,39 @@
|
|
|
3716
3795
|
},
|
|
3717
3796
|
"hasDynamicHelp": true,
|
|
3718
3797
|
"hiddenAliases": [],
|
|
3719
|
-
"id": "hardis:
|
|
3798
|
+
"id": "hardis:scratch:pull",
|
|
3720
3799
|
"pluginAlias": "sfdx-hardis",
|
|
3721
3800
|
"pluginName": "sfdx-hardis",
|
|
3722
3801
|
"pluginType": "core",
|
|
3723
3802
|
"strict": true,
|
|
3724
3803
|
"enableJsonFlag": true,
|
|
3804
|
+
"title": "Scratch PULL",
|
|
3725
3805
|
"requiresProject": true,
|
|
3726
3806
|
"isESM": true,
|
|
3727
3807
|
"relativePath": [
|
|
3728
3808
|
"lib",
|
|
3729
3809
|
"commands",
|
|
3730
3810
|
"hardis",
|
|
3731
|
-
"
|
|
3732
|
-
"
|
|
3811
|
+
"scratch",
|
|
3812
|
+
"pull.js"
|
|
3733
3813
|
],
|
|
3734
3814
|
"aliasPermutations": [],
|
|
3735
3815
|
"permutations": [
|
|
3736
|
-
"hardis:
|
|
3737
|
-
"
|
|
3738
|
-
"
|
|
3739
|
-
"hardis:
|
|
3740
|
-
"
|
|
3741
|
-
"
|
|
3816
|
+
"hardis:scratch:pull",
|
|
3817
|
+
"scratch:hardis:pull",
|
|
3818
|
+
"scratch:pull:hardis",
|
|
3819
|
+
"hardis:pull:scratch",
|
|
3820
|
+
"pull:hardis:scratch",
|
|
3821
|
+
"pull:scratch:hardis"
|
|
3742
3822
|
]
|
|
3743
3823
|
},
|
|
3744
|
-
"hardis:
|
|
3824
|
+
"hardis:scratch:push": {
|
|
3745
3825
|
"aliases": [],
|
|
3746
3826
|
"args": {},
|
|
3747
|
-
"description": "
|
|
3748
|
-
"examples": [
|
|
3827
|
+
"description": "Push local files to scratch org\n\nCalls `sf project deploy start` under the hood\n",
|
|
3828
|
+
"examples": [
|
|
3829
|
+
"$ sf hardis:scratch:push"
|
|
3830
|
+
],
|
|
3749
3831
|
"flags": {
|
|
3750
3832
|
"json": {
|
|
3751
3833
|
"description": "Format output as json.",
|
|
@@ -3762,98 +3844,15 @@
|
|
|
3762
3844
|
"multiple": false,
|
|
3763
3845
|
"type": "option"
|
|
3764
3846
|
},
|
|
3765
|
-
"apiversion": {
|
|
3766
|
-
"char": "a",
|
|
3767
|
-
"description": "Override the api version used for api requests made by this command",
|
|
3768
|
-
"name": "apiversion",
|
|
3769
|
-
"hasDynamicHelp": false,
|
|
3770
|
-
"multiple": false,
|
|
3771
|
-
"type": "option"
|
|
3772
|
-
},
|
|
3773
|
-
"sourcepath": {
|
|
3774
|
-
"char": "p",
|
|
3775
|
-
"description": "sourcePath",
|
|
3776
|
-
"exclusive": [
|
|
3777
|
-
"manifest",
|
|
3778
|
-
"metadata"
|
|
3779
|
-
],
|
|
3780
|
-
"name": "sourcepath",
|
|
3781
|
-
"hasDynamicHelp": false,
|
|
3782
|
-
"multiple": true,
|
|
3783
|
-
"type": "option"
|
|
3784
|
-
},
|
|
3785
|
-
"wait": {
|
|
3786
|
-
"char": "w",
|
|
3787
|
-
"description": "wait",
|
|
3788
|
-
"name": "wait",
|
|
3789
|
-
"hasDynamicHelp": false,
|
|
3790
|
-
"multiple": false,
|
|
3791
|
-
"type": "option"
|
|
3792
|
-
},
|
|
3793
|
-
"manifest": {
|
|
3794
|
-
"char": "x",
|
|
3795
|
-
"description": "manifest",
|
|
3796
|
-
"exclusive": [
|
|
3797
|
-
"metadata",
|
|
3798
|
-
"sourcepath"
|
|
3799
|
-
],
|
|
3800
|
-
"name": "manifest",
|
|
3801
|
-
"hasDynamicHelp": false,
|
|
3802
|
-
"multiple": false,
|
|
3803
|
-
"type": "option"
|
|
3804
|
-
},
|
|
3805
|
-
"metadata": {
|
|
3806
|
-
"char": "m",
|
|
3807
|
-
"description": "metadata",
|
|
3808
|
-
"exclusive": [
|
|
3809
|
-
"manifest",
|
|
3810
|
-
"sourcepath"
|
|
3811
|
-
],
|
|
3812
|
-
"name": "metadata",
|
|
3813
|
-
"hasDynamicHelp": false,
|
|
3814
|
-
"multiple": true,
|
|
3815
|
-
"type": "option"
|
|
3816
|
-
},
|
|
3817
|
-
"packagenames": {
|
|
3818
|
-
"char": "n",
|
|
3819
|
-
"description": "packagenames",
|
|
3820
|
-
"name": "packagenames",
|
|
3821
|
-
"hasDynamicHelp": false,
|
|
3822
|
-
"multiple": true,
|
|
3823
|
-
"type": "option"
|
|
3824
|
-
},
|
|
3825
|
-
"tracksource": {
|
|
3826
|
-
"char": "t",
|
|
3827
|
-
"description": "tracksource",
|
|
3828
|
-
"name": "tracksource",
|
|
3829
|
-
"allowNo": false,
|
|
3830
|
-
"type": "boolean"
|
|
3831
|
-
},
|
|
3832
|
-
"forceoverwrite": {
|
|
3833
|
-
"char": "f",
|
|
3834
|
-
"dependsOn": [
|
|
3835
|
-
"tracksource"
|
|
3836
|
-
],
|
|
3837
|
-
"description": "forceoverwrite",
|
|
3838
|
-
"name": "forceoverwrite",
|
|
3839
|
-
"allowNo": false,
|
|
3840
|
-
"type": "boolean"
|
|
3841
|
-
},
|
|
3842
|
-
"verbose": {
|
|
3843
|
-
"description": "verbose",
|
|
3844
|
-
"name": "verbose",
|
|
3845
|
-
"allowNo": false,
|
|
3846
|
-
"type": "boolean"
|
|
3847
|
-
},
|
|
3848
3847
|
"debug": {
|
|
3849
3848
|
"char": "d",
|
|
3850
|
-
"description": "
|
|
3849
|
+
"description": "Activate debug mode (more logs)",
|
|
3851
3850
|
"name": "debug",
|
|
3852
3851
|
"allowNo": false,
|
|
3853
3852
|
"type": "boolean"
|
|
3854
3853
|
},
|
|
3855
3854
|
"websocket": {
|
|
3856
|
-
"description": "
|
|
3855
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
3857
3856
|
"name": "websocket",
|
|
3858
3857
|
"hasDynamicHelp": false,
|
|
3859
3858
|
"multiple": false,
|
|
@@ -3883,29 +3882,30 @@
|
|
|
3883
3882
|
},
|
|
3884
3883
|
"hasDynamicHelp": true,
|
|
3885
3884
|
"hiddenAliases": [],
|
|
3886
|
-
"id": "hardis:
|
|
3885
|
+
"id": "hardis:scratch:push",
|
|
3887
3886
|
"pluginAlias": "sfdx-hardis",
|
|
3888
3887
|
"pluginName": "sfdx-hardis",
|
|
3889
3888
|
"pluginType": "core",
|
|
3890
3889
|
"strict": true,
|
|
3891
3890
|
"enableJsonFlag": true,
|
|
3891
|
+
"title": "Scratch PUSH",
|
|
3892
3892
|
"requiresProject": true,
|
|
3893
3893
|
"isESM": true,
|
|
3894
3894
|
"relativePath": [
|
|
3895
3895
|
"lib",
|
|
3896
3896
|
"commands",
|
|
3897
3897
|
"hardis",
|
|
3898
|
-
"
|
|
3899
|
-
"
|
|
3898
|
+
"scratch",
|
|
3899
|
+
"push.js"
|
|
3900
3900
|
],
|
|
3901
3901
|
"aliasPermutations": [],
|
|
3902
3902
|
"permutations": [
|
|
3903
|
-
"hardis:
|
|
3904
|
-
"
|
|
3905
|
-
"
|
|
3906
|
-
"hardis:
|
|
3907
|
-
"
|
|
3908
|
-
"
|
|
3903
|
+
"hardis:scratch:push",
|
|
3904
|
+
"scratch:hardis:push",
|
|
3905
|
+
"scratch:push:hardis",
|
|
3906
|
+
"hardis:push:scratch",
|
|
3907
|
+
"push:hardis:scratch",
|
|
3908
|
+
"push:scratch:hardis"
|
|
3909
3909
|
]
|
|
3910
3910
|
},
|
|
3911
3911
|
"hardis:work:new": {
|
|
@@ -5094,277 +5094,43 @@
|
|
|
5094
5094
|
"commands",
|
|
5095
5095
|
"hardis",
|
|
5096
5096
|
"org",
|
|
5097
|
-
"configure",
|
|
5098
|
-
"monitoring.js"
|
|
5099
|
-
],
|
|
5100
|
-
"aliasPermutations": [],
|
|
5101
|
-
"permutations": [
|
|
5102
|
-
"hardis:org:configure:monitoring",
|
|
5103
|
-
"org:hardis:configure:monitoring",
|
|
5104
|
-
"org:configure:hardis:monitoring",
|
|
5105
|
-
"org:configure:monitoring:hardis",
|
|
5106
|
-
"hardis:configure:org:monitoring",
|
|
5107
|
-
"configure:hardis:org:monitoring",
|
|
5108
|
-
"configure:org:hardis:monitoring",
|
|
5109
|
-
"configure:org:monitoring:hardis",
|
|
5110
|
-
"hardis:configure:monitoring:org",
|
|
5111
|
-
"configure:hardis:monitoring:org",
|
|
5112
|
-
"configure:monitoring:hardis:org",
|
|
5113
|
-
"configure:monitoring:org:hardis",
|
|
5114
|
-
"hardis:org:monitoring:configure",
|
|
5115
|
-
"org:hardis:monitoring:configure",
|
|
5116
|
-
"org:monitoring:hardis:configure",
|
|
5117
|
-
"org:monitoring:configure:hardis",
|
|
5118
|
-
"hardis:monitoring:org:configure",
|
|
5119
|
-
"monitoring:hardis:org:configure",
|
|
5120
|
-
"monitoring:org:hardis:configure",
|
|
5121
|
-
"monitoring:org:configure:hardis",
|
|
5122
|
-
"hardis:monitoring:configure:org",
|
|
5123
|
-
"monitoring:hardis:configure:org",
|
|
5124
|
-
"monitoring:configure:hardis:org",
|
|
5125
|
-
"monitoring:configure:org:hardis"
|
|
5126
|
-
]
|
|
5127
|
-
},
|
|
5128
|
-
"hardis:org:data:delete": {
|
|
5129
|
-
"aliases": [],
|
|
5130
|
-
"args": {},
|
|
5131
|
-
"description": "Delete records in multiple objects using SFDMU Workspace\n \nIf you need to run this command in production, you need to:\n\n- define runnableInProduction in export.json\n- define sfdmuCanModify: YOUR_INSTANCE_URL in config/branches/.sfdx-hardis.YOUR_BRANCH.yml\n",
|
|
5132
|
-
"examples": [
|
|
5133
|
-
"$ sf hardis:org:data:delete"
|
|
5134
|
-
],
|
|
5135
|
-
"flags": {
|
|
5136
|
-
"json": {
|
|
5137
|
-
"description": "Format output as json.",
|
|
5138
|
-
"helpGroup": "GLOBAL",
|
|
5139
|
-
"name": "json",
|
|
5140
|
-
"allowNo": false,
|
|
5141
|
-
"type": "boolean"
|
|
5142
|
-
},
|
|
5143
|
-
"flags-dir": {
|
|
5144
|
-
"helpGroup": "GLOBAL",
|
|
5145
|
-
"name": "flags-dir",
|
|
5146
|
-
"summary": "Import flag values from a directory.",
|
|
5147
|
-
"hasDynamicHelp": false,
|
|
5148
|
-
"multiple": false,
|
|
5149
|
-
"type": "option"
|
|
5150
|
-
},
|
|
5151
|
-
"path": {
|
|
5152
|
-
"char": "p",
|
|
5153
|
-
"description": "Path to the sfdmu workspace folder",
|
|
5154
|
-
"name": "path",
|
|
5155
|
-
"hasDynamicHelp": false,
|
|
5156
|
-
"multiple": false,
|
|
5157
|
-
"type": "option"
|
|
5158
|
-
},
|
|
5159
|
-
"debug": {
|
|
5160
|
-
"char": "d",
|
|
5161
|
-
"description": "Activate debug mode (more logs)",
|
|
5162
|
-
"name": "debug",
|
|
5163
|
-
"allowNo": false,
|
|
5164
|
-
"type": "boolean"
|
|
5165
|
-
},
|
|
5166
|
-
"websocket": {
|
|
5167
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5168
|
-
"name": "websocket",
|
|
5169
|
-
"hasDynamicHelp": false,
|
|
5170
|
-
"multiple": false,
|
|
5171
|
-
"type": "option"
|
|
5172
|
-
},
|
|
5173
|
-
"skipauth": {
|
|
5174
|
-
"description": "Skip authentication check when a default username is required",
|
|
5175
|
-
"name": "skipauth",
|
|
5176
|
-
"allowNo": false,
|
|
5177
|
-
"type": "boolean"
|
|
5178
|
-
},
|
|
5179
|
-
"target-org": {
|
|
5180
|
-
"aliases": [
|
|
5181
|
-
"targetusername",
|
|
5182
|
-
"u"
|
|
5183
|
-
],
|
|
5184
|
-
"char": "o",
|
|
5185
|
-
"deprecateAliases": true,
|
|
5186
|
-
"name": "target-org",
|
|
5187
|
-
"noCacheDefault": true,
|
|
5188
|
-
"required": true,
|
|
5189
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5190
|
-
"hasDynamicHelp": true,
|
|
5191
|
-
"multiple": false,
|
|
5192
|
-
"type": "option"
|
|
5193
|
-
}
|
|
5194
|
-
},
|
|
5195
|
-
"hasDynamicHelp": true,
|
|
5196
|
-
"hiddenAliases": [],
|
|
5197
|
-
"id": "hardis:org:data:delete",
|
|
5198
|
-
"pluginAlias": "sfdx-hardis",
|
|
5199
|
-
"pluginName": "sfdx-hardis",
|
|
5200
|
-
"pluginType": "core",
|
|
5201
|
-
"strict": true,
|
|
5202
|
-
"enableJsonFlag": true,
|
|
5203
|
-
"title": "Delete data",
|
|
5204
|
-
"requiresProject": false,
|
|
5205
|
-
"requiresSfdxPlugins": [
|
|
5206
|
-
"sfdmu"
|
|
5207
|
-
],
|
|
5208
|
-
"isESM": true,
|
|
5209
|
-
"relativePath": [
|
|
5210
|
-
"lib",
|
|
5211
|
-
"commands",
|
|
5212
|
-
"hardis",
|
|
5213
|
-
"org",
|
|
5214
|
-
"data",
|
|
5215
|
-
"delete.js"
|
|
5216
|
-
],
|
|
5217
|
-
"aliasPermutations": [],
|
|
5218
|
-
"permutations": [
|
|
5219
|
-
"hardis:org:data:delete",
|
|
5220
|
-
"org:hardis:data:delete",
|
|
5221
|
-
"org:data:hardis:delete",
|
|
5222
|
-
"org:data:delete:hardis",
|
|
5223
|
-
"hardis:data:org:delete",
|
|
5224
|
-
"data:hardis:org:delete",
|
|
5225
|
-
"data:org:hardis:delete",
|
|
5226
|
-
"data:org:delete:hardis",
|
|
5227
|
-
"hardis:data:delete:org",
|
|
5228
|
-
"data:hardis:delete:org",
|
|
5229
|
-
"data:delete:hardis:org",
|
|
5230
|
-
"data:delete:org:hardis",
|
|
5231
|
-
"hardis:org:delete:data",
|
|
5232
|
-
"org:hardis:delete:data",
|
|
5233
|
-
"org:delete:hardis:data",
|
|
5234
|
-
"org:delete:data:hardis",
|
|
5235
|
-
"hardis:delete:org:data",
|
|
5236
|
-
"delete:hardis:org:data",
|
|
5237
|
-
"delete:org:hardis:data",
|
|
5238
|
-
"delete:org:data:hardis",
|
|
5239
|
-
"hardis:delete:data:org",
|
|
5240
|
-
"delete:hardis:data:org",
|
|
5241
|
-
"delete:data:hardis:org",
|
|
5242
|
-
"delete:data:org:hardis"
|
|
5243
|
-
]
|
|
5244
|
-
},
|
|
5245
|
-
"hardis:org:data:export": {
|
|
5246
|
-
"aliases": [],
|
|
5247
|
-
"args": {},
|
|
5248
|
-
"description": "Export data from an org using a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n",
|
|
5249
|
-
"examples": [
|
|
5250
|
-
"$ sf hardis:org:data:export"
|
|
5251
|
-
],
|
|
5252
|
-
"flags": {
|
|
5253
|
-
"json": {
|
|
5254
|
-
"description": "Format output as json.",
|
|
5255
|
-
"helpGroup": "GLOBAL",
|
|
5256
|
-
"name": "json",
|
|
5257
|
-
"allowNo": false,
|
|
5258
|
-
"type": "boolean"
|
|
5259
|
-
},
|
|
5260
|
-
"flags-dir": {
|
|
5261
|
-
"helpGroup": "GLOBAL",
|
|
5262
|
-
"name": "flags-dir",
|
|
5263
|
-
"summary": "Import flag values from a directory.",
|
|
5264
|
-
"hasDynamicHelp": false,
|
|
5265
|
-
"multiple": false,
|
|
5266
|
-
"type": "option"
|
|
5267
|
-
},
|
|
5268
|
-
"path": {
|
|
5269
|
-
"char": "p",
|
|
5270
|
-
"description": "Path to the sfdmu workspace folder",
|
|
5271
|
-
"name": "path",
|
|
5272
|
-
"hasDynamicHelp": false,
|
|
5273
|
-
"multiple": false,
|
|
5274
|
-
"type": "option"
|
|
5275
|
-
},
|
|
5276
|
-
"debug": {
|
|
5277
|
-
"char": "d",
|
|
5278
|
-
"description": "Activate debug mode (more logs)",
|
|
5279
|
-
"name": "debug",
|
|
5280
|
-
"allowNo": false,
|
|
5281
|
-
"type": "boolean"
|
|
5282
|
-
},
|
|
5283
|
-
"websocket": {
|
|
5284
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
5285
|
-
"name": "websocket",
|
|
5286
|
-
"hasDynamicHelp": false,
|
|
5287
|
-
"multiple": false,
|
|
5288
|
-
"type": "option"
|
|
5289
|
-
},
|
|
5290
|
-
"skipauth": {
|
|
5291
|
-
"description": "Skip authentication check when a default username is required",
|
|
5292
|
-
"name": "skipauth",
|
|
5293
|
-
"allowNo": false,
|
|
5294
|
-
"type": "boolean"
|
|
5295
|
-
},
|
|
5296
|
-
"target-org": {
|
|
5297
|
-
"aliases": [
|
|
5298
|
-
"targetusername",
|
|
5299
|
-
"u"
|
|
5300
|
-
],
|
|
5301
|
-
"char": "o",
|
|
5302
|
-
"deprecateAliases": true,
|
|
5303
|
-
"name": "target-org",
|
|
5304
|
-
"noCacheDefault": true,
|
|
5305
|
-
"required": true,
|
|
5306
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
5307
|
-
"hasDynamicHelp": true,
|
|
5308
|
-
"multiple": false,
|
|
5309
|
-
"type": "option"
|
|
5310
|
-
}
|
|
5311
|
-
},
|
|
5312
|
-
"hasDynamicHelp": true,
|
|
5313
|
-
"hiddenAliases": [],
|
|
5314
|
-
"id": "hardis:org:data:export",
|
|
5315
|
-
"pluginAlias": "sfdx-hardis",
|
|
5316
|
-
"pluginName": "sfdx-hardis",
|
|
5317
|
-
"pluginType": "core",
|
|
5318
|
-
"strict": true,
|
|
5319
|
-
"enableJsonFlag": true,
|
|
5320
|
-
"title": "Export data",
|
|
5321
|
-
"requiresProject": false,
|
|
5322
|
-
"requiresSfdxPlugins": [
|
|
5323
|
-
"sfdmu"
|
|
5324
|
-
],
|
|
5325
|
-
"isESM": true,
|
|
5326
|
-
"relativePath": [
|
|
5327
|
-
"lib",
|
|
5328
|
-
"commands",
|
|
5329
|
-
"hardis",
|
|
5330
|
-
"org",
|
|
5331
|
-
"data",
|
|
5332
|
-
"export.js"
|
|
5097
|
+
"configure",
|
|
5098
|
+
"monitoring.js"
|
|
5333
5099
|
],
|
|
5334
5100
|
"aliasPermutations": [],
|
|
5335
5101
|
"permutations": [
|
|
5336
|
-
"hardis:org:
|
|
5337
|
-
"org:hardis:
|
|
5338
|
-
"org:
|
|
5339
|
-
"org:
|
|
5340
|
-
"hardis:
|
|
5341
|
-
"
|
|
5342
|
-
"
|
|
5343
|
-
"
|
|
5344
|
-
"hardis:
|
|
5345
|
-
"
|
|
5346
|
-
"
|
|
5347
|
-
"
|
|
5348
|
-
"hardis:org:
|
|
5349
|
-
"org:hardis:
|
|
5350
|
-
"org:
|
|
5351
|
-
"org:
|
|
5352
|
-
"hardis:
|
|
5353
|
-
"
|
|
5354
|
-
"
|
|
5355
|
-
"
|
|
5356
|
-
"hardis:
|
|
5357
|
-
"
|
|
5358
|
-
"
|
|
5359
|
-
"
|
|
5102
|
+
"hardis:org:configure:monitoring",
|
|
5103
|
+
"org:hardis:configure:monitoring",
|
|
5104
|
+
"org:configure:hardis:monitoring",
|
|
5105
|
+
"org:configure:monitoring:hardis",
|
|
5106
|
+
"hardis:configure:org:monitoring",
|
|
5107
|
+
"configure:hardis:org:monitoring",
|
|
5108
|
+
"configure:org:hardis:monitoring",
|
|
5109
|
+
"configure:org:monitoring:hardis",
|
|
5110
|
+
"hardis:configure:monitoring:org",
|
|
5111
|
+
"configure:hardis:monitoring:org",
|
|
5112
|
+
"configure:monitoring:hardis:org",
|
|
5113
|
+
"configure:monitoring:org:hardis",
|
|
5114
|
+
"hardis:org:monitoring:configure",
|
|
5115
|
+
"org:hardis:monitoring:configure",
|
|
5116
|
+
"org:monitoring:hardis:configure",
|
|
5117
|
+
"org:monitoring:configure:hardis",
|
|
5118
|
+
"hardis:monitoring:org:configure",
|
|
5119
|
+
"monitoring:hardis:org:configure",
|
|
5120
|
+
"monitoring:org:hardis:configure",
|
|
5121
|
+
"monitoring:org:configure:hardis",
|
|
5122
|
+
"hardis:monitoring:configure:org",
|
|
5123
|
+
"monitoring:hardis:configure:org",
|
|
5124
|
+
"monitoring:configure:hardis:org",
|
|
5125
|
+
"monitoring:configure:org:hardis"
|
|
5360
5126
|
]
|
|
5361
5127
|
},
|
|
5362
|
-
"hardis:org:data:
|
|
5128
|
+
"hardis:org:data:delete": {
|
|
5363
5129
|
"aliases": [],
|
|
5364
5130
|
"args": {},
|
|
5365
|
-
"description": "
|
|
5131
|
+
"description": "Delete records in multiple objects using SFDMU Workspace\n \nIf you need to run this command in production, you need to:\n\n- define runnableInProduction in export.json\n- define sfdmuCanModify: YOUR_INSTANCE_URL in config/branches/.sfdx-hardis.YOUR_BRANCH.yml\n",
|
|
5366
5132
|
"examples": [
|
|
5367
|
-
"$ sf hardis:org:data:
|
|
5133
|
+
"$ sf hardis:org:data:delete"
|
|
5368
5134
|
],
|
|
5369
5135
|
"flags": {
|
|
5370
5136
|
"json": {
|
|
@@ -5428,13 +5194,13 @@
|
|
|
5428
5194
|
},
|
|
5429
5195
|
"hasDynamicHelp": true,
|
|
5430
5196
|
"hiddenAliases": [],
|
|
5431
|
-
"id": "hardis:org:data:
|
|
5197
|
+
"id": "hardis:org:data:delete",
|
|
5432
5198
|
"pluginAlias": "sfdx-hardis",
|
|
5433
5199
|
"pluginName": "sfdx-hardis",
|
|
5434
5200
|
"pluginType": "core",
|
|
5435
5201
|
"strict": true,
|
|
5436
5202
|
"enableJsonFlag": true,
|
|
5437
|
-
"title": "
|
|
5203
|
+
"title": "Delete data",
|
|
5438
5204
|
"requiresProject": false,
|
|
5439
5205
|
"requiresSfdxPlugins": [
|
|
5440
5206
|
"sfdmu"
|
|
@@ -5446,42 +5212,42 @@
|
|
|
5446
5212
|
"hardis",
|
|
5447
5213
|
"org",
|
|
5448
5214
|
"data",
|
|
5449
|
-
"
|
|
5215
|
+
"delete.js"
|
|
5450
5216
|
],
|
|
5451
5217
|
"aliasPermutations": [],
|
|
5452
5218
|
"permutations": [
|
|
5453
|
-
"hardis:org:data:
|
|
5454
|
-
"org:hardis:data:
|
|
5455
|
-
"org:data:hardis:
|
|
5456
|
-
"org:data:
|
|
5457
|
-
"hardis:data:org:
|
|
5458
|
-
"data:hardis:org:
|
|
5459
|
-
"data:org:hardis:
|
|
5460
|
-
"data:org:
|
|
5461
|
-
"hardis:data:
|
|
5462
|
-
"data:hardis:
|
|
5463
|
-
"data:
|
|
5464
|
-
"data:
|
|
5465
|
-
"hardis:org:
|
|
5466
|
-
"org:hardis:
|
|
5467
|
-
"org:
|
|
5468
|
-
"org:
|
|
5469
|
-
"hardis:
|
|
5470
|
-
"
|
|
5471
|
-
"
|
|
5472
|
-
"
|
|
5473
|
-
"hardis:
|
|
5474
|
-
"
|
|
5475
|
-
"
|
|
5476
|
-
"
|
|
5219
|
+
"hardis:org:data:delete",
|
|
5220
|
+
"org:hardis:data:delete",
|
|
5221
|
+
"org:data:hardis:delete",
|
|
5222
|
+
"org:data:delete:hardis",
|
|
5223
|
+
"hardis:data:org:delete",
|
|
5224
|
+
"data:hardis:org:delete",
|
|
5225
|
+
"data:org:hardis:delete",
|
|
5226
|
+
"data:org:delete:hardis",
|
|
5227
|
+
"hardis:data:delete:org",
|
|
5228
|
+
"data:hardis:delete:org",
|
|
5229
|
+
"data:delete:hardis:org",
|
|
5230
|
+
"data:delete:org:hardis",
|
|
5231
|
+
"hardis:org:delete:data",
|
|
5232
|
+
"org:hardis:delete:data",
|
|
5233
|
+
"org:delete:hardis:data",
|
|
5234
|
+
"org:delete:data:hardis",
|
|
5235
|
+
"hardis:delete:org:data",
|
|
5236
|
+
"delete:hardis:org:data",
|
|
5237
|
+
"delete:org:hardis:data",
|
|
5238
|
+
"delete:org:data:hardis",
|
|
5239
|
+
"hardis:delete:data:org",
|
|
5240
|
+
"delete:hardis:data:org",
|
|
5241
|
+
"delete:data:hardis:org",
|
|
5242
|
+
"delete:data:org:hardis"
|
|
5477
5243
|
]
|
|
5478
5244
|
},
|
|
5479
|
-
"hardis:org:
|
|
5245
|
+
"hardis:org:data:export": {
|
|
5480
5246
|
"aliases": [],
|
|
5481
5247
|
"args": {},
|
|
5482
|
-
"description": "Export
|
|
5248
|
+
"description": "Export data from an org using a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n",
|
|
5483
5249
|
"examples": [
|
|
5484
|
-
"$ sf hardis:org:
|
|
5250
|
+
"$ sf hardis:org:data:export"
|
|
5485
5251
|
],
|
|
5486
5252
|
"flags": {
|
|
5487
5253
|
"json": {
|
|
@@ -5501,39 +5267,12 @@
|
|
|
5501
5267
|
},
|
|
5502
5268
|
"path": {
|
|
5503
5269
|
"char": "p",
|
|
5504
|
-
"description": "Path to the
|
|
5270
|
+
"description": "Path to the sfdmu workspace folder",
|
|
5505
5271
|
"name": "path",
|
|
5506
5272
|
"hasDynamicHelp": false,
|
|
5507
5273
|
"multiple": false,
|
|
5508
5274
|
"type": "option"
|
|
5509
5275
|
},
|
|
5510
|
-
"chunksize": {
|
|
5511
|
-
"char": "c",
|
|
5512
|
-
"description": "Number of records to add in a chunk before it is processed",
|
|
5513
|
-
"name": "chunksize",
|
|
5514
|
-
"default": 1000,
|
|
5515
|
-
"hasDynamicHelp": false,
|
|
5516
|
-
"multiple": false,
|
|
5517
|
-
"type": "option"
|
|
5518
|
-
},
|
|
5519
|
-
"polltimeout": {
|
|
5520
|
-
"char": "t",
|
|
5521
|
-
"description": "Timeout in MS for Bulk API calls",
|
|
5522
|
-
"name": "polltimeout",
|
|
5523
|
-
"default": 300000,
|
|
5524
|
-
"hasDynamicHelp": false,
|
|
5525
|
-
"multiple": false,
|
|
5526
|
-
"type": "option"
|
|
5527
|
-
},
|
|
5528
|
-
"startchunknumber": {
|
|
5529
|
-
"char": "s",
|
|
5530
|
-
"description": "Chunk number to start from",
|
|
5531
|
-
"name": "startchunknumber",
|
|
5532
|
-
"default": 0,
|
|
5533
|
-
"hasDynamicHelp": false,
|
|
5534
|
-
"multiple": false,
|
|
5535
|
-
"type": "option"
|
|
5536
|
-
},
|
|
5537
5276
|
"debug": {
|
|
5538
5277
|
"char": "d",
|
|
5539
5278
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5572,57 +5311,60 @@
|
|
|
5572
5311
|
},
|
|
5573
5312
|
"hasDynamicHelp": true,
|
|
5574
5313
|
"hiddenAliases": [],
|
|
5575
|
-
"id": "hardis:org:
|
|
5314
|
+
"id": "hardis:org:data:export",
|
|
5576
5315
|
"pluginAlias": "sfdx-hardis",
|
|
5577
5316
|
"pluginName": "sfdx-hardis",
|
|
5578
5317
|
"pluginType": "core",
|
|
5579
5318
|
"strict": true,
|
|
5580
5319
|
"enableJsonFlag": true,
|
|
5581
|
-
"title": "Export
|
|
5320
|
+
"title": "Export data",
|
|
5582
5321
|
"requiresProject": false,
|
|
5322
|
+
"requiresSfdxPlugins": [
|
|
5323
|
+
"sfdmu"
|
|
5324
|
+
],
|
|
5583
5325
|
"isESM": true,
|
|
5584
5326
|
"relativePath": [
|
|
5585
5327
|
"lib",
|
|
5586
5328
|
"commands",
|
|
5587
5329
|
"hardis",
|
|
5588
5330
|
"org",
|
|
5589
|
-
"
|
|
5331
|
+
"data",
|
|
5590
5332
|
"export.js"
|
|
5591
5333
|
],
|
|
5592
5334
|
"aliasPermutations": [],
|
|
5593
5335
|
"permutations": [
|
|
5594
|
-
"hardis:org:
|
|
5595
|
-
"org:hardis:
|
|
5596
|
-
"org:
|
|
5597
|
-
"org:
|
|
5598
|
-
"hardis:
|
|
5599
|
-
"
|
|
5600
|
-
"
|
|
5601
|
-
"
|
|
5602
|
-
"hardis:
|
|
5603
|
-
"
|
|
5604
|
-
"
|
|
5605
|
-
"
|
|
5606
|
-
"hardis:org:export:
|
|
5607
|
-
"org:hardis:export:
|
|
5608
|
-
"org:export:hardis:
|
|
5609
|
-
"org:export:
|
|
5610
|
-
"hardis:export:org:
|
|
5611
|
-
"export:hardis:org:
|
|
5612
|
-
"export:org:hardis:
|
|
5613
|
-
"export:org:
|
|
5614
|
-
"hardis:export:
|
|
5615
|
-
"export:hardis:
|
|
5616
|
-
"export:
|
|
5617
|
-
"export:
|
|
5336
|
+
"hardis:org:data:export",
|
|
5337
|
+
"org:hardis:data:export",
|
|
5338
|
+
"org:data:hardis:export",
|
|
5339
|
+
"org:data:export:hardis",
|
|
5340
|
+
"hardis:data:org:export",
|
|
5341
|
+
"data:hardis:org:export",
|
|
5342
|
+
"data:org:hardis:export",
|
|
5343
|
+
"data:org:export:hardis",
|
|
5344
|
+
"hardis:data:export:org",
|
|
5345
|
+
"data:hardis:export:org",
|
|
5346
|
+
"data:export:hardis:org",
|
|
5347
|
+
"data:export:org:hardis",
|
|
5348
|
+
"hardis:org:export:data",
|
|
5349
|
+
"org:hardis:export:data",
|
|
5350
|
+
"org:export:hardis:data",
|
|
5351
|
+
"org:export:data:hardis",
|
|
5352
|
+
"hardis:export:org:data",
|
|
5353
|
+
"export:hardis:org:data",
|
|
5354
|
+
"export:org:hardis:data",
|
|
5355
|
+
"export:org:data:hardis",
|
|
5356
|
+
"hardis:export:data:org",
|
|
5357
|
+
"export:hardis:data:org",
|
|
5358
|
+
"export:data:hardis:org",
|
|
5359
|
+
"export:data:org:hardis"
|
|
5618
5360
|
]
|
|
5619
5361
|
},
|
|
5620
|
-
"hardis:org:
|
|
5362
|
+
"hardis:org:data:import": {
|
|
5621
5363
|
"aliases": [],
|
|
5622
5364
|
"args": {},
|
|
5623
|
-
"description": "Import
|
|
5365
|
+
"description": "Import/Load data in an org using a [SFDX Data Loader](https://help.sfdmu.com/) Project\n\nIf you need to run this command in a production org, you need to either:\n\n- Define **sfdmuCanModify** in your .sfdx-hardis.yml config file. (Example: `sfdmuCanModify: prod-instance.my.salesforce.com`)\n- Define an environment variable SFDMU_CAN_MODIFY. (Example: `SFDMU_CAN_MODIFY=prod-instance.my.salesforce.com`)\n\nSee article:\n\n[](https://nicolas.vuillamy.fr/how-to-detect-bad-words-in-salesforce-records-using-sfdx-data-loader-and-sfdx-hardis-171db40a9bac)\n",
|
|
5624
5366
|
"examples": [
|
|
5625
|
-
"$ sf hardis:org:
|
|
5367
|
+
"$ sf hardis:org:data:import"
|
|
5626
5368
|
],
|
|
5627
5369
|
"flags": {
|
|
5628
5370
|
"json": {
|
|
@@ -5642,19 +5384,12 @@
|
|
|
5642
5384
|
},
|
|
5643
5385
|
"path": {
|
|
5644
5386
|
"char": "p",
|
|
5645
|
-
"description": "Path to the
|
|
5387
|
+
"description": "Path to the sfdmu workspace folder",
|
|
5646
5388
|
"name": "path",
|
|
5647
5389
|
"hasDynamicHelp": false,
|
|
5648
5390
|
"multiple": false,
|
|
5649
5391
|
"type": "option"
|
|
5650
5392
|
},
|
|
5651
|
-
"overwrite": {
|
|
5652
|
-
"char": "f",
|
|
5653
|
-
"description": "Override existing files (doubles the number of API calls)",
|
|
5654
|
-
"name": "overwrite",
|
|
5655
|
-
"allowNo": false,
|
|
5656
|
-
"type": "boolean"
|
|
5657
|
-
},
|
|
5658
5393
|
"debug": {
|
|
5659
5394
|
"char": "d",
|
|
5660
5395
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5693,49 +5428,52 @@
|
|
|
5693
5428
|
},
|
|
5694
5429
|
"hasDynamicHelp": true,
|
|
5695
5430
|
"hiddenAliases": [],
|
|
5696
|
-
"id": "hardis:org:
|
|
5431
|
+
"id": "hardis:org:data:import",
|
|
5697
5432
|
"pluginAlias": "sfdx-hardis",
|
|
5698
5433
|
"pluginName": "sfdx-hardis",
|
|
5699
5434
|
"pluginType": "core",
|
|
5700
5435
|
"strict": true,
|
|
5701
5436
|
"enableJsonFlag": true,
|
|
5702
|
-
"title": "Import
|
|
5437
|
+
"title": "Import data",
|
|
5703
5438
|
"requiresProject": false,
|
|
5439
|
+
"requiresSfdxPlugins": [
|
|
5440
|
+
"sfdmu"
|
|
5441
|
+
],
|
|
5704
5442
|
"isESM": true,
|
|
5705
5443
|
"relativePath": [
|
|
5706
5444
|
"lib",
|
|
5707
5445
|
"commands",
|
|
5708
5446
|
"hardis",
|
|
5709
5447
|
"org",
|
|
5710
|
-
"
|
|
5448
|
+
"data",
|
|
5711
5449
|
"import.js"
|
|
5712
5450
|
],
|
|
5713
5451
|
"aliasPermutations": [],
|
|
5714
5452
|
"permutations": [
|
|
5715
|
-
"hardis:org:
|
|
5716
|
-
"org:hardis:
|
|
5717
|
-
"org:
|
|
5718
|
-
"org:
|
|
5719
|
-
"hardis:
|
|
5720
|
-
"
|
|
5721
|
-
"
|
|
5722
|
-
"
|
|
5723
|
-
"hardis:
|
|
5724
|
-
"
|
|
5725
|
-
"
|
|
5726
|
-
"
|
|
5727
|
-
"hardis:org:import:
|
|
5728
|
-
"org:hardis:import:
|
|
5729
|
-
"org:import:hardis:
|
|
5730
|
-
"org:import:
|
|
5731
|
-
"hardis:import:org:
|
|
5732
|
-
"import:hardis:org:
|
|
5733
|
-
"import:org:hardis:
|
|
5734
|
-
"import:org:
|
|
5735
|
-
"hardis:import:
|
|
5736
|
-
"import:hardis:
|
|
5737
|
-
"import:
|
|
5738
|
-
"import:
|
|
5453
|
+
"hardis:org:data:import",
|
|
5454
|
+
"org:hardis:data:import",
|
|
5455
|
+
"org:data:hardis:import",
|
|
5456
|
+
"org:data:import:hardis",
|
|
5457
|
+
"hardis:data:org:import",
|
|
5458
|
+
"data:hardis:org:import",
|
|
5459
|
+
"data:org:hardis:import",
|
|
5460
|
+
"data:org:import:hardis",
|
|
5461
|
+
"hardis:data:import:org",
|
|
5462
|
+
"data:hardis:import:org",
|
|
5463
|
+
"data:import:hardis:org",
|
|
5464
|
+
"data:import:org:hardis",
|
|
5465
|
+
"hardis:org:import:data",
|
|
5466
|
+
"org:hardis:import:data",
|
|
5467
|
+
"org:import:hardis:data",
|
|
5468
|
+
"org:import:data:hardis",
|
|
5469
|
+
"hardis:import:org:data",
|
|
5470
|
+
"import:hardis:org:data",
|
|
5471
|
+
"import:org:hardis:data",
|
|
5472
|
+
"import:org:data:hardis",
|
|
5473
|
+
"hardis:import:data:org",
|
|
5474
|
+
"import:hardis:data:org",
|
|
5475
|
+
"import:data:hardis:org",
|
|
5476
|
+
"import:data:org:hardis"
|
|
5739
5477
|
]
|
|
5740
5478
|
},
|
|
5741
5479
|
"hardis:org:diagnose:audittrail": {
|
|
@@ -6470,12 +6208,280 @@
|
|
|
6470
6208
|
"unused-apex-classes:diagnose:org:hardis"
|
|
6471
6209
|
]
|
|
6472
6210
|
},
|
|
6473
|
-
"hardis:org:diagnose:unused-connected-apps": {
|
|
6211
|
+
"hardis:org:diagnose:unused-connected-apps": {
|
|
6212
|
+
"aliases": [],
|
|
6213
|
+
"args": {},
|
|
6214
|
+
"description": "Request objects ConnectedApp, LoginHistory and OAuthToken to find which connected apps might not be used anymore, and could be deleted for security / technical debt reasons.\n\nCheck with Connected Apps metadatas if the app is still active (inactive = \"Admin Users are pre-authorized + no Profile or Permission set assigned\")\n\nThe following default Salesforce Connected Apps are ignored:\n\n- Ant Migration Tool\n- Chatter Desktop\n- Chatter Mobile for BlackBerry\n- Force.com IDE\n- OIQ_Integration\n- Salesforce CLI\n- Salesforce Files\n- Salesforce Mobile Dashboards\n- Salesforce Touch\n- Salesforce for Outlook\n- SalesforceA\n- SalesforceA for Android\n- SalesforceA for iOS\n- SalesforceDX Namespace Registry\n- SalesforceIQ\n\nYou can add more ignored apps by defining a comma-separated list of names in variable ALLOWED_INACTIVE_CONNECTED_APPS\n\n_Example: ALLOWED_INACTIVE_CONNECTED_APPS=My App 1,My App 2, My App 3_\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-release-updates/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
6215
|
+
"examples": [
|
|
6216
|
+
"$ sf hardis:org:diagnose:unused-connected-apps"
|
|
6217
|
+
],
|
|
6218
|
+
"flags": {
|
|
6219
|
+
"json": {
|
|
6220
|
+
"description": "Format output as json.",
|
|
6221
|
+
"helpGroup": "GLOBAL",
|
|
6222
|
+
"name": "json",
|
|
6223
|
+
"allowNo": false,
|
|
6224
|
+
"type": "boolean"
|
|
6225
|
+
},
|
|
6226
|
+
"flags-dir": {
|
|
6227
|
+
"helpGroup": "GLOBAL",
|
|
6228
|
+
"name": "flags-dir",
|
|
6229
|
+
"summary": "Import flag values from a directory.",
|
|
6230
|
+
"hasDynamicHelp": false,
|
|
6231
|
+
"multiple": false,
|
|
6232
|
+
"type": "option"
|
|
6233
|
+
},
|
|
6234
|
+
"outputfile": {
|
|
6235
|
+
"char": "f",
|
|
6236
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
6237
|
+
"name": "outputfile",
|
|
6238
|
+
"hasDynamicHelp": false,
|
|
6239
|
+
"multiple": false,
|
|
6240
|
+
"type": "option"
|
|
6241
|
+
},
|
|
6242
|
+
"debug": {
|
|
6243
|
+
"char": "d",
|
|
6244
|
+
"description": "Activate debug mode (more logs)",
|
|
6245
|
+
"name": "debug",
|
|
6246
|
+
"allowNo": false,
|
|
6247
|
+
"type": "boolean"
|
|
6248
|
+
},
|
|
6249
|
+
"websocket": {
|
|
6250
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6251
|
+
"name": "websocket",
|
|
6252
|
+
"hasDynamicHelp": false,
|
|
6253
|
+
"multiple": false,
|
|
6254
|
+
"type": "option"
|
|
6255
|
+
},
|
|
6256
|
+
"skipauth": {
|
|
6257
|
+
"description": "Skip authentication check when a default username is required",
|
|
6258
|
+
"name": "skipauth",
|
|
6259
|
+
"allowNo": false,
|
|
6260
|
+
"type": "boolean"
|
|
6261
|
+
},
|
|
6262
|
+
"target-org": {
|
|
6263
|
+
"aliases": [
|
|
6264
|
+
"targetusername",
|
|
6265
|
+
"u"
|
|
6266
|
+
],
|
|
6267
|
+
"char": "o",
|
|
6268
|
+
"deprecateAliases": true,
|
|
6269
|
+
"name": "target-org",
|
|
6270
|
+
"noCacheDefault": true,
|
|
6271
|
+
"required": true,
|
|
6272
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6273
|
+
"hasDynamicHelp": true,
|
|
6274
|
+
"multiple": false,
|
|
6275
|
+
"type": "option"
|
|
6276
|
+
}
|
|
6277
|
+
},
|
|
6278
|
+
"hasDynamicHelp": true,
|
|
6279
|
+
"hiddenAliases": [],
|
|
6280
|
+
"id": "hardis:org:diagnose:unused-connected-apps",
|
|
6281
|
+
"pluginAlias": "sfdx-hardis",
|
|
6282
|
+
"pluginName": "sfdx-hardis",
|
|
6283
|
+
"pluginType": "core",
|
|
6284
|
+
"strict": true,
|
|
6285
|
+
"enableJsonFlag": true,
|
|
6286
|
+
"title": "Unused Connected Apps in an org",
|
|
6287
|
+
"allowedInactiveConnectedApps": [
|
|
6288
|
+
"Ant Migration Tool",
|
|
6289
|
+
"Chatter Desktop",
|
|
6290
|
+
"Chatter Mobile for BlackBerry",
|
|
6291
|
+
"Force.com IDE",
|
|
6292
|
+
"OIQ_Integration",
|
|
6293
|
+
"Salesforce CLI",
|
|
6294
|
+
"Salesforce Files",
|
|
6295
|
+
"Salesforce Mobile Dashboards",
|
|
6296
|
+
"Salesforce Touch",
|
|
6297
|
+
"Salesforce for Outlook",
|
|
6298
|
+
"SalesforceA",
|
|
6299
|
+
"SalesforceA for Android",
|
|
6300
|
+
"SalesforceA for iOS",
|
|
6301
|
+
"SalesforceDX Namespace Registry",
|
|
6302
|
+
"SalesforceIQ"
|
|
6303
|
+
],
|
|
6304
|
+
"requiresProject": false,
|
|
6305
|
+
"isESM": true,
|
|
6306
|
+
"relativePath": [
|
|
6307
|
+
"lib",
|
|
6308
|
+
"commands",
|
|
6309
|
+
"hardis",
|
|
6310
|
+
"org",
|
|
6311
|
+
"diagnose",
|
|
6312
|
+
"unused-connected-apps.js"
|
|
6313
|
+
],
|
|
6314
|
+
"aliasPermutations": [],
|
|
6315
|
+
"permutations": [
|
|
6316
|
+
"hardis:org:diagnose:unused-connected-apps",
|
|
6317
|
+
"org:hardis:diagnose:unused-connected-apps",
|
|
6318
|
+
"org:diagnose:hardis:unused-connected-apps",
|
|
6319
|
+
"org:diagnose:unused-connected-apps:hardis",
|
|
6320
|
+
"hardis:diagnose:org:unused-connected-apps",
|
|
6321
|
+
"diagnose:hardis:org:unused-connected-apps",
|
|
6322
|
+
"diagnose:org:hardis:unused-connected-apps",
|
|
6323
|
+
"diagnose:org:unused-connected-apps:hardis",
|
|
6324
|
+
"hardis:diagnose:unused-connected-apps:org",
|
|
6325
|
+
"diagnose:hardis:unused-connected-apps:org",
|
|
6326
|
+
"diagnose:unused-connected-apps:hardis:org",
|
|
6327
|
+
"diagnose:unused-connected-apps:org:hardis",
|
|
6328
|
+
"hardis:org:unused-connected-apps:diagnose",
|
|
6329
|
+
"org:hardis:unused-connected-apps:diagnose",
|
|
6330
|
+
"org:unused-connected-apps:hardis:diagnose",
|
|
6331
|
+
"org:unused-connected-apps:diagnose:hardis",
|
|
6332
|
+
"hardis:unused-connected-apps:org:diagnose",
|
|
6333
|
+
"unused-connected-apps:hardis:org:diagnose",
|
|
6334
|
+
"unused-connected-apps:org:hardis:diagnose",
|
|
6335
|
+
"unused-connected-apps:org:diagnose:hardis",
|
|
6336
|
+
"hardis:unused-connected-apps:diagnose:org",
|
|
6337
|
+
"unused-connected-apps:hardis:diagnose:org",
|
|
6338
|
+
"unused-connected-apps:diagnose:hardis:org",
|
|
6339
|
+
"unused-connected-apps:diagnose:org:hardis"
|
|
6340
|
+
]
|
|
6341
|
+
},
|
|
6342
|
+
"hardis:org:diagnose:unusedlicenses": {
|
|
6343
|
+
"aliases": [],
|
|
6344
|
+
"args": {},
|
|
6345
|
+
"description": "When you assign a Permission Set to a user, and that this Permission Set is related to a Permission Set License, a Permission Set License Assignment is automatically created for the user.\n\nBut when you unassign this Permission Set from the user, **the Permission Set License Assignment is not deleted**.\n\nThis leads that you can be **charged for Permission Set Licenses that are not used** !\n\nThis command detects such useless Permission Set Licenses Assignments and suggests to delete them.\n\nMany thanks to [Vincent Finet](https://www.linkedin.com/in/vincentfinet/) for the inspiration during his great speaker session at [French Touch Dreamin '23](https://frenchtouchdreamin.com/), and his kind agreement for reusing such inspiration in this command :)\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-unused-licenses/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
6346
|
+
"examples": [
|
|
6347
|
+
"$ sf hardis:org:diagnose:unusedlicenses",
|
|
6348
|
+
"$ sf hardis:org:diagnose:unusedlicenses --fix"
|
|
6349
|
+
],
|
|
6350
|
+
"flags": {
|
|
6351
|
+
"json": {
|
|
6352
|
+
"description": "Format output as json.",
|
|
6353
|
+
"helpGroup": "GLOBAL",
|
|
6354
|
+
"name": "json",
|
|
6355
|
+
"allowNo": false,
|
|
6356
|
+
"type": "boolean"
|
|
6357
|
+
},
|
|
6358
|
+
"flags-dir": {
|
|
6359
|
+
"helpGroup": "GLOBAL",
|
|
6360
|
+
"name": "flags-dir",
|
|
6361
|
+
"summary": "Import flag values from a directory.",
|
|
6362
|
+
"hasDynamicHelp": false,
|
|
6363
|
+
"multiple": false,
|
|
6364
|
+
"type": "option"
|
|
6365
|
+
},
|
|
6366
|
+
"outputfile": {
|
|
6367
|
+
"char": "f",
|
|
6368
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
6369
|
+
"name": "outputfile",
|
|
6370
|
+
"hasDynamicHelp": false,
|
|
6371
|
+
"multiple": false,
|
|
6372
|
+
"type": "option"
|
|
6373
|
+
},
|
|
6374
|
+
"debug": {
|
|
6375
|
+
"char": "d",
|
|
6376
|
+
"description": "Activate debug mode (more logs)",
|
|
6377
|
+
"name": "debug",
|
|
6378
|
+
"allowNo": false,
|
|
6379
|
+
"type": "boolean"
|
|
6380
|
+
},
|
|
6381
|
+
"websocket": {
|
|
6382
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
6383
|
+
"name": "websocket",
|
|
6384
|
+
"hasDynamicHelp": false,
|
|
6385
|
+
"multiple": false,
|
|
6386
|
+
"type": "option"
|
|
6387
|
+
},
|
|
6388
|
+
"skipauth": {
|
|
6389
|
+
"description": "Skip authentication check when a default username is required",
|
|
6390
|
+
"name": "skipauth",
|
|
6391
|
+
"allowNo": false,
|
|
6392
|
+
"type": "boolean"
|
|
6393
|
+
},
|
|
6394
|
+
"target-org": {
|
|
6395
|
+
"aliases": [
|
|
6396
|
+
"targetusername",
|
|
6397
|
+
"u"
|
|
6398
|
+
],
|
|
6399
|
+
"char": "o",
|
|
6400
|
+
"deprecateAliases": true,
|
|
6401
|
+
"name": "target-org",
|
|
6402
|
+
"noCacheDefault": true,
|
|
6403
|
+
"required": true,
|
|
6404
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
6405
|
+
"hasDynamicHelp": true,
|
|
6406
|
+
"multiple": false,
|
|
6407
|
+
"type": "option"
|
|
6408
|
+
}
|
|
6409
|
+
},
|
|
6410
|
+
"hasDynamicHelp": true,
|
|
6411
|
+
"hiddenAliases": [],
|
|
6412
|
+
"id": "hardis:org:diagnose:unusedlicenses",
|
|
6413
|
+
"pluginAlias": "sfdx-hardis",
|
|
6414
|
+
"pluginName": "sfdx-hardis",
|
|
6415
|
+
"pluginType": "core",
|
|
6416
|
+
"strict": true,
|
|
6417
|
+
"enableJsonFlag": true,
|
|
6418
|
+
"title": "Detect unused Permission Set Licenses (beta)",
|
|
6419
|
+
"requiresProject": false,
|
|
6420
|
+
"additionalPermissionSetsToAlwaysGet": [
|
|
6421
|
+
"Sales_User"
|
|
6422
|
+
],
|
|
6423
|
+
"permSetsPermSetLicenses": [
|
|
6424
|
+
{
|
|
6425
|
+
"permSet": "Sales_User",
|
|
6426
|
+
"permSetLicense": "SalesUserPsl"
|
|
6427
|
+
}
|
|
6428
|
+
],
|
|
6429
|
+
"profilesPermissionSetLicenses": [
|
|
6430
|
+
{
|
|
6431
|
+
"profile": "Salesforce API Only",
|
|
6432
|
+
"permSetLicense": "SalesforceAPIIntegrationPsl"
|
|
6433
|
+
}
|
|
6434
|
+
],
|
|
6435
|
+
"alwaysExcludeForActiveUsersPermissionSetLicenses": [
|
|
6436
|
+
"IdentityConnect"
|
|
6437
|
+
],
|
|
6438
|
+
"isESM": true,
|
|
6439
|
+
"relativePath": [
|
|
6440
|
+
"lib",
|
|
6441
|
+
"commands",
|
|
6442
|
+
"hardis",
|
|
6443
|
+
"org",
|
|
6444
|
+
"diagnose",
|
|
6445
|
+
"unusedlicenses.js"
|
|
6446
|
+
],
|
|
6447
|
+
"aliasPermutations": [],
|
|
6448
|
+
"permutations": [
|
|
6449
|
+
"hardis:org:diagnose:unusedlicenses",
|
|
6450
|
+
"org:hardis:diagnose:unusedlicenses",
|
|
6451
|
+
"org:diagnose:hardis:unusedlicenses",
|
|
6452
|
+
"org:diagnose:unusedlicenses:hardis",
|
|
6453
|
+
"hardis:diagnose:org:unusedlicenses",
|
|
6454
|
+
"diagnose:hardis:org:unusedlicenses",
|
|
6455
|
+
"diagnose:org:hardis:unusedlicenses",
|
|
6456
|
+
"diagnose:org:unusedlicenses:hardis",
|
|
6457
|
+
"hardis:diagnose:unusedlicenses:org",
|
|
6458
|
+
"diagnose:hardis:unusedlicenses:org",
|
|
6459
|
+
"diagnose:unusedlicenses:hardis:org",
|
|
6460
|
+
"diagnose:unusedlicenses:org:hardis",
|
|
6461
|
+
"hardis:org:unusedlicenses:diagnose",
|
|
6462
|
+
"org:hardis:unusedlicenses:diagnose",
|
|
6463
|
+
"org:unusedlicenses:hardis:diagnose",
|
|
6464
|
+
"org:unusedlicenses:diagnose:hardis",
|
|
6465
|
+
"hardis:unusedlicenses:org:diagnose",
|
|
6466
|
+
"unusedlicenses:hardis:org:diagnose",
|
|
6467
|
+
"unusedlicenses:org:hardis:diagnose",
|
|
6468
|
+
"unusedlicenses:org:diagnose:hardis",
|
|
6469
|
+
"hardis:unusedlicenses:diagnose:org",
|
|
6470
|
+
"unusedlicenses:hardis:diagnose:org",
|
|
6471
|
+
"unusedlicenses:diagnose:hardis:org",
|
|
6472
|
+
"unusedlicenses:diagnose:org:hardis"
|
|
6473
|
+
]
|
|
6474
|
+
},
|
|
6475
|
+
"hardis:org:diagnose:unusedusers": {
|
|
6474
6476
|
"aliases": [],
|
|
6475
6477
|
"args": {},
|
|
6476
|
-
"description": "
|
|
6478
|
+
"description": "Efficient user management is vital in Salesforce to ensure resources are optimized and costs are controlled. However, inactive or unused user accounts can often go unnoticed, leading to wasted licenses and potential security risks. This tool addresses this challenge by enabling administrators to identify users who haven't logged in within a specified period.\n\nBy analyzing user login activity and last login timestamps, this feature highlights inactive user accounts, allowing administrators to take appropriate action. Whether it's deactivating dormant accounts, freeing up licenses, or ensuring compliance with security policies, this functionality empowers administrators to maintain a lean and secure Salesforce environment.\n\nlicensetypes values are the following:\n\n- all-crm: SFDC,AUL,AUL1,AULL_IGHT\n\n- all-paying: SFDC,AUL,AUL1,AULL_IGHT,PID_Customer_Community,PID_Customer_Community_Login,PID_Partner_Community,PID_Partner_Community_Login\n\nNote: You can see the full list of available license identifiers in [Salesforce Documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userlicense.htm)\n\nUse --returnactiveusers to revert the command and retrieve active users that has logged in during the period.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-inactive-users/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
6477
6479
|
"examples": [
|
|
6478
|
-
"$ sf hardis:org:diagnose:
|
|
6480
|
+
"$ sf hardis:org:diagnose:unusedusers",
|
|
6481
|
+
"$ sf hardis:org:diagnose:unusedusers --days 365",
|
|
6482
|
+
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm",
|
|
6483
|
+
"$ sf hardis:org:diagnose:unusedusers --days 60 --licenseidentifiers SFDC,AUL,AUL1",
|
|
6484
|
+
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm --returnactiveusers"
|
|
6479
6485
|
],
|
|
6480
6486
|
"flags": {
|
|
6481
6487
|
"json": {
|
|
@@ -6501,6 +6507,41 @@
|
|
|
6501
6507
|
"multiple": false,
|
|
6502
6508
|
"type": "option"
|
|
6503
6509
|
},
|
|
6510
|
+
"days": {
|
|
6511
|
+
"char": "t",
|
|
6512
|
+
"description": "Extracts the users that have been inactive for the amount of days specified. In CI, default is 180 days",
|
|
6513
|
+
"name": "days",
|
|
6514
|
+
"hasDynamicHelp": false,
|
|
6515
|
+
"multiple": false,
|
|
6516
|
+
"type": "option"
|
|
6517
|
+
},
|
|
6518
|
+
"licensetypes": {
|
|
6519
|
+
"char": "l",
|
|
6520
|
+
"description": "Type of licenses to check. If set, do not use licenseidentifiers option. In CI, default is all-crm",
|
|
6521
|
+
"name": "licensetypes",
|
|
6522
|
+
"hasDynamicHelp": false,
|
|
6523
|
+
"multiple": false,
|
|
6524
|
+
"options": [
|
|
6525
|
+
"all",
|
|
6526
|
+
"all-crm",
|
|
6527
|
+
"all-paying"
|
|
6528
|
+
],
|
|
6529
|
+
"type": "option"
|
|
6530
|
+
},
|
|
6531
|
+
"licenseidentifiers": {
|
|
6532
|
+
"char": "i",
|
|
6533
|
+
"description": "Comma-separated list of license identifiers, in case licensetypes is not used.. Identifiers available at https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userlicense.htm",
|
|
6534
|
+
"name": "licenseidentifiers",
|
|
6535
|
+
"hasDynamicHelp": false,
|
|
6536
|
+
"multiple": false,
|
|
6537
|
+
"type": "option"
|
|
6538
|
+
},
|
|
6539
|
+
"returnactiveusers": {
|
|
6540
|
+
"description": "Inverts the command by returning the active users",
|
|
6541
|
+
"name": "returnactiveusers",
|
|
6542
|
+
"allowNo": false,
|
|
6543
|
+
"type": "boolean"
|
|
6544
|
+
},
|
|
6504
6545
|
"debug": {
|
|
6505
6546
|
"char": "d",
|
|
6506
6547
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6539,30 +6580,13 @@
|
|
|
6539
6580
|
},
|
|
6540
6581
|
"hasDynamicHelp": true,
|
|
6541
6582
|
"hiddenAliases": [],
|
|
6542
|
-
"id": "hardis:org:diagnose:
|
|
6583
|
+
"id": "hardis:org:diagnose:unusedusers",
|
|
6543
6584
|
"pluginAlias": "sfdx-hardis",
|
|
6544
6585
|
"pluginName": "sfdx-hardis",
|
|
6545
6586
|
"pluginType": "core",
|
|
6546
6587
|
"strict": true,
|
|
6547
6588
|
"enableJsonFlag": true,
|
|
6548
|
-
"title": "
|
|
6549
|
-
"allowedInactiveConnectedApps": [
|
|
6550
|
-
"Ant Migration Tool",
|
|
6551
|
-
"Chatter Desktop",
|
|
6552
|
-
"Chatter Mobile for BlackBerry",
|
|
6553
|
-
"Force.com IDE",
|
|
6554
|
-
"OIQ_Integration",
|
|
6555
|
-
"Salesforce CLI",
|
|
6556
|
-
"Salesforce Files",
|
|
6557
|
-
"Salesforce Mobile Dashboards",
|
|
6558
|
-
"Salesforce Touch",
|
|
6559
|
-
"Salesforce for Outlook",
|
|
6560
|
-
"SalesforceA",
|
|
6561
|
-
"SalesforceA for Android",
|
|
6562
|
-
"SalesforceA for iOS",
|
|
6563
|
-
"SalesforceDX Namespace Registry",
|
|
6564
|
-
"SalesforceIQ"
|
|
6565
|
-
],
|
|
6589
|
+
"title": "Detect unused Users in Salesforce",
|
|
6566
6590
|
"requiresProject": false,
|
|
6567
6591
|
"isESM": true,
|
|
6568
6592
|
"relativePath": [
|
|
@@ -6571,43 +6595,42 @@
|
|
|
6571
6595
|
"hardis",
|
|
6572
6596
|
"org",
|
|
6573
6597
|
"diagnose",
|
|
6574
|
-
"
|
|
6598
|
+
"unusedusers.js"
|
|
6575
6599
|
],
|
|
6576
6600
|
"aliasPermutations": [],
|
|
6577
6601
|
"permutations": [
|
|
6578
|
-
"hardis:org:diagnose:
|
|
6579
|
-
"org:hardis:diagnose:
|
|
6580
|
-
"org:diagnose:hardis:
|
|
6581
|
-
"org:diagnose:
|
|
6582
|
-
"hardis:diagnose:org:
|
|
6583
|
-
"diagnose:hardis:org:
|
|
6584
|
-
"diagnose:org:hardis:
|
|
6585
|
-
"diagnose:org:
|
|
6586
|
-
"hardis:diagnose:
|
|
6587
|
-
"diagnose:hardis:
|
|
6588
|
-
"diagnose:
|
|
6589
|
-
"diagnose:
|
|
6590
|
-
"hardis:org:
|
|
6591
|
-
"org:hardis:
|
|
6592
|
-
"org:
|
|
6593
|
-
"org:
|
|
6594
|
-
"hardis:
|
|
6595
|
-
"
|
|
6596
|
-
"
|
|
6597
|
-
"
|
|
6598
|
-
"hardis:
|
|
6599
|
-
"
|
|
6600
|
-
"
|
|
6601
|
-
"
|
|
6602
|
+
"hardis:org:diagnose:unusedusers",
|
|
6603
|
+
"org:hardis:diagnose:unusedusers",
|
|
6604
|
+
"org:diagnose:hardis:unusedusers",
|
|
6605
|
+
"org:diagnose:unusedusers:hardis",
|
|
6606
|
+
"hardis:diagnose:org:unusedusers",
|
|
6607
|
+
"diagnose:hardis:org:unusedusers",
|
|
6608
|
+
"diagnose:org:hardis:unusedusers",
|
|
6609
|
+
"diagnose:org:unusedusers:hardis",
|
|
6610
|
+
"hardis:diagnose:unusedusers:org",
|
|
6611
|
+
"diagnose:hardis:unusedusers:org",
|
|
6612
|
+
"diagnose:unusedusers:hardis:org",
|
|
6613
|
+
"diagnose:unusedusers:org:hardis",
|
|
6614
|
+
"hardis:org:unusedusers:diagnose",
|
|
6615
|
+
"org:hardis:unusedusers:diagnose",
|
|
6616
|
+
"org:unusedusers:hardis:diagnose",
|
|
6617
|
+
"org:unusedusers:diagnose:hardis",
|
|
6618
|
+
"hardis:unusedusers:org:diagnose",
|
|
6619
|
+
"unusedusers:hardis:org:diagnose",
|
|
6620
|
+
"unusedusers:org:hardis:diagnose",
|
|
6621
|
+
"unusedusers:org:diagnose:hardis",
|
|
6622
|
+
"hardis:unusedusers:diagnose:org",
|
|
6623
|
+
"unusedusers:hardis:diagnose:org",
|
|
6624
|
+
"unusedusers:diagnose:hardis:org",
|
|
6625
|
+
"unusedusers:diagnose:org:hardis"
|
|
6602
6626
|
]
|
|
6603
6627
|
},
|
|
6604
|
-
"hardis:org:
|
|
6628
|
+
"hardis:org:files:export": {
|
|
6605
6629
|
"aliases": [],
|
|
6606
6630
|
"args": {},
|
|
6607
|
-
"description": "
|
|
6631
|
+
"description": "Export file attachments from a Salesforce org\n\nHandles:\n\n- ContentVersion\n- Attachment\n\nSee article below:\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n",
|
|
6608
6632
|
"examples": [
|
|
6609
|
-
"$ sf hardis:org:
|
|
6610
|
-
"$ sf hardis:org:diagnose:unusedlicenses --fix"
|
|
6633
|
+
"$ sf hardis:org:files:export"
|
|
6611
6634
|
],
|
|
6612
6635
|
"flags": {
|
|
6613
6636
|
"json": {
|
|
@@ -6625,10 +6648,37 @@
|
|
|
6625
6648
|
"multiple": false,
|
|
6626
6649
|
"type": "option"
|
|
6627
6650
|
},
|
|
6628
|
-
"
|
|
6629
|
-
"char": "
|
|
6630
|
-
"description": "
|
|
6631
|
-
"name": "
|
|
6651
|
+
"path": {
|
|
6652
|
+
"char": "p",
|
|
6653
|
+
"description": "Path to the file export project",
|
|
6654
|
+
"name": "path",
|
|
6655
|
+
"hasDynamicHelp": false,
|
|
6656
|
+
"multiple": false,
|
|
6657
|
+
"type": "option"
|
|
6658
|
+
},
|
|
6659
|
+
"chunksize": {
|
|
6660
|
+
"char": "c",
|
|
6661
|
+
"description": "Number of records to add in a chunk before it is processed",
|
|
6662
|
+
"name": "chunksize",
|
|
6663
|
+
"default": 1000,
|
|
6664
|
+
"hasDynamicHelp": false,
|
|
6665
|
+
"multiple": false,
|
|
6666
|
+
"type": "option"
|
|
6667
|
+
},
|
|
6668
|
+
"polltimeout": {
|
|
6669
|
+
"char": "t",
|
|
6670
|
+
"description": "Timeout in MS for Bulk API calls",
|
|
6671
|
+
"name": "polltimeout",
|
|
6672
|
+
"default": 300000,
|
|
6673
|
+
"hasDynamicHelp": false,
|
|
6674
|
+
"multiple": false,
|
|
6675
|
+
"type": "option"
|
|
6676
|
+
},
|
|
6677
|
+
"startchunknumber": {
|
|
6678
|
+
"char": "s",
|
|
6679
|
+
"description": "Chunk number to start from",
|
|
6680
|
+
"name": "startchunknumber",
|
|
6681
|
+
"default": 0,
|
|
6632
6682
|
"hasDynamicHelp": false,
|
|
6633
6683
|
"multiple": false,
|
|
6634
6684
|
"type": "option"
|
|
@@ -6671,79 +6721,57 @@
|
|
|
6671
6721
|
},
|
|
6672
6722
|
"hasDynamicHelp": true,
|
|
6673
6723
|
"hiddenAliases": [],
|
|
6674
|
-
"id": "hardis:org:
|
|
6724
|
+
"id": "hardis:org:files:export",
|
|
6675
6725
|
"pluginAlias": "sfdx-hardis",
|
|
6676
6726
|
"pluginName": "sfdx-hardis",
|
|
6677
6727
|
"pluginType": "core",
|
|
6678
6728
|
"strict": true,
|
|
6679
6729
|
"enableJsonFlag": true,
|
|
6680
|
-
"title": "
|
|
6730
|
+
"title": "Export files",
|
|
6681
6731
|
"requiresProject": false,
|
|
6682
|
-
"additionalPermissionSetsToAlwaysGet": [
|
|
6683
|
-
"Sales_User"
|
|
6684
|
-
],
|
|
6685
|
-
"permSetsPermSetLicenses": [
|
|
6686
|
-
{
|
|
6687
|
-
"permSet": "Sales_User",
|
|
6688
|
-
"permSetLicense": "SalesUserPsl"
|
|
6689
|
-
}
|
|
6690
|
-
],
|
|
6691
|
-
"profilesPermissionSetLicenses": [
|
|
6692
|
-
{
|
|
6693
|
-
"profile": "Salesforce API Only",
|
|
6694
|
-
"permSetLicense": "SalesforceAPIIntegrationPsl"
|
|
6695
|
-
}
|
|
6696
|
-
],
|
|
6697
|
-
"alwaysExcludeForActiveUsersPermissionSetLicenses": [
|
|
6698
|
-
"IdentityConnect"
|
|
6699
|
-
],
|
|
6700
6732
|
"isESM": true,
|
|
6701
6733
|
"relativePath": [
|
|
6702
6734
|
"lib",
|
|
6703
6735
|
"commands",
|
|
6704
6736
|
"hardis",
|
|
6705
6737
|
"org",
|
|
6706
|
-
"
|
|
6707
|
-
"
|
|
6738
|
+
"files",
|
|
6739
|
+
"export.js"
|
|
6708
6740
|
],
|
|
6709
6741
|
"aliasPermutations": [],
|
|
6710
6742
|
"permutations": [
|
|
6711
|
-
"hardis:org:
|
|
6712
|
-
"org:hardis:
|
|
6713
|
-
"org:
|
|
6714
|
-
"org:
|
|
6715
|
-
"hardis:
|
|
6716
|
-
"
|
|
6717
|
-
"
|
|
6718
|
-
"
|
|
6719
|
-
"hardis:
|
|
6720
|
-
"
|
|
6721
|
-
"
|
|
6722
|
-
"
|
|
6723
|
-
"hardis:org:
|
|
6724
|
-
"org:hardis:
|
|
6725
|
-
"org:
|
|
6726
|
-
"org:
|
|
6727
|
-
"hardis:
|
|
6728
|
-
"
|
|
6729
|
-
"
|
|
6730
|
-
"
|
|
6731
|
-
"hardis:
|
|
6732
|
-
"
|
|
6733
|
-
"
|
|
6734
|
-
"
|
|
6743
|
+
"hardis:org:files:export",
|
|
6744
|
+
"org:hardis:files:export",
|
|
6745
|
+
"org:files:hardis:export",
|
|
6746
|
+
"org:files:export:hardis",
|
|
6747
|
+
"hardis:files:org:export",
|
|
6748
|
+
"files:hardis:org:export",
|
|
6749
|
+
"files:org:hardis:export",
|
|
6750
|
+
"files:org:export:hardis",
|
|
6751
|
+
"hardis:files:export:org",
|
|
6752
|
+
"files:hardis:export:org",
|
|
6753
|
+
"files:export:hardis:org",
|
|
6754
|
+
"files:export:org:hardis",
|
|
6755
|
+
"hardis:org:export:files",
|
|
6756
|
+
"org:hardis:export:files",
|
|
6757
|
+
"org:export:hardis:files",
|
|
6758
|
+
"org:export:files:hardis",
|
|
6759
|
+
"hardis:export:org:files",
|
|
6760
|
+
"export:hardis:org:files",
|
|
6761
|
+
"export:org:hardis:files",
|
|
6762
|
+
"export:org:files:hardis",
|
|
6763
|
+
"hardis:export:files:org",
|
|
6764
|
+
"export:hardis:files:org",
|
|
6765
|
+
"export:files:hardis:org",
|
|
6766
|
+
"export:files:org:hardis"
|
|
6735
6767
|
]
|
|
6736
6768
|
},
|
|
6737
|
-
"hardis:org:
|
|
6769
|
+
"hardis:org:files:import": {
|
|
6738
6770
|
"aliases": [],
|
|
6739
6771
|
"args": {},
|
|
6740
|
-
"description": "
|
|
6772
|
+
"description": "Import file attachments into a Salesforce org\n\nSee article below to see how to Export them.\n\n[](https://nicolas.vuillamy.fr/how-to-mass-download-notes-and-attachments-files-from-a-salesforce-org-83a028824afd)\n",
|
|
6741
6773
|
"examples": [
|
|
6742
|
-
"$ sf hardis:org:
|
|
6743
|
-
"$ sf hardis:org:diagnose:unusedusers --days 365",
|
|
6744
|
-
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm",
|
|
6745
|
-
"$ sf hardis:org:diagnose:unusedusers --days 60 --licenseidentifiers SFDC,AUL,AUL1",
|
|
6746
|
-
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm --returnactiveusers"
|
|
6774
|
+
"$ sf hardis:org:files:import"
|
|
6747
6775
|
],
|
|
6748
6776
|
"flags": {
|
|
6749
6777
|
"json": {
|
|
@@ -6761,46 +6789,18 @@
|
|
|
6761
6789
|
"multiple": false,
|
|
6762
6790
|
"type": "option"
|
|
6763
6791
|
},
|
|
6764
|
-
"
|
|
6765
|
-
"char": "
|
|
6766
|
-
"description": "
|
|
6767
|
-
"name": "
|
|
6768
|
-
"hasDynamicHelp": false,
|
|
6769
|
-
"multiple": false,
|
|
6770
|
-
"type": "option"
|
|
6771
|
-
},
|
|
6772
|
-
"days": {
|
|
6773
|
-
"char": "t",
|
|
6774
|
-
"description": "Extracts the users that have been inactive for the amount of days specified. In CI, default is 180 days",
|
|
6775
|
-
"name": "days",
|
|
6776
|
-
"hasDynamicHelp": false,
|
|
6777
|
-
"multiple": false,
|
|
6778
|
-
"type": "option"
|
|
6779
|
-
},
|
|
6780
|
-
"licensetypes": {
|
|
6781
|
-
"char": "l",
|
|
6782
|
-
"description": "Type of licenses to check. If set, do not use licenseidentifiers option. In CI, default is all-crm",
|
|
6783
|
-
"name": "licensetypes",
|
|
6784
|
-
"hasDynamicHelp": false,
|
|
6785
|
-
"multiple": false,
|
|
6786
|
-
"options": [
|
|
6787
|
-
"all",
|
|
6788
|
-
"all-crm",
|
|
6789
|
-
"all-paying"
|
|
6790
|
-
],
|
|
6791
|
-
"type": "option"
|
|
6792
|
-
},
|
|
6793
|
-
"licenseidentifiers": {
|
|
6794
|
-
"char": "i",
|
|
6795
|
-
"description": "Comma-separated list of license identifiers, in case licensetypes is not used.. Identifiers available at https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_userlicense.htm",
|
|
6796
|
-
"name": "licenseidentifiers",
|
|
6792
|
+
"path": {
|
|
6793
|
+
"char": "p",
|
|
6794
|
+
"description": "Path to the file export project",
|
|
6795
|
+
"name": "path",
|
|
6797
6796
|
"hasDynamicHelp": false,
|
|
6798
6797
|
"multiple": false,
|
|
6799
6798
|
"type": "option"
|
|
6800
6799
|
},
|
|
6801
|
-
"
|
|
6802
|
-
"
|
|
6803
|
-
"
|
|
6800
|
+
"overwrite": {
|
|
6801
|
+
"char": "f",
|
|
6802
|
+
"description": "Override existing files (doubles the number of API calls)",
|
|
6803
|
+
"name": "overwrite",
|
|
6804
6804
|
"allowNo": false,
|
|
6805
6805
|
"type": "boolean"
|
|
6806
6806
|
},
|
|
@@ -6842,13 +6842,13 @@
|
|
|
6842
6842
|
},
|
|
6843
6843
|
"hasDynamicHelp": true,
|
|
6844
6844
|
"hiddenAliases": [],
|
|
6845
|
-
"id": "hardis:org:
|
|
6845
|
+
"id": "hardis:org:files:import",
|
|
6846
6846
|
"pluginAlias": "sfdx-hardis",
|
|
6847
6847
|
"pluginName": "sfdx-hardis",
|
|
6848
6848
|
"pluginType": "core",
|
|
6849
6849
|
"strict": true,
|
|
6850
6850
|
"enableJsonFlag": true,
|
|
6851
|
-
"title": "
|
|
6851
|
+
"title": "Import files",
|
|
6852
6852
|
"requiresProject": false,
|
|
6853
6853
|
"isESM": true,
|
|
6854
6854
|
"relativePath": [
|
|
@@ -6856,35 +6856,35 @@
|
|
|
6856
6856
|
"commands",
|
|
6857
6857
|
"hardis",
|
|
6858
6858
|
"org",
|
|
6859
|
-
"
|
|
6860
|
-
"
|
|
6859
|
+
"files",
|
|
6860
|
+
"import.js"
|
|
6861
6861
|
],
|
|
6862
6862
|
"aliasPermutations": [],
|
|
6863
6863
|
"permutations": [
|
|
6864
|
-
"hardis:org:
|
|
6865
|
-
"org:hardis:
|
|
6866
|
-
"org:
|
|
6867
|
-
"org:
|
|
6868
|
-
"hardis:
|
|
6869
|
-
"
|
|
6870
|
-
"
|
|
6871
|
-
"
|
|
6872
|
-
"hardis:
|
|
6873
|
-
"
|
|
6874
|
-
"
|
|
6875
|
-
"
|
|
6876
|
-
"hardis:org:
|
|
6877
|
-
"org:hardis:
|
|
6878
|
-
"org:
|
|
6879
|
-
"org:
|
|
6880
|
-
"hardis:
|
|
6881
|
-
"
|
|
6882
|
-
"
|
|
6883
|
-
"
|
|
6884
|
-
"hardis:
|
|
6885
|
-
"
|
|
6886
|
-
"
|
|
6887
|
-
"
|
|
6864
|
+
"hardis:org:files:import",
|
|
6865
|
+
"org:hardis:files:import",
|
|
6866
|
+
"org:files:hardis:import",
|
|
6867
|
+
"org:files:import:hardis",
|
|
6868
|
+
"hardis:files:org:import",
|
|
6869
|
+
"files:hardis:org:import",
|
|
6870
|
+
"files:org:hardis:import",
|
|
6871
|
+
"files:org:import:hardis",
|
|
6872
|
+
"hardis:files:import:org",
|
|
6873
|
+
"files:hardis:import:org",
|
|
6874
|
+
"files:import:hardis:org",
|
|
6875
|
+
"files:import:org:hardis",
|
|
6876
|
+
"hardis:org:import:files",
|
|
6877
|
+
"org:hardis:import:files",
|
|
6878
|
+
"org:import:hardis:files",
|
|
6879
|
+
"org:import:files:hardis",
|
|
6880
|
+
"hardis:import:org:files",
|
|
6881
|
+
"import:hardis:org:files",
|
|
6882
|
+
"import:org:hardis:files",
|
|
6883
|
+
"import:org:files:hardis",
|
|
6884
|
+
"hardis:import:files:org",
|
|
6885
|
+
"import:hardis:files:org",
|
|
6886
|
+
"import:files:hardis:org",
|
|
6887
|
+
"import:files:org:hardis"
|
|
6888
6888
|
]
|
|
6889
6889
|
},
|
|
6890
6890
|
"hardis:org:fix:listviewmine": {
|
|
@@ -8695,158 +8695,46 @@
|
|
|
8695
8695
|
"relativePath": [
|
|
8696
8696
|
"lib",
|
|
8697
8697
|
"commands",
|
|
8698
|
-
"hardis",
|
|
8699
|
-
"package",
|
|
8700
|
-
"version",
|
|
8701
|
-
"list.js"
|
|
8702
|
-
],
|
|
8703
|
-
"aliasPermutations": [],
|
|
8704
|
-
"permutations": [
|
|
8705
|
-
"hardis:package:version:list",
|
|
8706
|
-
"package:hardis:version:list",
|
|
8707
|
-
"package:version:hardis:list",
|
|
8708
|
-
"package:version:list:hardis",
|
|
8709
|
-
"hardis:version:package:list",
|
|
8710
|
-
"version:hardis:package:list",
|
|
8711
|
-
"version:package:hardis:list",
|
|
8712
|
-
"version:package:list:hardis",
|
|
8713
|
-
"hardis:version:list:package",
|
|
8714
|
-
"version:hardis:list:package",
|
|
8715
|
-
"version:list:hardis:package",
|
|
8716
|
-
"version:list:package:hardis",
|
|
8717
|
-
"hardis:package:list:version",
|
|
8718
|
-
"package:hardis:list:version",
|
|
8719
|
-
"package:list:hardis:version",
|
|
8720
|
-
"package:list:version:hardis",
|
|
8721
|
-
"hardis:list:package:version",
|
|
8722
|
-
"list:hardis:package:version",
|
|
8723
|
-
"list:package:hardis:version",
|
|
8724
|
-
"list:package:version:hardis",
|
|
8725
|
-
"hardis:list:version:package",
|
|
8726
|
-
"list:hardis:version:package",
|
|
8727
|
-
"list:version:hardis:package",
|
|
8728
|
-
"list:version:package:hardis"
|
|
8729
|
-
]
|
|
8730
|
-
},
|
|
8731
|
-
"hardis:package:version:promote": {
|
|
8732
|
-
"aliases": [],
|
|
8733
|
-
"args": {},
|
|
8734
|
-
"description": "Promote package(s) version(s): convert it from beta to released",
|
|
8735
|
-
"examples": [
|
|
8736
|
-
"$ sf hardis:package:version:promote",
|
|
8737
|
-
"$ sf hardis:package:version:promote --auto"
|
|
8738
|
-
],
|
|
8739
|
-
"flags": {
|
|
8740
|
-
"json": {
|
|
8741
|
-
"description": "Format output as json.",
|
|
8742
|
-
"helpGroup": "GLOBAL",
|
|
8743
|
-
"name": "json",
|
|
8744
|
-
"allowNo": false,
|
|
8745
|
-
"type": "boolean"
|
|
8746
|
-
},
|
|
8747
|
-
"flags-dir": {
|
|
8748
|
-
"helpGroup": "GLOBAL",
|
|
8749
|
-
"name": "flags-dir",
|
|
8750
|
-
"summary": "Import flag values from a directory.",
|
|
8751
|
-
"hasDynamicHelp": false,
|
|
8752
|
-
"multiple": false,
|
|
8753
|
-
"type": "option"
|
|
8754
|
-
},
|
|
8755
|
-
"auto": {
|
|
8756
|
-
"char": "f",
|
|
8757
|
-
"description": "Auto-detect which versions of which packages need to be promoted",
|
|
8758
|
-
"name": "auto",
|
|
8759
|
-
"allowNo": false,
|
|
8760
|
-
"type": "boolean"
|
|
8761
|
-
},
|
|
8762
|
-
"debug": {
|
|
8763
|
-
"char": "d",
|
|
8764
|
-
"description": "Activate debug mode (more logs)",
|
|
8765
|
-
"name": "debug",
|
|
8766
|
-
"allowNo": false,
|
|
8767
|
-
"type": "boolean"
|
|
8768
|
-
},
|
|
8769
|
-
"websocket": {
|
|
8770
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
8771
|
-
"name": "websocket",
|
|
8772
|
-
"hasDynamicHelp": false,
|
|
8773
|
-
"multiple": false,
|
|
8774
|
-
"type": "option"
|
|
8775
|
-
},
|
|
8776
|
-
"skipauth": {
|
|
8777
|
-
"description": "Skip authentication check when a default username is required",
|
|
8778
|
-
"name": "skipauth",
|
|
8779
|
-
"allowNo": false,
|
|
8780
|
-
"type": "boolean"
|
|
8781
|
-
},
|
|
8782
|
-
"target-dev-hub": {
|
|
8783
|
-
"aliases": [
|
|
8784
|
-
"targetdevhubusername"
|
|
8785
|
-
],
|
|
8786
|
-
"char": "v",
|
|
8787
|
-
"deprecateAliases": true,
|
|
8788
|
-
"name": "target-dev-hub",
|
|
8789
|
-
"noCacheDefault": true,
|
|
8790
|
-
"required": true,
|
|
8791
|
-
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
8792
|
-
"hasDynamicHelp": true,
|
|
8793
|
-
"multiple": false,
|
|
8794
|
-
"type": "option"
|
|
8795
|
-
}
|
|
8796
|
-
},
|
|
8797
|
-
"hasDynamicHelp": true,
|
|
8798
|
-
"hiddenAliases": [],
|
|
8799
|
-
"id": "hardis:package:version:promote",
|
|
8800
|
-
"pluginAlias": "sfdx-hardis",
|
|
8801
|
-
"pluginName": "sfdx-hardis",
|
|
8802
|
-
"pluginType": "core",
|
|
8803
|
-
"strict": true,
|
|
8804
|
-
"enableJsonFlag": true,
|
|
8805
|
-
"title": "Promote new versions of package(s)",
|
|
8806
|
-
"requiresProject": true,
|
|
8807
|
-
"isESM": true,
|
|
8808
|
-
"relativePath": [
|
|
8809
|
-
"lib",
|
|
8810
|
-
"commands",
|
|
8811
|
-
"hardis",
|
|
8812
|
-
"package",
|
|
8813
|
-
"version",
|
|
8814
|
-
"promote.js"
|
|
8815
|
-
],
|
|
8816
|
-
"aliasPermutations": [],
|
|
8817
|
-
"permutations": [
|
|
8818
|
-
"hardis:package:version:promote",
|
|
8819
|
-
"package:hardis:version:promote",
|
|
8820
|
-
"package:version:hardis:promote",
|
|
8821
|
-
"package:version:promote:hardis",
|
|
8822
|
-
"hardis:version:package:promote",
|
|
8823
|
-
"version:hardis:package:promote",
|
|
8824
|
-
"version:package:hardis:promote",
|
|
8825
|
-
"version:package:promote:hardis",
|
|
8826
|
-
"hardis:version:promote:package",
|
|
8827
|
-
"version:hardis:promote:package",
|
|
8828
|
-
"version:promote:hardis:package",
|
|
8829
|
-
"version:promote:package:hardis",
|
|
8830
|
-
"hardis:package:promote:version",
|
|
8831
|
-
"package:hardis:promote:version",
|
|
8832
|
-
"package:promote:hardis:version",
|
|
8833
|
-
"package:promote:version:hardis",
|
|
8834
|
-
"hardis:promote:package:version",
|
|
8835
|
-
"promote:hardis:package:version",
|
|
8836
|
-
"promote:package:hardis:version",
|
|
8837
|
-
"promote:package:version:hardis",
|
|
8838
|
-
"hardis:promote:version:package",
|
|
8839
|
-
"promote:hardis:version:package",
|
|
8840
|
-
"promote:version:hardis:package",
|
|
8841
|
-
"promote:version:package:hardis"
|
|
8698
|
+
"hardis",
|
|
8699
|
+
"package",
|
|
8700
|
+
"version",
|
|
8701
|
+
"list.js"
|
|
8702
|
+
],
|
|
8703
|
+
"aliasPermutations": [],
|
|
8704
|
+
"permutations": [
|
|
8705
|
+
"hardis:package:version:list",
|
|
8706
|
+
"package:hardis:version:list",
|
|
8707
|
+
"package:version:hardis:list",
|
|
8708
|
+
"package:version:list:hardis",
|
|
8709
|
+
"hardis:version:package:list",
|
|
8710
|
+
"version:hardis:package:list",
|
|
8711
|
+
"version:package:hardis:list",
|
|
8712
|
+
"version:package:list:hardis",
|
|
8713
|
+
"hardis:version:list:package",
|
|
8714
|
+
"version:hardis:list:package",
|
|
8715
|
+
"version:list:hardis:package",
|
|
8716
|
+
"version:list:package:hardis",
|
|
8717
|
+
"hardis:package:list:version",
|
|
8718
|
+
"package:hardis:list:version",
|
|
8719
|
+
"package:list:hardis:version",
|
|
8720
|
+
"package:list:version:hardis",
|
|
8721
|
+
"hardis:list:package:version",
|
|
8722
|
+
"list:hardis:package:version",
|
|
8723
|
+
"list:package:hardis:version",
|
|
8724
|
+
"list:package:version:hardis",
|
|
8725
|
+
"hardis:list:version:package",
|
|
8726
|
+
"list:hardis:version:package",
|
|
8727
|
+
"list:version:hardis:package",
|
|
8728
|
+
"list:version:package:hardis"
|
|
8842
8729
|
]
|
|
8843
8730
|
},
|
|
8844
|
-
"hardis:
|
|
8731
|
+
"hardis:package:version:promote": {
|
|
8845
8732
|
"aliases": [],
|
|
8846
8733
|
"args": {},
|
|
8847
|
-
"description": "
|
|
8734
|
+
"description": "Promote package(s) version(s): convert it from beta to released",
|
|
8848
8735
|
"examples": [
|
|
8849
|
-
"$ sf hardis:
|
|
8736
|
+
"$ sf hardis:package:version:promote",
|
|
8737
|
+
"$ sf hardis:package:version:promote --auto"
|
|
8850
8738
|
],
|
|
8851
8739
|
"flags": {
|
|
8852
8740
|
"json": {
|
|
@@ -8864,10 +8752,10 @@
|
|
|
8864
8752
|
"multiple": false,
|
|
8865
8753
|
"type": "option"
|
|
8866
8754
|
},
|
|
8867
|
-
"
|
|
8868
|
-
"char": "
|
|
8869
|
-
"description": "
|
|
8870
|
-
"name": "
|
|
8755
|
+
"auto": {
|
|
8756
|
+
"char": "f",
|
|
8757
|
+
"description": "Auto-detect which versions of which packages need to be promoted",
|
|
8758
|
+
"name": "auto",
|
|
8871
8759
|
"allowNo": false,
|
|
8872
8760
|
"type": "boolean"
|
|
8873
8761
|
},
|
|
@@ -8891,20 +8779,6 @@
|
|
|
8891
8779
|
"allowNo": false,
|
|
8892
8780
|
"type": "boolean"
|
|
8893
8781
|
},
|
|
8894
|
-
"target-org": {
|
|
8895
|
-
"aliases": [
|
|
8896
|
-
"targetusername",
|
|
8897
|
-
"u"
|
|
8898
|
-
],
|
|
8899
|
-
"char": "o",
|
|
8900
|
-
"deprecateAliases": true,
|
|
8901
|
-
"name": "target-org",
|
|
8902
|
-
"noCacheDefault": true,
|
|
8903
|
-
"summary": "Username or alias of the target org.",
|
|
8904
|
-
"hasDynamicHelp": true,
|
|
8905
|
-
"multiple": false,
|
|
8906
|
-
"type": "option"
|
|
8907
|
-
},
|
|
8908
8782
|
"target-dev-hub": {
|
|
8909
8783
|
"aliases": [
|
|
8910
8784
|
"targetdevhubusername"
|
|
@@ -8913,8 +8787,8 @@
|
|
|
8913
8787
|
"deprecateAliases": true,
|
|
8914
8788
|
"name": "target-dev-hub",
|
|
8915
8789
|
"noCacheDefault": true,
|
|
8916
|
-
"required":
|
|
8917
|
-
"summary": "Username or alias of the Dev Hub org.",
|
|
8790
|
+
"required": true,
|
|
8791
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
8918
8792
|
"hasDynamicHelp": true,
|
|
8919
8793
|
"multiple": false,
|
|
8920
8794
|
"type": "option"
|
|
@@ -8922,52 +8796,49 @@
|
|
|
8922
8796
|
},
|
|
8923
8797
|
"hasDynamicHelp": true,
|
|
8924
8798
|
"hiddenAliases": [],
|
|
8925
|
-
"id": "hardis:
|
|
8799
|
+
"id": "hardis:package:version:promote",
|
|
8926
8800
|
"pluginAlias": "sfdx-hardis",
|
|
8927
8801
|
"pluginName": "sfdx-hardis",
|
|
8928
8802
|
"pluginType": "core",
|
|
8929
8803
|
"strict": true,
|
|
8930
8804
|
"enableJsonFlag": true,
|
|
8931
|
-
"title": "
|
|
8932
|
-
"requiresProject":
|
|
8933
|
-
"requiresDependencies": [
|
|
8934
|
-
"openssl"
|
|
8935
|
-
],
|
|
8805
|
+
"title": "Promote new versions of package(s)",
|
|
8806
|
+
"requiresProject": true,
|
|
8936
8807
|
"isESM": true,
|
|
8937
8808
|
"relativePath": [
|
|
8938
8809
|
"lib",
|
|
8939
8810
|
"commands",
|
|
8940
8811
|
"hardis",
|
|
8941
|
-
"
|
|
8942
|
-
"
|
|
8943
|
-
"
|
|
8812
|
+
"package",
|
|
8813
|
+
"version",
|
|
8814
|
+
"promote.js"
|
|
8944
8815
|
],
|
|
8945
8816
|
"aliasPermutations": [],
|
|
8946
8817
|
"permutations": [
|
|
8947
|
-
"hardis:
|
|
8948
|
-
"
|
|
8949
|
-
"
|
|
8950
|
-
"
|
|
8951
|
-
"hardis:
|
|
8952
|
-
"
|
|
8953
|
-
"
|
|
8954
|
-
"
|
|
8955
|
-
"hardis:
|
|
8956
|
-
"
|
|
8957
|
-
"
|
|
8958
|
-
"
|
|
8959
|
-
"hardis:
|
|
8960
|
-
"
|
|
8961
|
-
"
|
|
8962
|
-
"
|
|
8963
|
-
"hardis:
|
|
8964
|
-
"
|
|
8965
|
-
"
|
|
8966
|
-
"
|
|
8967
|
-
"hardis:
|
|
8968
|
-
"
|
|
8969
|
-
"
|
|
8970
|
-
"
|
|
8818
|
+
"hardis:package:version:promote",
|
|
8819
|
+
"package:hardis:version:promote",
|
|
8820
|
+
"package:version:hardis:promote",
|
|
8821
|
+
"package:version:promote:hardis",
|
|
8822
|
+
"hardis:version:package:promote",
|
|
8823
|
+
"version:hardis:package:promote",
|
|
8824
|
+
"version:package:hardis:promote",
|
|
8825
|
+
"version:package:promote:hardis",
|
|
8826
|
+
"hardis:version:promote:package",
|
|
8827
|
+
"version:hardis:promote:package",
|
|
8828
|
+
"version:promote:hardis:package",
|
|
8829
|
+
"version:promote:package:hardis",
|
|
8830
|
+
"hardis:package:promote:version",
|
|
8831
|
+
"package:hardis:promote:version",
|
|
8832
|
+
"package:promote:hardis:version",
|
|
8833
|
+
"package:promote:version:hardis",
|
|
8834
|
+
"hardis:promote:package:version",
|
|
8835
|
+
"promote:hardis:package:version",
|
|
8836
|
+
"promote:package:hardis:version",
|
|
8837
|
+
"promote:package:version:hardis",
|
|
8838
|
+
"hardis:promote:version:package",
|
|
8839
|
+
"promote:hardis:version:package",
|
|
8840
|
+
"promote:version:hardis:package",
|
|
8841
|
+
"promote:version:package:hardis"
|
|
8971
8842
|
]
|
|
8972
8843
|
},
|
|
8973
8844
|
"hardis:project:audit:apiversion": {
|
|
@@ -9383,6 +9254,135 @@
|
|
|
9383
9254
|
"remotesites:audit:project:hardis"
|
|
9384
9255
|
]
|
|
9385
9256
|
},
|
|
9257
|
+
"hardis:project:configure:auth": {
|
|
9258
|
+
"aliases": [],
|
|
9259
|
+
"args": {},
|
|
9260
|
+
"description": "Configure authentication from git branch to target org",
|
|
9261
|
+
"examples": [
|
|
9262
|
+
"$ sf hardis:project:configure:auth"
|
|
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
|
+
"devhub": {
|
|
9281
|
+
"char": "b",
|
|
9282
|
+
"description": "Configure project DevHub",
|
|
9283
|
+
"name": "devhub",
|
|
9284
|
+
"allowNo": false,
|
|
9285
|
+
"type": "boolean"
|
|
9286
|
+
},
|
|
9287
|
+
"debug": {
|
|
9288
|
+
"char": "d",
|
|
9289
|
+
"description": "Activate debug mode (more logs)",
|
|
9290
|
+
"name": "debug",
|
|
9291
|
+
"allowNo": false,
|
|
9292
|
+
"type": "boolean"
|
|
9293
|
+
},
|
|
9294
|
+
"websocket": {
|
|
9295
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
9296
|
+
"name": "websocket",
|
|
9297
|
+
"hasDynamicHelp": false,
|
|
9298
|
+
"multiple": false,
|
|
9299
|
+
"type": "option"
|
|
9300
|
+
},
|
|
9301
|
+
"skipauth": {
|
|
9302
|
+
"description": "Skip authentication check when a default username is required",
|
|
9303
|
+
"name": "skipauth",
|
|
9304
|
+
"allowNo": false,
|
|
9305
|
+
"type": "boolean"
|
|
9306
|
+
},
|
|
9307
|
+
"target-org": {
|
|
9308
|
+
"aliases": [
|
|
9309
|
+
"targetusername",
|
|
9310
|
+
"u"
|
|
9311
|
+
],
|
|
9312
|
+
"char": "o",
|
|
9313
|
+
"deprecateAliases": true,
|
|
9314
|
+
"name": "target-org",
|
|
9315
|
+
"noCacheDefault": true,
|
|
9316
|
+
"summary": "Username or alias of the target org.",
|
|
9317
|
+
"hasDynamicHelp": true,
|
|
9318
|
+
"multiple": false,
|
|
9319
|
+
"type": "option"
|
|
9320
|
+
},
|
|
9321
|
+
"target-dev-hub": {
|
|
9322
|
+
"aliases": [
|
|
9323
|
+
"targetdevhubusername"
|
|
9324
|
+
],
|
|
9325
|
+
"char": "v",
|
|
9326
|
+
"deprecateAliases": true,
|
|
9327
|
+
"name": "target-dev-hub",
|
|
9328
|
+
"noCacheDefault": true,
|
|
9329
|
+
"required": false,
|
|
9330
|
+
"summary": "Username or alias of the Dev Hub org.",
|
|
9331
|
+
"hasDynamicHelp": true,
|
|
9332
|
+
"multiple": false,
|
|
9333
|
+
"type": "option"
|
|
9334
|
+
}
|
|
9335
|
+
},
|
|
9336
|
+
"hasDynamicHelp": true,
|
|
9337
|
+
"hiddenAliases": [],
|
|
9338
|
+
"id": "hardis:project:configure:auth",
|
|
9339
|
+
"pluginAlias": "sfdx-hardis",
|
|
9340
|
+
"pluginName": "sfdx-hardis",
|
|
9341
|
+
"pluginType": "core",
|
|
9342
|
+
"strict": true,
|
|
9343
|
+
"enableJsonFlag": true,
|
|
9344
|
+
"title": "Configure authentication",
|
|
9345
|
+
"requiresProject": false,
|
|
9346
|
+
"requiresDependencies": [
|
|
9347
|
+
"openssl"
|
|
9348
|
+
],
|
|
9349
|
+
"isESM": true,
|
|
9350
|
+
"relativePath": [
|
|
9351
|
+
"lib",
|
|
9352
|
+
"commands",
|
|
9353
|
+
"hardis",
|
|
9354
|
+
"project",
|
|
9355
|
+
"configure",
|
|
9356
|
+
"auth.js"
|
|
9357
|
+
],
|
|
9358
|
+
"aliasPermutations": [],
|
|
9359
|
+
"permutations": [
|
|
9360
|
+
"hardis:project:configure:auth",
|
|
9361
|
+
"project:hardis:configure:auth",
|
|
9362
|
+
"project:configure:hardis:auth",
|
|
9363
|
+
"project:configure:auth:hardis",
|
|
9364
|
+
"hardis:configure:project:auth",
|
|
9365
|
+
"configure:hardis:project:auth",
|
|
9366
|
+
"configure:project:hardis:auth",
|
|
9367
|
+
"configure:project:auth:hardis",
|
|
9368
|
+
"hardis:configure:auth:project",
|
|
9369
|
+
"configure:hardis:auth:project",
|
|
9370
|
+
"configure:auth:hardis:project",
|
|
9371
|
+
"configure:auth:project:hardis",
|
|
9372
|
+
"hardis:project:auth:configure",
|
|
9373
|
+
"project:hardis:auth:configure",
|
|
9374
|
+
"project:auth:hardis:configure",
|
|
9375
|
+
"project:auth:configure:hardis",
|
|
9376
|
+
"hardis:auth:project:configure",
|
|
9377
|
+
"auth:hardis:project:configure",
|
|
9378
|
+
"auth:project:hardis:configure",
|
|
9379
|
+
"auth:project:configure:hardis",
|
|
9380
|
+
"hardis:auth:configure:project",
|
|
9381
|
+
"auth:hardis:configure:project",
|
|
9382
|
+
"auth:configure:hardis:project",
|
|
9383
|
+
"auth:configure:project:hardis"
|
|
9384
|
+
]
|
|
9385
|
+
},
|
|
9386
9386
|
"hardis:project:convert:profilestopermsets": {
|
|
9387
9387
|
"aliases": [],
|
|
9388
9388
|
"args": {},
|
|
@@ -14843,5 +14843,5 @@
|
|
|
14843
14843
|
]
|
|
14844
14844
|
}
|
|
14845
14845
|
},
|
|
14846
|
-
"version": "5.44.2-
|
|
14846
|
+
"version": "5.44.2-alpha202507221146.0"
|
|
14847
14847
|
}
|