sfdx-hardis 5.44.2-alpha202507221112.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 +3471 -3229
- package/oclif.manifest.json +1238 -1238
- 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,38 +3619,42 @@
|
|
|
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
3636
|
"lib",
|
|
3359
3637
|
"commands",
|
|
3360
3638
|
"hardis",
|
|
3361
3639
|
"scratch",
|
|
3362
|
-
"
|
|
3640
|
+
"create.js"
|
|
3363
3641
|
],
|
|
3364
3642
|
"aliasPermutations": [],
|
|
3365
3643
|
"permutations": [
|
|
3366
|
-
"hardis:scratch:
|
|
3367
|
-
"scratch:hardis:
|
|
3368
|
-
"scratch:
|
|
3369
|
-
"hardis:
|
|
3370
|
-
"
|
|
3371
|
-
"
|
|
3644
|
+
"hardis:scratch:create",
|
|
3645
|
+
"scratch:hardis:create",
|
|
3646
|
+
"scratch:create:hardis",
|
|
3647
|
+
"hardis:create:scratch",
|
|
3648
|
+
"create:hardis:scratch",
|
|
3649
|
+
"create:scratch:hardis"
|
|
3372
3650
|
]
|
|
3373
3651
|
},
|
|
3374
|
-
"hardis:
|
|
3652
|
+
"hardis:scratch:delete": {
|
|
3375
3653
|
"aliases": [],
|
|
3376
3654
|
"args": {},
|
|
3377
|
-
"description": "
|
|
3655
|
+
"description": "Assisted menu to delete scratch orgs associated to a DevHub",
|
|
3378
3656
|
"examples": [
|
|
3379
|
-
"$ sf hardis:
|
|
3657
|
+
"$ sf hardis:scratch:delete"
|
|
3380
3658
|
],
|
|
3381
3659
|
"flags": {
|
|
3382
3660
|
"json": {
|
|
@@ -3394,216 +3672,36 @@
|
|
|
3394
3672
|
"multiple": false,
|
|
3395
3673
|
"type": "option"
|
|
3396
3674
|
},
|
|
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",
|
|
3554
|
-
"allowNo": false,
|
|
3555
|
-
"type": "boolean"
|
|
3556
|
-
},
|
|
3557
|
-
"resultsdir": {
|
|
3558
|
-
"description": "resultsdir",
|
|
3559
|
-
"name": "resultsdir",
|
|
3560
|
-
"hasDynamicHelp": false,
|
|
3561
|
-
"multiple": false,
|
|
3562
|
-
"type": "option"
|
|
3563
|
-
},
|
|
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": {
|
|
@@ -5476,12 +5476,15 @@
|
|
|
5476
5476
|
"import:data:org:hardis"
|
|
5477
5477
|
]
|
|
5478
5478
|
},
|
|
5479
|
-
"hardis:org:
|
|
5479
|
+
"hardis:org:diagnose:audittrail": {
|
|
5480
5480
|
"aliases": [],
|
|
5481
5481
|
"args": {},
|
|
5482
|
-
"description": "Export
|
|
5482
|
+
"description": "Export Audit trail into a CSV file with selected criteria, and highlight suspect actions\n\nAlso detects updates of Custom Settings values (disable by defining `SKIP_AUDIT_TRAIL_CUSTOM_SETTINGS=true`)\n\nRegular setup actions performed in major orgs are filtered.\n\n- \"\"\n - createScratchOrg\n - changedsenderemail\n - deleteScratchOrg\n - loginasgrantedtopartnerbt\n- Certificate and Key Management\n - insertCertificate\n- Custom App Licenses\n - addeduserpackagelicense\n - granteduserpackagelicense\n - revokeduserpackagelicense\n- Customer Portal\n - createdcustomersuccessuser\n - CSPUserDisabled\n- Currency\n - updateddatedexchrate\n- Data Management\n - queueMembership\n- Email Administration\n - dkimRotationPreparationSuccessful\n - dkimRotationSuccessful\n- External Objects\n - xdsEncryptedFieldChange\n- Groups\n - groupMembership\n- Holidays\n - holiday_insert\n- Inbox mobile and legacy desktop apps\n - enableSIQUserNonEAC\n - siqUserAcceptedTOS\n- Manage Users\n - activateduser\n - createduser\n - changedcommunitynickname\n - changedemail\n - changedfederationid\n - changedpassword\n - changedinteractionuseroffon\n - changedinteractionuseronoff\n - changedmarketinguseroffon\n - changedmarketinguseronoff\n - changedofflineuseroffon\n - changedprofileforuserstdtostd\n - changedprofileforuser\n - changedprofileforusercusttostd\n - changedprofileforuserstdtocust\n - changedroleforusertonone\n - changedroleforuser\n - changedroleforuserfromnone\n - changedUserAdminVerifiedStatusVerified\n - changedUserEmailVerifiedStatusUnverified\n - changedUserEmailVerifiedStatusVerified\n - changedknowledgeuseroffon\n - changedsfcontentuseroffon\n - changedsupportuseroffon\n - changedusername\n - changedUserPhoneNumber\n - changedUserPhoneVerifiedStatusUnverified\n - changedUserPhoneVerifiedStatusVerified\n - deactivateduser\n - deleteAuthenticatorPairing\n - deleteTwoFactorInfo2\n - deleteTwoFactorTempCode\n - frozeuser\n - insertAuthenticatorPairing\n - insertTwoFactorInfo2\n - insertTwoFactorTempCode\n - lightningloginenroll\n - PermSetAssign\n - PermSetGroupAssign\n - PermSetGroupUnassign\n - PermSetLicenseAssign\n - PermSetUnassign\n - PermSetLicenseUnassign\n - registeredUserPhoneNumber\n - resetpassword\n - suNetworkAdminLogin\n - suNetworkAdminLogout\n - suOrgAdminLogin\n - suOrgAdminLogout\n - unfrozeuser\n - useremailchangesent\n- Mobile Administration\n - assigneduserstomobileconfig\n- Reporting Snapshots\n - createdReportJob\n - deletedReportJob\n- Sandboxes\n - DeleteSandbox\n\nBy default, deployment user defined in .sfdx-hardis.yml targetUsername property will be excluded.\n\nYou can define additional users to exclude in .sfdx-hardis.yml **monitoringExcludeUsernames** property.\n\nYou can also add more sections / actions considered as not suspect using property **monitoringAllowedSectionsActions**\n\nExample:\n\n```yaml\nmonitoringExcludeUsernames:\n - deploymentuser@cloudity.com\n - marketingcloud@cloudity.com\n - integration-user@cloudity.com\n\nmonitoringAllowedSectionsActions:\n \"Some section\": [] // Will ignore all actions from such section\n \"Some other section\": [\"actionType1\",\"actionType2\",\"actionType3\"] // Will ignore only those 3 actions from section \"Some other section\". Other actions in the same section will be considered as suspect.\n```\n\n## Excel output example\n\n\n\n## Local output example\n\n\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-suspect-audit-trail/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
5483
5483
|
"examples": [
|
|
5484
|
-
"$ sf hardis:org:
|
|
5484
|
+
"$ sf hardis:org:diagnose:audittrail",
|
|
5485
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5486
|
+
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5487
|
+
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5485
5488
|
],
|
|
5486
5489
|
"flags": {
|
|
5487
5490
|
"json": {
|
|
@@ -5499,37 +5502,26 @@
|
|
|
5499
5502
|
"multiple": false,
|
|
5500
5503
|
"type": "option"
|
|
5501
5504
|
},
|
|
5502
|
-
"
|
|
5503
|
-
"char": "
|
|
5504
|
-
"description": "
|
|
5505
|
-
"name": "
|
|
5506
|
-
"hasDynamicHelp": false,
|
|
5507
|
-
"multiple": false,
|
|
5508
|
-
"type": "option"
|
|
5509
|
-
},
|
|
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,
|
|
5505
|
+
"excludeusers": {
|
|
5506
|
+
"char": "e",
|
|
5507
|
+
"description": "Comma-separated list of usernames to exclude",
|
|
5508
|
+
"name": "excludeusers",
|
|
5515
5509
|
"hasDynamicHelp": false,
|
|
5516
5510
|
"multiple": false,
|
|
5517
5511
|
"type": "option"
|
|
5518
5512
|
},
|
|
5519
|
-
"
|
|
5513
|
+
"lastndays": {
|
|
5520
5514
|
"char": "t",
|
|
5521
|
-
"description": "
|
|
5522
|
-
"name": "
|
|
5523
|
-
"default": 300000,
|
|
5515
|
+
"description": "Number of days to extract from today (included)",
|
|
5516
|
+
"name": "lastndays",
|
|
5524
5517
|
"hasDynamicHelp": false,
|
|
5525
5518
|
"multiple": false,
|
|
5526
5519
|
"type": "option"
|
|
5527
5520
|
},
|
|
5528
|
-
"
|
|
5529
|
-
"char": "
|
|
5530
|
-
"description": "
|
|
5531
|
-
"name": "
|
|
5532
|
-
"default": 0,
|
|
5521
|
+
"outputfile": {
|
|
5522
|
+
"char": "f",
|
|
5523
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5524
|
+
"name": "outputfile",
|
|
5533
5525
|
"hasDynamicHelp": false,
|
|
5534
5526
|
"multiple": false,
|
|
5535
5527
|
"type": "option"
|
|
@@ -5572,13 +5564,13 @@
|
|
|
5572
5564
|
},
|
|
5573
5565
|
"hasDynamicHelp": true,
|
|
5574
5566
|
"hiddenAliases": [],
|
|
5575
|
-
"id": "hardis:org:
|
|
5567
|
+
"id": "hardis:org:diagnose:audittrail",
|
|
5576
5568
|
"pluginAlias": "sfdx-hardis",
|
|
5577
5569
|
"pluginName": "sfdx-hardis",
|
|
5578
5570
|
"pluginType": "core",
|
|
5579
5571
|
"strict": true,
|
|
5580
5572
|
"enableJsonFlag": true,
|
|
5581
|
-
"title": "
|
|
5573
|
+
"title": "Diagnose content of Setup Audit Trail",
|
|
5582
5574
|
"requiresProject": false,
|
|
5583
5575
|
"isESM": true,
|
|
5584
5576
|
"relativePath": [
|
|
@@ -5586,43 +5578,43 @@
|
|
|
5586
5578
|
"commands",
|
|
5587
5579
|
"hardis",
|
|
5588
5580
|
"org",
|
|
5589
|
-
"
|
|
5590
|
-
"
|
|
5581
|
+
"diagnose",
|
|
5582
|
+
"audittrail.js"
|
|
5591
5583
|
],
|
|
5592
5584
|
"aliasPermutations": [],
|
|
5593
5585
|
"permutations": [
|
|
5594
|
-
"hardis:org:
|
|
5595
|
-
"org:hardis:
|
|
5596
|
-
"org:
|
|
5597
|
-
"org:
|
|
5598
|
-
"hardis:
|
|
5599
|
-
"
|
|
5600
|
-
"
|
|
5601
|
-
"
|
|
5602
|
-
"hardis:
|
|
5603
|
-
"
|
|
5604
|
-
"
|
|
5605
|
-
"
|
|
5606
|
-
"hardis:org:
|
|
5607
|
-
"org:hardis:
|
|
5608
|
-
"org:
|
|
5609
|
-
"org:
|
|
5610
|
-
"hardis:
|
|
5611
|
-
"
|
|
5612
|
-
"
|
|
5613
|
-
"
|
|
5614
|
-
"hardis:
|
|
5615
|
-
"
|
|
5616
|
-
"
|
|
5617
|
-
"
|
|
5586
|
+
"hardis:org:diagnose:audittrail",
|
|
5587
|
+
"org:hardis:diagnose:audittrail",
|
|
5588
|
+
"org:diagnose:hardis:audittrail",
|
|
5589
|
+
"org:diagnose:audittrail:hardis",
|
|
5590
|
+
"hardis:diagnose:org:audittrail",
|
|
5591
|
+
"diagnose:hardis:org:audittrail",
|
|
5592
|
+
"diagnose:org:hardis:audittrail",
|
|
5593
|
+
"diagnose:org:audittrail:hardis",
|
|
5594
|
+
"hardis:diagnose:audittrail:org",
|
|
5595
|
+
"diagnose:hardis:audittrail:org",
|
|
5596
|
+
"diagnose:audittrail:hardis:org",
|
|
5597
|
+
"diagnose:audittrail:org:hardis",
|
|
5598
|
+
"hardis:org:audittrail:diagnose",
|
|
5599
|
+
"org:hardis:audittrail:diagnose",
|
|
5600
|
+
"org:audittrail:hardis:diagnose",
|
|
5601
|
+
"org:audittrail:diagnose:hardis",
|
|
5602
|
+
"hardis:audittrail:org:diagnose",
|
|
5603
|
+
"audittrail:hardis:org:diagnose",
|
|
5604
|
+
"audittrail:org:hardis:diagnose",
|
|
5605
|
+
"audittrail:org:diagnose:hardis",
|
|
5606
|
+
"hardis:audittrail:diagnose:org",
|
|
5607
|
+
"audittrail:hardis:diagnose:org",
|
|
5608
|
+
"audittrail:diagnose:hardis:org",
|
|
5609
|
+
"audittrail:diagnose:org:hardis"
|
|
5618
5610
|
]
|
|
5619
5611
|
},
|
|
5620
|
-
"hardis:org:
|
|
5612
|
+
"hardis:org:diagnose:instanceupgrade": {
|
|
5621
5613
|
"aliases": [],
|
|
5622
5614
|
"args": {},
|
|
5623
|
-
"description": "
|
|
5615
|
+
"description": "Get the date when the org instance will be upgraded (to Spring, Summer or Winter)\n ",
|
|
5624
5616
|
"examples": [
|
|
5625
|
-
"$ sf hardis:org:
|
|
5617
|
+
"$ sf hardis:org:diagnose:instanceupgrade"
|
|
5626
5618
|
],
|
|
5627
5619
|
"flags": {
|
|
5628
5620
|
"json": {
|
|
@@ -5640,21 +5632,6 @@
|
|
|
5640
5632
|
"multiple": false,
|
|
5641
5633
|
"type": "option"
|
|
5642
5634
|
},
|
|
5643
|
-
"path": {
|
|
5644
|
-
"char": "p",
|
|
5645
|
-
"description": "Path to the file export project",
|
|
5646
|
-
"name": "path",
|
|
5647
|
-
"hasDynamicHelp": false,
|
|
5648
|
-
"multiple": false,
|
|
5649
|
-
"type": "option"
|
|
5650
|
-
},
|
|
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
5635
|
"debug": {
|
|
5659
5636
|
"char": "d",
|
|
5660
5637
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5693,13 +5670,13 @@
|
|
|
5693
5670
|
},
|
|
5694
5671
|
"hasDynamicHelp": true,
|
|
5695
5672
|
"hiddenAliases": [],
|
|
5696
|
-
"id": "hardis:org:
|
|
5673
|
+
"id": "hardis:org:diagnose:instanceupgrade",
|
|
5697
5674
|
"pluginAlias": "sfdx-hardis",
|
|
5698
5675
|
"pluginName": "sfdx-hardis",
|
|
5699
5676
|
"pluginType": "core",
|
|
5700
5677
|
"strict": true,
|
|
5701
5678
|
"enableJsonFlag": true,
|
|
5702
|
-
"title": "
|
|
5679
|
+
"title": "Get Instance Upgrade date",
|
|
5703
5680
|
"requiresProject": false,
|
|
5704
5681
|
"isESM": true,
|
|
5705
5682
|
"relativePath": [
|
|
@@ -5707,44 +5684,46 @@
|
|
|
5707
5684
|
"commands",
|
|
5708
5685
|
"hardis",
|
|
5709
5686
|
"org",
|
|
5710
|
-
"
|
|
5711
|
-
"
|
|
5687
|
+
"diagnose",
|
|
5688
|
+
"instanceupgrade.js"
|
|
5712
5689
|
],
|
|
5713
5690
|
"aliasPermutations": [],
|
|
5714
5691
|
"permutations": [
|
|
5715
|
-
"hardis:org:
|
|
5716
|
-
"org:hardis:
|
|
5717
|
-
"org:
|
|
5718
|
-
"org:
|
|
5719
|
-
"hardis:
|
|
5720
|
-
"
|
|
5721
|
-
"
|
|
5722
|
-
"
|
|
5723
|
-
"hardis:
|
|
5724
|
-
"
|
|
5725
|
-
"
|
|
5726
|
-
"
|
|
5727
|
-
"hardis:org:
|
|
5728
|
-
"org:hardis:
|
|
5729
|
-
"org:
|
|
5730
|
-
"org:
|
|
5731
|
-
"hardis:
|
|
5732
|
-
"
|
|
5733
|
-
"
|
|
5734
|
-
"
|
|
5735
|
-
"hardis:
|
|
5736
|
-
"
|
|
5737
|
-
"
|
|
5738
|
-
"
|
|
5692
|
+
"hardis:org:diagnose:instanceupgrade",
|
|
5693
|
+
"org:hardis:diagnose:instanceupgrade",
|
|
5694
|
+
"org:diagnose:hardis:instanceupgrade",
|
|
5695
|
+
"org:diagnose:instanceupgrade:hardis",
|
|
5696
|
+
"hardis:diagnose:org:instanceupgrade",
|
|
5697
|
+
"diagnose:hardis:org:instanceupgrade",
|
|
5698
|
+
"diagnose:org:hardis:instanceupgrade",
|
|
5699
|
+
"diagnose:org:instanceupgrade:hardis",
|
|
5700
|
+
"hardis:diagnose:instanceupgrade:org",
|
|
5701
|
+
"diagnose:hardis:instanceupgrade:org",
|
|
5702
|
+
"diagnose:instanceupgrade:hardis:org",
|
|
5703
|
+
"diagnose:instanceupgrade:org:hardis",
|
|
5704
|
+
"hardis:org:instanceupgrade:diagnose",
|
|
5705
|
+
"org:hardis:instanceupgrade:diagnose",
|
|
5706
|
+
"org:instanceupgrade:hardis:diagnose",
|
|
5707
|
+
"org:instanceupgrade:diagnose:hardis",
|
|
5708
|
+
"hardis:instanceupgrade:org:diagnose",
|
|
5709
|
+
"instanceupgrade:hardis:org:diagnose",
|
|
5710
|
+
"instanceupgrade:org:hardis:diagnose",
|
|
5711
|
+
"instanceupgrade:org:diagnose:hardis",
|
|
5712
|
+
"hardis:instanceupgrade:diagnose:org",
|
|
5713
|
+
"instanceupgrade:hardis:diagnose:org",
|
|
5714
|
+
"instanceupgrade:diagnose:hardis:org",
|
|
5715
|
+
"instanceupgrade:diagnose:org:hardis"
|
|
5739
5716
|
]
|
|
5740
5717
|
},
|
|
5741
|
-
"hardis:org:
|
|
5718
|
+
"hardis:org:diagnose:legacyapi": {
|
|
5742
5719
|
"aliases": [],
|
|
5743
5720
|
"args": {},
|
|
5744
|
-
"description": "
|
|
5721
|
+
"description": "Checks if an org uses retired or someday retired API version\n\n\nSee article below\n\n[](https://nicolas.vuillamy.fr/handle-salesforce-api-versions-deprecation-like-a-pro-335065f52238)\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-deprecated-api-calls/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
5745
5722
|
"examples": [
|
|
5746
|
-
"$ sf hardis:org:
|
|
5747
|
-
"$ sf hardis:org:
|
|
5723
|
+
"$ sf hardis:org:diagnose:legacyapi",
|
|
5724
|
+
"$ sf hardis:org:diagnose:legacyapi -u hardis@myclient.com",
|
|
5725
|
+
"$ sf hardis:org:diagnose:legacyapi --outputfile 'c:/path/to/folder/legacyapi.csv'",
|
|
5726
|
+
"$ sf hardis:org:diagnose:legacyapi -u hardis@myclient.com --outputfile ./tmp/legacyapi.csv"
|
|
5748
5727
|
],
|
|
5749
5728
|
"flags": {
|
|
5750
5729
|
"json": {
|
|
@@ -5762,10 +5741,28 @@
|
|
|
5762
5741
|
"multiple": false,
|
|
5763
5742
|
"type": "option"
|
|
5764
5743
|
},
|
|
5765
|
-
"
|
|
5744
|
+
"eventtype": {
|
|
5745
|
+
"char": "e",
|
|
5746
|
+
"description": "Type of EventLogFile event to analyze",
|
|
5747
|
+
"name": "eventtype",
|
|
5748
|
+
"default": "ApiTotalUsage",
|
|
5749
|
+
"hasDynamicHelp": false,
|
|
5750
|
+
"multiple": false,
|
|
5751
|
+
"type": "option"
|
|
5752
|
+
},
|
|
5753
|
+
"limit": {
|
|
5766
5754
|
"char": "l",
|
|
5767
|
-
"description": "
|
|
5768
|
-
"name": "
|
|
5755
|
+
"description": "Number of latest EventLogFile events to analyze",
|
|
5756
|
+
"name": "limit",
|
|
5757
|
+
"default": 999,
|
|
5758
|
+
"hasDynamicHelp": false,
|
|
5759
|
+
"multiple": false,
|
|
5760
|
+
"type": "option"
|
|
5761
|
+
},
|
|
5762
|
+
"outputfile": {
|
|
5763
|
+
"char": "f",
|
|
5764
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
5765
|
+
"name": "outputfile",
|
|
5769
5766
|
"hasDynamicHelp": false,
|
|
5770
5767
|
"multiple": false,
|
|
5771
5768
|
"type": "option"
|
|
@@ -5808,89 +5805,70 @@
|
|
|
5808
5805
|
},
|
|
5809
5806
|
"hasDynamicHelp": true,
|
|
5810
5807
|
"hiddenAliases": [],
|
|
5811
|
-
"id": "hardis:org:
|
|
5808
|
+
"id": "hardis:org:diagnose:legacyapi",
|
|
5812
5809
|
"pluginAlias": "sfdx-hardis",
|
|
5813
5810
|
"pluginName": "sfdx-hardis",
|
|
5814
5811
|
"pluginType": "core",
|
|
5815
5812
|
"strict": true,
|
|
5816
5813
|
"enableJsonFlag": true,
|
|
5817
|
-
"title": "
|
|
5818
|
-
"requiresProject":
|
|
5814
|
+
"title": "Check for legacy API use",
|
|
5815
|
+
"requiresProject": false,
|
|
5819
5816
|
"isESM": true,
|
|
5820
5817
|
"relativePath": [
|
|
5821
5818
|
"lib",
|
|
5822
5819
|
"commands",
|
|
5823
5820
|
"hardis",
|
|
5824
5821
|
"org",
|
|
5825
|
-
"
|
|
5826
|
-
"
|
|
5822
|
+
"diagnose",
|
|
5823
|
+
"legacyapi.js"
|
|
5827
5824
|
],
|
|
5828
5825
|
"aliasPermutations": [],
|
|
5829
5826
|
"permutations": [
|
|
5830
|
-
"hardis:org:
|
|
5831
|
-
"org:hardis:
|
|
5832
|
-
"org:
|
|
5833
|
-
"org:
|
|
5834
|
-
"hardis:
|
|
5835
|
-
"
|
|
5836
|
-
"
|
|
5837
|
-
"
|
|
5838
|
-
"hardis:
|
|
5839
|
-
"
|
|
5840
|
-
"
|
|
5841
|
-
"
|
|
5842
|
-
"hardis:org:
|
|
5843
|
-
"org:hardis:
|
|
5844
|
-
"org:
|
|
5845
|
-
"org:
|
|
5846
|
-
"hardis:
|
|
5847
|
-
"
|
|
5848
|
-
"
|
|
5849
|
-
"
|
|
5850
|
-
"hardis:
|
|
5851
|
-
"
|
|
5852
|
-
"
|
|
5853
|
-
"
|
|
5827
|
+
"hardis:org:diagnose:legacyapi",
|
|
5828
|
+
"org:hardis:diagnose:legacyapi",
|
|
5829
|
+
"org:diagnose:hardis:legacyapi",
|
|
5830
|
+
"org:diagnose:legacyapi:hardis",
|
|
5831
|
+
"hardis:diagnose:org:legacyapi",
|
|
5832
|
+
"diagnose:hardis:org:legacyapi",
|
|
5833
|
+
"diagnose:org:hardis:legacyapi",
|
|
5834
|
+
"diagnose:org:legacyapi:hardis",
|
|
5835
|
+
"hardis:diagnose:legacyapi:org",
|
|
5836
|
+
"diagnose:hardis:legacyapi:org",
|
|
5837
|
+
"diagnose:legacyapi:hardis:org",
|
|
5838
|
+
"diagnose:legacyapi:org:hardis",
|
|
5839
|
+
"hardis:org:legacyapi:diagnose",
|
|
5840
|
+
"org:hardis:legacyapi:diagnose",
|
|
5841
|
+
"org:legacyapi:hardis:diagnose",
|
|
5842
|
+
"org:legacyapi:diagnose:hardis",
|
|
5843
|
+
"hardis:legacyapi:org:diagnose",
|
|
5844
|
+
"legacyapi:hardis:org:diagnose",
|
|
5845
|
+
"legacyapi:org:hardis:diagnose",
|
|
5846
|
+
"legacyapi:org:diagnose:hardis",
|
|
5847
|
+
"hardis:legacyapi:diagnose:org",
|
|
5848
|
+
"legacyapi:hardis:diagnose:org",
|
|
5849
|
+
"legacyapi:diagnose:hardis:org",
|
|
5850
|
+
"legacyapi:diagnose:org:hardis"
|
|
5854
5851
|
]
|
|
5855
5852
|
},
|
|
5856
|
-
"hardis:org:diagnose:
|
|
5853
|
+
"hardis:org:diagnose:licenses": {
|
|
5857
5854
|
"aliases": [],
|
|
5858
5855
|
"args": {},
|
|
5859
|
-
"description": "
|
|
5856
|
+
"description": "Mostly used for monitoring (Grafana) but you can also use it manually :)",
|
|
5860
5857
|
"examples": [
|
|
5861
|
-
"$ sf hardis:org:diagnose:
|
|
5862
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com",
|
|
5863
|
-
"$ sf hardis:org:diagnose:audittrail --excludeusers baptiste@titi.com,bertrand@titi.com",
|
|
5864
|
-
"$ sf hardis:org:diagnose:audittrail --lastndays 5"
|
|
5858
|
+
"$ sf hardis:org:diagnose:licenses"
|
|
5865
5859
|
],
|
|
5866
5860
|
"flags": {
|
|
5867
|
-
"json": {
|
|
5868
|
-
"description": "Format output as json.",
|
|
5869
|
-
"helpGroup": "GLOBAL",
|
|
5870
|
-
"name": "json",
|
|
5871
|
-
"allowNo": false,
|
|
5872
|
-
"type": "boolean"
|
|
5873
|
-
},
|
|
5874
|
-
"flags-dir": {
|
|
5875
|
-
"helpGroup": "GLOBAL",
|
|
5876
|
-
"name": "flags-dir",
|
|
5877
|
-
"summary": "Import flag values from a directory.",
|
|
5878
|
-
"hasDynamicHelp": false,
|
|
5879
|
-
"multiple": false,
|
|
5880
|
-
"type": "option"
|
|
5881
|
-
},
|
|
5882
|
-
"excludeusers": {
|
|
5883
|
-
"char": "e",
|
|
5884
|
-
"description": "Comma-separated list of usernames to exclude",
|
|
5885
|
-
"name": "excludeusers",
|
|
5886
|
-
"hasDynamicHelp": false,
|
|
5887
|
-
"multiple": false,
|
|
5888
|
-
"type": "option"
|
|
5861
|
+
"json": {
|
|
5862
|
+
"description": "Format output as json.",
|
|
5863
|
+
"helpGroup": "GLOBAL",
|
|
5864
|
+
"name": "json",
|
|
5865
|
+
"allowNo": false,
|
|
5866
|
+
"type": "boolean"
|
|
5889
5867
|
},
|
|
5890
|
-
"
|
|
5891
|
-
"
|
|
5892
|
-
"
|
|
5893
|
-
"
|
|
5868
|
+
"flags-dir": {
|
|
5869
|
+
"helpGroup": "GLOBAL",
|
|
5870
|
+
"name": "flags-dir",
|
|
5871
|
+
"summary": "Import flag values from a directory.",
|
|
5894
5872
|
"hasDynamicHelp": false,
|
|
5895
5873
|
"multiple": false,
|
|
5896
5874
|
"type": "option"
|
|
@@ -5903,6 +5881,13 @@
|
|
|
5903
5881
|
"multiple": false,
|
|
5904
5882
|
"type": "option"
|
|
5905
5883
|
},
|
|
5884
|
+
"usedonly": {
|
|
5885
|
+
"char": "u",
|
|
5886
|
+
"description": "Filter to have only used licenses",
|
|
5887
|
+
"name": "usedonly",
|
|
5888
|
+
"allowNo": false,
|
|
5889
|
+
"type": "boolean"
|
|
5890
|
+
},
|
|
5906
5891
|
"debug": {
|
|
5907
5892
|
"char": "d",
|
|
5908
5893
|
"description": "Activate debug mode (more logs)",
|
|
@@ -5941,13 +5926,13 @@
|
|
|
5941
5926
|
},
|
|
5942
5927
|
"hasDynamicHelp": true,
|
|
5943
5928
|
"hiddenAliases": [],
|
|
5944
|
-
"id": "hardis:org:diagnose:
|
|
5929
|
+
"id": "hardis:org:diagnose:licenses",
|
|
5945
5930
|
"pluginAlias": "sfdx-hardis",
|
|
5946
5931
|
"pluginName": "sfdx-hardis",
|
|
5947
5932
|
"pluginType": "core",
|
|
5948
5933
|
"strict": true,
|
|
5949
5934
|
"enableJsonFlag": true,
|
|
5950
|
-
"title": "
|
|
5935
|
+
"title": "List licenses subscribed and used in a Salesforce org",
|
|
5951
5936
|
"requiresProject": false,
|
|
5952
5937
|
"isESM": true,
|
|
5953
5938
|
"relativePath": [
|
|
@@ -5956,42 +5941,42 @@
|
|
|
5956
5941
|
"hardis",
|
|
5957
5942
|
"org",
|
|
5958
5943
|
"diagnose",
|
|
5959
|
-
"
|
|
5944
|
+
"licenses.js"
|
|
5960
5945
|
],
|
|
5961
5946
|
"aliasPermutations": [],
|
|
5962
5947
|
"permutations": [
|
|
5963
|
-
"hardis:org:diagnose:
|
|
5964
|
-
"org:hardis:diagnose:
|
|
5965
|
-
"org:diagnose:hardis:
|
|
5966
|
-
"org:diagnose:
|
|
5967
|
-
"hardis:diagnose:org:
|
|
5968
|
-
"diagnose:hardis:org:
|
|
5969
|
-
"diagnose:org:hardis:
|
|
5970
|
-
"diagnose:org:
|
|
5971
|
-
"hardis:diagnose:
|
|
5972
|
-
"diagnose:hardis:
|
|
5973
|
-
"diagnose:
|
|
5974
|
-
"diagnose:
|
|
5975
|
-
"hardis:org:
|
|
5976
|
-
"org:hardis:
|
|
5977
|
-
"org:
|
|
5978
|
-
"org:
|
|
5979
|
-
"hardis:
|
|
5980
|
-
"
|
|
5981
|
-
"
|
|
5982
|
-
"
|
|
5983
|
-
"hardis:
|
|
5984
|
-
"
|
|
5985
|
-
"
|
|
5986
|
-
"
|
|
5948
|
+
"hardis:org:diagnose:licenses",
|
|
5949
|
+
"org:hardis:diagnose:licenses",
|
|
5950
|
+
"org:diagnose:hardis:licenses",
|
|
5951
|
+
"org:diagnose:licenses:hardis",
|
|
5952
|
+
"hardis:diagnose:org:licenses",
|
|
5953
|
+
"diagnose:hardis:org:licenses",
|
|
5954
|
+
"diagnose:org:hardis:licenses",
|
|
5955
|
+
"diagnose:org:licenses:hardis",
|
|
5956
|
+
"hardis:diagnose:licenses:org",
|
|
5957
|
+
"diagnose:hardis:licenses:org",
|
|
5958
|
+
"diagnose:licenses:hardis:org",
|
|
5959
|
+
"diagnose:licenses:org:hardis",
|
|
5960
|
+
"hardis:org:licenses:diagnose",
|
|
5961
|
+
"org:hardis:licenses:diagnose",
|
|
5962
|
+
"org:licenses:hardis:diagnose",
|
|
5963
|
+
"org:licenses:diagnose:hardis",
|
|
5964
|
+
"hardis:licenses:org:diagnose",
|
|
5965
|
+
"licenses:hardis:org:diagnose",
|
|
5966
|
+
"licenses:org:hardis:diagnose",
|
|
5967
|
+
"licenses:org:diagnose:hardis",
|
|
5968
|
+
"hardis:licenses:diagnose:org",
|
|
5969
|
+
"licenses:hardis:diagnose:org",
|
|
5970
|
+
"licenses:diagnose:hardis:org",
|
|
5971
|
+
"licenses:diagnose:org:hardis"
|
|
5987
5972
|
]
|
|
5988
5973
|
},
|
|
5989
|
-
"hardis:org:diagnose:
|
|
5974
|
+
"hardis:org:diagnose:releaseupdates": {
|
|
5990
5975
|
"aliases": [],
|
|
5991
5976
|
"args": {},
|
|
5992
|
-
"description": "
|
|
5977
|
+
"description": "Export Release Updates into a CSV file with selected criteria, and highlight Release Updates that should be checked.\n\nBefore publishing **Breaking Changes** ❌, Salesforce announce them in the setup menu [**Release Updates**](https://help.salesforce.com/s/articleView?id=sf.release_updates.htm&type=5)\n\n⚠️ Some of them are very important, because if you don't make the related upgrades in time (ex: before Winter 25) , your production org can crash !\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",
|
|
5993
5978
|
"examples": [
|
|
5994
|
-
"$ sf hardis:org:diagnose:
|
|
5979
|
+
"$ sf hardis:org:diagnose:releaseupdates"
|
|
5995
5980
|
],
|
|
5996
5981
|
"flags": {
|
|
5997
5982
|
"json": {
|
|
@@ -6009,6 +5994,14 @@
|
|
|
6009
5994
|
"multiple": false,
|
|
6010
5995
|
"type": "option"
|
|
6011
5996
|
},
|
|
5997
|
+
"outputfile": {
|
|
5998
|
+
"char": "f",
|
|
5999
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
6000
|
+
"name": "outputfile",
|
|
6001
|
+
"hasDynamicHelp": false,
|
|
6002
|
+
"multiple": false,
|
|
6003
|
+
"type": "option"
|
|
6004
|
+
},
|
|
6012
6005
|
"debug": {
|
|
6013
6006
|
"char": "d",
|
|
6014
6007
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6047,13 +6040,13 @@
|
|
|
6047
6040
|
},
|
|
6048
6041
|
"hasDynamicHelp": true,
|
|
6049
6042
|
"hiddenAliases": [],
|
|
6050
|
-
"id": "hardis:org:diagnose:
|
|
6043
|
+
"id": "hardis:org:diagnose:releaseupdates",
|
|
6051
6044
|
"pluginAlias": "sfdx-hardis",
|
|
6052
6045
|
"pluginName": "sfdx-hardis",
|
|
6053
6046
|
"pluginType": "core",
|
|
6054
6047
|
"strict": true,
|
|
6055
6048
|
"enableJsonFlag": true,
|
|
6056
|
-
"title": "
|
|
6049
|
+
"title": "Check Release Updates of an org",
|
|
6057
6050
|
"requiresProject": false,
|
|
6058
6051
|
"isESM": true,
|
|
6059
6052
|
"relativePath": [
|
|
@@ -6062,45 +6055,43 @@
|
|
|
6062
6055
|
"hardis",
|
|
6063
6056
|
"org",
|
|
6064
6057
|
"diagnose",
|
|
6065
|
-
"
|
|
6058
|
+
"releaseupdates.js"
|
|
6066
6059
|
],
|
|
6067
6060
|
"aliasPermutations": [],
|
|
6068
6061
|
"permutations": [
|
|
6069
|
-
"hardis:org:diagnose:
|
|
6070
|
-
"org:hardis:diagnose:
|
|
6071
|
-
"org:diagnose:hardis:
|
|
6072
|
-
"org:diagnose:
|
|
6073
|
-
"hardis:diagnose:org:
|
|
6074
|
-
"diagnose:hardis:org:
|
|
6075
|
-
"diagnose:org:hardis:
|
|
6076
|
-
"diagnose:org:
|
|
6077
|
-
"hardis:diagnose:
|
|
6078
|
-
"diagnose:hardis:
|
|
6079
|
-
"diagnose:
|
|
6080
|
-
"diagnose:
|
|
6081
|
-
"hardis:org:
|
|
6082
|
-
"org:hardis:
|
|
6083
|
-
"org:
|
|
6084
|
-
"org:
|
|
6085
|
-
"hardis:
|
|
6086
|
-
"
|
|
6087
|
-
"
|
|
6088
|
-
"
|
|
6089
|
-
"hardis:
|
|
6090
|
-
"
|
|
6091
|
-
"
|
|
6092
|
-
"
|
|
6062
|
+
"hardis:org:diagnose:releaseupdates",
|
|
6063
|
+
"org:hardis:diagnose:releaseupdates",
|
|
6064
|
+
"org:diagnose:hardis:releaseupdates",
|
|
6065
|
+
"org:diagnose:releaseupdates:hardis",
|
|
6066
|
+
"hardis:diagnose:org:releaseupdates",
|
|
6067
|
+
"diagnose:hardis:org:releaseupdates",
|
|
6068
|
+
"diagnose:org:hardis:releaseupdates",
|
|
6069
|
+
"diagnose:org:releaseupdates:hardis",
|
|
6070
|
+
"hardis:diagnose:releaseupdates:org",
|
|
6071
|
+
"diagnose:hardis:releaseupdates:org",
|
|
6072
|
+
"diagnose:releaseupdates:hardis:org",
|
|
6073
|
+
"diagnose:releaseupdates:org:hardis",
|
|
6074
|
+
"hardis:org:releaseupdates:diagnose",
|
|
6075
|
+
"org:hardis:releaseupdates:diagnose",
|
|
6076
|
+
"org:releaseupdates:hardis:diagnose",
|
|
6077
|
+
"org:releaseupdates:diagnose:hardis",
|
|
6078
|
+
"hardis:releaseupdates:org:diagnose",
|
|
6079
|
+
"releaseupdates:hardis:org:diagnose",
|
|
6080
|
+
"releaseupdates:org:hardis:diagnose",
|
|
6081
|
+
"releaseupdates:org:diagnose:hardis",
|
|
6082
|
+
"hardis:releaseupdates:diagnose:org",
|
|
6083
|
+
"releaseupdates:hardis:diagnose:org",
|
|
6084
|
+
"releaseupdates:diagnose:hardis:org",
|
|
6085
|
+
"releaseupdates:diagnose:org:hardis"
|
|
6093
6086
|
]
|
|
6094
6087
|
},
|
|
6095
|
-
"hardis:org:diagnose:
|
|
6088
|
+
"hardis:org:diagnose:unused-apex-classes": {
|
|
6096
6089
|
"aliases": [],
|
|
6097
6090
|
"args": {},
|
|
6098
|
-
"description": "
|
|
6091
|
+
"description": "List all async Apex classes (Batch,Queueable,Schedulable) that has not been called for more than 365 days.\n \nThe result class list probably can be removed from the project, and that will improve your test classes performances :)\n\nThe number of unused day is overridable using --days option. \n\nThe command uses queries on AsyncApexJob and CronTrigger technical tables to build the result.\n\nApex Classes CreatedBy and CreatedOn fields are calculated from MIN(date from git, date from org)\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-unused-apex-classes/) and can output Grafana, Slack and MsTeams Notifications.\n\n\n",
|
|
6099
6092
|
"examples": [
|
|
6100
|
-
"$ sf hardis:org:diagnose:
|
|
6101
|
-
"$ sf hardis:org:diagnose:
|
|
6102
|
-
"$ sf hardis:org:diagnose:legacyapi --outputfile 'c:/path/to/folder/legacyapi.csv'",
|
|
6103
|
-
"$ sf hardis:org:diagnose:legacyapi -u hardis@myclient.com --outputfile ./tmp/legacyapi.csv"
|
|
6093
|
+
"$ sf hardis:org:diagnose:unused-apex-classes",
|
|
6094
|
+
"$ sf hardis:org:diagnose:unused-apex-classes --days 700"
|
|
6104
6095
|
],
|
|
6105
6096
|
"flags": {
|
|
6106
6097
|
"json": {
|
|
@@ -6118,24 +6109,6 @@
|
|
|
6118
6109
|
"multiple": false,
|
|
6119
6110
|
"type": "option"
|
|
6120
6111
|
},
|
|
6121
|
-
"eventtype": {
|
|
6122
|
-
"char": "e",
|
|
6123
|
-
"description": "Type of EventLogFile event to analyze",
|
|
6124
|
-
"name": "eventtype",
|
|
6125
|
-
"default": "ApiTotalUsage",
|
|
6126
|
-
"hasDynamicHelp": false,
|
|
6127
|
-
"multiple": false,
|
|
6128
|
-
"type": "option"
|
|
6129
|
-
},
|
|
6130
|
-
"limit": {
|
|
6131
|
-
"char": "l",
|
|
6132
|
-
"description": "Number of latest EventLogFile events to analyze",
|
|
6133
|
-
"name": "limit",
|
|
6134
|
-
"default": 999,
|
|
6135
|
-
"hasDynamicHelp": false,
|
|
6136
|
-
"multiple": false,
|
|
6137
|
-
"type": "option"
|
|
6138
|
-
},
|
|
6139
6112
|
"outputfile": {
|
|
6140
6113
|
"char": "f",
|
|
6141
6114
|
"description": "Force the path and name of output report file. Must end with .csv",
|
|
@@ -6144,6 +6117,14 @@
|
|
|
6144
6117
|
"multiple": false,
|
|
6145
6118
|
"type": "option"
|
|
6146
6119
|
},
|
|
6120
|
+
"days": {
|
|
6121
|
+
"char": "t",
|
|
6122
|
+
"description": "Extracts the users that have been inactive for the amount of days specified. In CI, default is 180 days",
|
|
6123
|
+
"name": "days",
|
|
6124
|
+
"hasDynamicHelp": false,
|
|
6125
|
+
"multiple": false,
|
|
6126
|
+
"type": "option"
|
|
6127
|
+
},
|
|
6147
6128
|
"debug": {
|
|
6148
6129
|
"char": "d",
|
|
6149
6130
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6182,13 +6163,13 @@
|
|
|
6182
6163
|
},
|
|
6183
6164
|
"hasDynamicHelp": true,
|
|
6184
6165
|
"hiddenAliases": [],
|
|
6185
|
-
"id": "hardis:org:diagnose:
|
|
6166
|
+
"id": "hardis:org:diagnose:unused-apex-classes",
|
|
6186
6167
|
"pluginAlias": "sfdx-hardis",
|
|
6187
6168
|
"pluginName": "sfdx-hardis",
|
|
6188
6169
|
"pluginType": "core",
|
|
6189
6170
|
"strict": true,
|
|
6190
6171
|
"enableJsonFlag": true,
|
|
6191
|
-
"title": "
|
|
6172
|
+
"title": "Detect unused Apex classes in an org",
|
|
6192
6173
|
"requiresProject": false,
|
|
6193
6174
|
"isESM": true,
|
|
6194
6175
|
"relativePath": [
|
|
@@ -6197,42 +6178,42 @@
|
|
|
6197
6178
|
"hardis",
|
|
6198
6179
|
"org",
|
|
6199
6180
|
"diagnose",
|
|
6200
|
-
"
|
|
6181
|
+
"unused-apex-classes.js"
|
|
6201
6182
|
],
|
|
6202
6183
|
"aliasPermutations": [],
|
|
6203
6184
|
"permutations": [
|
|
6204
|
-
"hardis:org:diagnose:
|
|
6205
|
-
"org:hardis:diagnose:
|
|
6206
|
-
"org:diagnose:hardis:
|
|
6207
|
-
"org:diagnose:
|
|
6208
|
-
"hardis:diagnose:org:
|
|
6209
|
-
"diagnose:hardis:org:
|
|
6210
|
-
"diagnose:org:hardis:
|
|
6211
|
-
"diagnose:org:
|
|
6212
|
-
"hardis:diagnose:
|
|
6213
|
-
"diagnose:hardis:
|
|
6214
|
-
"diagnose:
|
|
6215
|
-
"diagnose:
|
|
6216
|
-
"hardis:org:
|
|
6217
|
-
"org:hardis:
|
|
6218
|
-
"org:
|
|
6219
|
-
"org:
|
|
6220
|
-
"hardis:
|
|
6221
|
-
"
|
|
6222
|
-
"
|
|
6223
|
-
"
|
|
6224
|
-
"hardis:
|
|
6225
|
-
"
|
|
6226
|
-
"
|
|
6227
|
-
"
|
|
6185
|
+
"hardis:org:diagnose:unused-apex-classes",
|
|
6186
|
+
"org:hardis:diagnose:unused-apex-classes",
|
|
6187
|
+
"org:diagnose:hardis:unused-apex-classes",
|
|
6188
|
+
"org:diagnose:unused-apex-classes:hardis",
|
|
6189
|
+
"hardis:diagnose:org:unused-apex-classes",
|
|
6190
|
+
"diagnose:hardis:org:unused-apex-classes",
|
|
6191
|
+
"diagnose:org:hardis:unused-apex-classes",
|
|
6192
|
+
"diagnose:org:unused-apex-classes:hardis",
|
|
6193
|
+
"hardis:diagnose:unused-apex-classes:org",
|
|
6194
|
+
"diagnose:hardis:unused-apex-classes:org",
|
|
6195
|
+
"diagnose:unused-apex-classes:hardis:org",
|
|
6196
|
+
"diagnose:unused-apex-classes:org:hardis",
|
|
6197
|
+
"hardis:org:unused-apex-classes:diagnose",
|
|
6198
|
+
"org:hardis:unused-apex-classes:diagnose",
|
|
6199
|
+
"org:unused-apex-classes:hardis:diagnose",
|
|
6200
|
+
"org:unused-apex-classes:diagnose:hardis",
|
|
6201
|
+
"hardis:unused-apex-classes:org:diagnose",
|
|
6202
|
+
"unused-apex-classes:hardis:org:diagnose",
|
|
6203
|
+
"unused-apex-classes:org:hardis:diagnose",
|
|
6204
|
+
"unused-apex-classes:org:diagnose:hardis",
|
|
6205
|
+
"hardis:unused-apex-classes:diagnose:org",
|
|
6206
|
+
"unused-apex-classes:hardis:diagnose:org",
|
|
6207
|
+
"unused-apex-classes:diagnose:hardis:org",
|
|
6208
|
+
"unused-apex-classes:diagnose:org:hardis"
|
|
6228
6209
|
]
|
|
6229
6210
|
},
|
|
6230
|
-
"hardis:org:diagnose:
|
|
6211
|
+
"hardis:org:diagnose:unused-connected-apps": {
|
|
6231
6212
|
"aliases": [],
|
|
6232
6213
|
"args": {},
|
|
6233
|
-
"description": "
|
|
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",
|
|
6234
6215
|
"examples": [
|
|
6235
|
-
"$ sf hardis:org:diagnose:
|
|
6216
|
+
"$ sf hardis:org:diagnose:unused-connected-apps"
|
|
6236
6217
|
],
|
|
6237
6218
|
"flags": {
|
|
6238
6219
|
"json": {
|
|
@@ -6258,13 +6239,6 @@
|
|
|
6258
6239
|
"multiple": false,
|
|
6259
6240
|
"type": "option"
|
|
6260
6241
|
},
|
|
6261
|
-
"usedonly": {
|
|
6262
|
-
"char": "u",
|
|
6263
|
-
"description": "Filter to have only used licenses",
|
|
6264
|
-
"name": "usedonly",
|
|
6265
|
-
"allowNo": false,
|
|
6266
|
-
"type": "boolean"
|
|
6267
|
-
},
|
|
6268
6242
|
"debug": {
|
|
6269
6243
|
"char": "d",
|
|
6270
6244
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6303,13 +6277,30 @@
|
|
|
6303
6277
|
},
|
|
6304
6278
|
"hasDynamicHelp": true,
|
|
6305
6279
|
"hiddenAliases": [],
|
|
6306
|
-
"id": "hardis:org:diagnose:
|
|
6280
|
+
"id": "hardis:org:diagnose:unused-connected-apps",
|
|
6307
6281
|
"pluginAlias": "sfdx-hardis",
|
|
6308
6282
|
"pluginName": "sfdx-hardis",
|
|
6309
6283
|
"pluginType": "core",
|
|
6310
6284
|
"strict": true,
|
|
6311
6285
|
"enableJsonFlag": true,
|
|
6312
|
-
"title": "
|
|
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
|
+
],
|
|
6313
6304
|
"requiresProject": false,
|
|
6314
6305
|
"isESM": true,
|
|
6315
6306
|
"relativePath": [
|
|
@@ -6318,42 +6309,43 @@
|
|
|
6318
6309
|
"hardis",
|
|
6319
6310
|
"org",
|
|
6320
6311
|
"diagnose",
|
|
6321
|
-
"
|
|
6312
|
+
"unused-connected-apps.js"
|
|
6322
6313
|
],
|
|
6323
6314
|
"aliasPermutations": [],
|
|
6324
6315
|
"permutations": [
|
|
6325
|
-
"hardis:org:diagnose:
|
|
6326
|
-
"org:hardis:diagnose:
|
|
6327
|
-
"org:diagnose:hardis:
|
|
6328
|
-
"org:diagnose:
|
|
6329
|
-
"hardis:diagnose:org:
|
|
6330
|
-
"diagnose:hardis:org:
|
|
6331
|
-
"diagnose:org:hardis:
|
|
6332
|
-
"diagnose:org:
|
|
6333
|
-
"hardis:diagnose:
|
|
6334
|
-
"diagnose:hardis:
|
|
6335
|
-
"diagnose:
|
|
6336
|
-
"diagnose:
|
|
6337
|
-
"hardis:org:
|
|
6338
|
-
"org:hardis:
|
|
6339
|
-
"org:
|
|
6340
|
-
"org:
|
|
6341
|
-
"hardis:
|
|
6342
|
-
"
|
|
6343
|
-
"
|
|
6344
|
-
"
|
|
6345
|
-
"hardis:
|
|
6346
|
-
"
|
|
6347
|
-
"
|
|
6348
|
-
"
|
|
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"
|
|
6349
6340
|
]
|
|
6350
6341
|
},
|
|
6351
|
-
"hardis:org:diagnose:
|
|
6342
|
+
"hardis:org:diagnose:unusedlicenses": {
|
|
6352
6343
|
"aliases": [],
|
|
6353
6344
|
"args": {},
|
|
6354
|
-
"description": "
|
|
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",
|
|
6355
6346
|
"examples": [
|
|
6356
|
-
"$ sf hardis:org:diagnose:
|
|
6347
|
+
"$ sf hardis:org:diagnose:unusedlicenses",
|
|
6348
|
+
"$ sf hardis:org:diagnose:unusedlicenses --fix"
|
|
6357
6349
|
],
|
|
6358
6350
|
"flags": {
|
|
6359
6351
|
"json": {
|
|
@@ -6417,14 +6409,32 @@
|
|
|
6417
6409
|
},
|
|
6418
6410
|
"hasDynamicHelp": true,
|
|
6419
6411
|
"hiddenAliases": [],
|
|
6420
|
-
"id": "hardis:org:diagnose:
|
|
6412
|
+
"id": "hardis:org:diagnose:unusedlicenses",
|
|
6421
6413
|
"pluginAlias": "sfdx-hardis",
|
|
6422
6414
|
"pluginName": "sfdx-hardis",
|
|
6423
6415
|
"pluginType": "core",
|
|
6424
6416
|
"strict": true,
|
|
6425
6417
|
"enableJsonFlag": true,
|
|
6426
|
-
"title": "
|
|
6418
|
+
"title": "Detect unused Permission Set Licenses (beta)",
|
|
6427
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
|
+
],
|
|
6428
6438
|
"isESM": true,
|
|
6429
6439
|
"relativePath": [
|
|
6430
6440
|
"lib",
|
|
@@ -6432,43 +6442,46 @@
|
|
|
6432
6442
|
"hardis",
|
|
6433
6443
|
"org",
|
|
6434
6444
|
"diagnose",
|
|
6435
|
-
"
|
|
6445
|
+
"unusedlicenses.js"
|
|
6436
6446
|
],
|
|
6437
6447
|
"aliasPermutations": [],
|
|
6438
6448
|
"permutations": [
|
|
6439
|
-
"hardis:org:diagnose:
|
|
6440
|
-
"org:hardis:diagnose:
|
|
6441
|
-
"org:diagnose:hardis:
|
|
6442
|
-
"org:diagnose:
|
|
6443
|
-
"hardis:diagnose:org:
|
|
6444
|
-
"diagnose:hardis:org:
|
|
6445
|
-
"diagnose:org:hardis:
|
|
6446
|
-
"diagnose:org:
|
|
6447
|
-
"hardis:diagnose:
|
|
6448
|
-
"diagnose:hardis:
|
|
6449
|
-
"diagnose:
|
|
6450
|
-
"diagnose:
|
|
6451
|
-
"hardis:org:
|
|
6452
|
-
"org:hardis:
|
|
6453
|
-
"org:
|
|
6454
|
-
"org:
|
|
6455
|
-
"hardis:
|
|
6456
|
-
"
|
|
6457
|
-
"
|
|
6458
|
-
"
|
|
6459
|
-
"hardis:
|
|
6460
|
-
"
|
|
6461
|
-
"
|
|
6462
|
-
"
|
|
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"
|
|
6463
6473
|
]
|
|
6464
6474
|
},
|
|
6465
|
-
"hardis:org:diagnose:
|
|
6475
|
+
"hardis:org:diagnose:unusedusers": {
|
|
6466
6476
|
"aliases": [],
|
|
6467
6477
|
"args": {},
|
|
6468
|
-
"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",
|
|
6469
6479
|
"examples": [
|
|
6470
|
-
"$ sf hardis:org:diagnose:
|
|
6471
|
-
"$ 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"
|
|
6472
6485
|
],
|
|
6473
6486
|
"flags": {
|
|
6474
6487
|
"json": {
|
|
@@ -6502,6 +6515,33 @@
|
|
|
6502
6515
|
"multiple": false,
|
|
6503
6516
|
"type": "option"
|
|
6504
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
|
+
},
|
|
6505
6545
|
"debug": {
|
|
6506
6546
|
"char": "d",
|
|
6507
6547
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6540,13 +6580,13 @@
|
|
|
6540
6580
|
},
|
|
6541
6581
|
"hasDynamicHelp": true,
|
|
6542
6582
|
"hiddenAliases": [],
|
|
6543
|
-
"id": "hardis:org:diagnose:
|
|
6583
|
+
"id": "hardis:org:diagnose:unusedusers",
|
|
6544
6584
|
"pluginAlias": "sfdx-hardis",
|
|
6545
6585
|
"pluginName": "sfdx-hardis",
|
|
6546
6586
|
"pluginType": "core",
|
|
6547
6587
|
"strict": true,
|
|
6548
6588
|
"enableJsonFlag": true,
|
|
6549
|
-
"title": "Detect unused
|
|
6589
|
+
"title": "Detect unused Users in Salesforce",
|
|
6550
6590
|
"requiresProject": false,
|
|
6551
6591
|
"isESM": true,
|
|
6552
6592
|
"relativePath": [
|
|
@@ -6555,42 +6595,42 @@
|
|
|
6555
6595
|
"hardis",
|
|
6556
6596
|
"org",
|
|
6557
6597
|
"diagnose",
|
|
6558
|
-
"
|
|
6598
|
+
"unusedusers.js"
|
|
6559
6599
|
],
|
|
6560
6600
|
"aliasPermutations": [],
|
|
6561
6601
|
"permutations": [
|
|
6562
|
-
"hardis:org:diagnose:
|
|
6563
|
-
"org:hardis:diagnose:
|
|
6564
|
-
"org:diagnose:hardis:
|
|
6565
|
-
"org:diagnose:
|
|
6566
|
-
"hardis:diagnose:org:
|
|
6567
|
-
"diagnose:hardis:org:
|
|
6568
|
-
"diagnose:org:hardis:
|
|
6569
|
-
"diagnose:org:
|
|
6570
|
-
"hardis:diagnose:
|
|
6571
|
-
"diagnose:hardis:
|
|
6572
|
-
"diagnose:
|
|
6573
|
-
"diagnose:
|
|
6574
|
-
"hardis:org:
|
|
6575
|
-
"org:hardis:
|
|
6576
|
-
"org:
|
|
6577
|
-
"org:
|
|
6578
|
-
"hardis:
|
|
6579
|
-
"
|
|
6580
|
-
"
|
|
6581
|
-
"
|
|
6582
|
-
"hardis:
|
|
6583
|
-
"
|
|
6584
|
-
"
|
|
6585
|
-
"
|
|
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"
|
|
6586
6626
|
]
|
|
6587
6627
|
},
|
|
6588
|
-
"hardis:org:
|
|
6628
|
+
"hardis:org:files:export": {
|
|
6589
6629
|
"aliases": [],
|
|
6590
6630
|
"args": {},
|
|
6591
|
-
"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",
|
|
6592
6632
|
"examples": [
|
|
6593
|
-
"$ sf hardis:org:
|
|
6633
|
+
"$ sf hardis:org:files:export"
|
|
6594
6634
|
],
|
|
6595
6635
|
"flags": {
|
|
6596
6636
|
"json": {
|
|
@@ -6600,18 +6640,45 @@
|
|
|
6600
6640
|
"allowNo": false,
|
|
6601
6641
|
"type": "boolean"
|
|
6602
6642
|
},
|
|
6603
|
-
"flags-dir": {
|
|
6604
|
-
"helpGroup": "GLOBAL",
|
|
6605
|
-
"name": "flags-dir",
|
|
6606
|
-
"summary": "Import flag values from a directory.",
|
|
6643
|
+
"flags-dir": {
|
|
6644
|
+
"helpGroup": "GLOBAL",
|
|
6645
|
+
"name": "flags-dir",
|
|
6646
|
+
"summary": "Import flag values from a directory.",
|
|
6647
|
+
"hasDynamicHelp": false,
|
|
6648
|
+
"multiple": false,
|
|
6649
|
+
"type": "option"
|
|
6650
|
+
},
|
|
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,
|
|
6607
6673
|
"hasDynamicHelp": false,
|
|
6608
6674
|
"multiple": false,
|
|
6609
6675
|
"type": "option"
|
|
6610
6676
|
},
|
|
6611
|
-
"
|
|
6612
|
-
"char": "
|
|
6613
|
-
"description": "
|
|
6614
|
-
"name": "
|
|
6677
|
+
"startchunknumber": {
|
|
6678
|
+
"char": "s",
|
|
6679
|
+
"description": "Chunk number to start from",
|
|
6680
|
+
"name": "startchunknumber",
|
|
6681
|
+
"default": 0,
|
|
6615
6682
|
"hasDynamicHelp": false,
|
|
6616
6683
|
"multiple": false,
|
|
6617
6684
|
"type": "option"
|
|
@@ -6654,30 +6721,13 @@
|
|
|
6654
6721
|
},
|
|
6655
6722
|
"hasDynamicHelp": true,
|
|
6656
6723
|
"hiddenAliases": [],
|
|
6657
|
-
"id": "hardis:org:
|
|
6724
|
+
"id": "hardis:org:files:export",
|
|
6658
6725
|
"pluginAlias": "sfdx-hardis",
|
|
6659
6726
|
"pluginName": "sfdx-hardis",
|
|
6660
6727
|
"pluginType": "core",
|
|
6661
6728
|
"strict": true,
|
|
6662
6729
|
"enableJsonFlag": true,
|
|
6663
|
-
"title": "
|
|
6664
|
-
"allowedInactiveConnectedApps": [
|
|
6665
|
-
"Ant Migration Tool",
|
|
6666
|
-
"Chatter Desktop",
|
|
6667
|
-
"Chatter Mobile for BlackBerry",
|
|
6668
|
-
"Force.com IDE",
|
|
6669
|
-
"OIQ_Integration",
|
|
6670
|
-
"Salesforce CLI",
|
|
6671
|
-
"Salesforce Files",
|
|
6672
|
-
"Salesforce Mobile Dashboards",
|
|
6673
|
-
"Salesforce Touch",
|
|
6674
|
-
"Salesforce for Outlook",
|
|
6675
|
-
"SalesforceA",
|
|
6676
|
-
"SalesforceA for Android",
|
|
6677
|
-
"SalesforceA for iOS",
|
|
6678
|
-
"SalesforceDX Namespace Registry",
|
|
6679
|
-
"SalesforceIQ"
|
|
6680
|
-
],
|
|
6730
|
+
"title": "Export files",
|
|
6681
6731
|
"requiresProject": false,
|
|
6682
6732
|
"isESM": true,
|
|
6683
6733
|
"relativePath": [
|
|
@@ -6685,44 +6735,43 @@
|
|
|
6685
6735
|
"commands",
|
|
6686
6736
|
"hardis",
|
|
6687
6737
|
"org",
|
|
6688
|
-
"
|
|
6689
|
-
"
|
|
6738
|
+
"files",
|
|
6739
|
+
"export.js"
|
|
6690
6740
|
],
|
|
6691
6741
|
"aliasPermutations": [],
|
|
6692
6742
|
"permutations": [
|
|
6693
|
-
"hardis:org:
|
|
6694
|
-
"org:hardis:
|
|
6695
|
-
"org:
|
|
6696
|
-
"org:
|
|
6697
|
-
"hardis:
|
|
6698
|
-
"
|
|
6699
|
-
"
|
|
6700
|
-
"
|
|
6701
|
-
"hardis:
|
|
6702
|
-
"
|
|
6703
|
-
"
|
|
6704
|
-
"
|
|
6705
|
-
"hardis:org:
|
|
6706
|
-
"org:hardis:
|
|
6707
|
-
"org:
|
|
6708
|
-
"org:
|
|
6709
|
-
"hardis:
|
|
6710
|
-
"
|
|
6711
|
-
"
|
|
6712
|
-
"
|
|
6713
|
-
"hardis:
|
|
6714
|
-
"
|
|
6715
|
-
"
|
|
6716
|
-
"
|
|
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"
|
|
6717
6767
|
]
|
|
6718
6768
|
},
|
|
6719
|
-
"hardis:org:
|
|
6769
|
+
"hardis:org:files:import": {
|
|
6720
6770
|
"aliases": [],
|
|
6721
6771
|
"args": {},
|
|
6722
|
-
"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",
|
|
6723
6773
|
"examples": [
|
|
6724
|
-
"$ sf hardis:org:
|
|
6725
|
-
"$ sf hardis:org:diagnose:unusedlicenses --fix"
|
|
6774
|
+
"$ sf hardis:org:files:import"
|
|
6726
6775
|
],
|
|
6727
6776
|
"flags": {
|
|
6728
6777
|
"json": {
|
|
@@ -6740,14 +6789,21 @@
|
|
|
6740
6789
|
"multiple": false,
|
|
6741
6790
|
"type": "option"
|
|
6742
6791
|
},
|
|
6743
|
-
"
|
|
6744
|
-
"char": "
|
|
6745
|
-
"description": "
|
|
6746
|
-
"name": "
|
|
6792
|
+
"path": {
|
|
6793
|
+
"char": "p",
|
|
6794
|
+
"description": "Path to the file export project",
|
|
6795
|
+
"name": "path",
|
|
6747
6796
|
"hasDynamicHelp": false,
|
|
6748
6797
|
"multiple": false,
|
|
6749
6798
|
"type": "option"
|
|
6750
6799
|
},
|
|
6800
|
+
"overwrite": {
|
|
6801
|
+
"char": "f",
|
|
6802
|
+
"description": "Override existing files (doubles the number of API calls)",
|
|
6803
|
+
"name": "overwrite",
|
|
6804
|
+
"allowNo": false,
|
|
6805
|
+
"type": "boolean"
|
|
6806
|
+
},
|
|
6751
6807
|
"debug": {
|
|
6752
6808
|
"char": "d",
|
|
6753
6809
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6786,79 +6842,58 @@
|
|
|
6786
6842
|
},
|
|
6787
6843
|
"hasDynamicHelp": true,
|
|
6788
6844
|
"hiddenAliases": [],
|
|
6789
|
-
"id": "hardis:org:
|
|
6845
|
+
"id": "hardis:org:files:import",
|
|
6790
6846
|
"pluginAlias": "sfdx-hardis",
|
|
6791
6847
|
"pluginName": "sfdx-hardis",
|
|
6792
6848
|
"pluginType": "core",
|
|
6793
6849
|
"strict": true,
|
|
6794
6850
|
"enableJsonFlag": true,
|
|
6795
|
-
"title": "
|
|
6851
|
+
"title": "Import files",
|
|
6796
6852
|
"requiresProject": false,
|
|
6797
|
-
"additionalPermissionSetsToAlwaysGet": [
|
|
6798
|
-
"Sales_User"
|
|
6799
|
-
],
|
|
6800
|
-
"permSetsPermSetLicenses": [
|
|
6801
|
-
{
|
|
6802
|
-
"permSet": "Sales_User",
|
|
6803
|
-
"permSetLicense": "SalesUserPsl"
|
|
6804
|
-
}
|
|
6805
|
-
],
|
|
6806
|
-
"profilesPermissionSetLicenses": [
|
|
6807
|
-
{
|
|
6808
|
-
"profile": "Salesforce API Only",
|
|
6809
|
-
"permSetLicense": "SalesforceAPIIntegrationPsl"
|
|
6810
|
-
}
|
|
6811
|
-
],
|
|
6812
|
-
"alwaysExcludeForActiveUsersPermissionSetLicenses": [
|
|
6813
|
-
"IdentityConnect"
|
|
6814
|
-
],
|
|
6815
6853
|
"isESM": true,
|
|
6816
6854
|
"relativePath": [
|
|
6817
6855
|
"lib",
|
|
6818
6856
|
"commands",
|
|
6819
6857
|
"hardis",
|
|
6820
6858
|
"org",
|
|
6821
|
-
"
|
|
6822
|
-
"
|
|
6859
|
+
"files",
|
|
6860
|
+
"import.js"
|
|
6823
6861
|
],
|
|
6824
6862
|
"aliasPermutations": [],
|
|
6825
6863
|
"permutations": [
|
|
6826
|
-
"hardis:org:
|
|
6827
|
-
"org:hardis:
|
|
6828
|
-
"org:
|
|
6829
|
-
"org:
|
|
6830
|
-
"hardis:
|
|
6831
|
-
"
|
|
6832
|
-
"
|
|
6833
|
-
"
|
|
6834
|
-
"hardis:
|
|
6835
|
-
"
|
|
6836
|
-
"
|
|
6837
|
-
"
|
|
6838
|
-
"hardis:org:
|
|
6839
|
-
"org:hardis:
|
|
6840
|
-
"org:
|
|
6841
|
-
"org:
|
|
6842
|
-
"hardis:
|
|
6843
|
-
"
|
|
6844
|
-
"
|
|
6845
|
-
"
|
|
6846
|
-
"hardis:
|
|
6847
|
-
"
|
|
6848
|
-
"
|
|
6849
|
-
"
|
|
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"
|
|
6850
6888
|
]
|
|
6851
6889
|
},
|
|
6852
|
-
"hardis:org:
|
|
6890
|
+
"hardis:org:fix:listviewmine": {
|
|
6853
6891
|
"aliases": [],
|
|
6854
6892
|
"args": {},
|
|
6855
|
-
"description": "
|
|
6893
|
+
"description": "Fix listviews whose scope Mine has been replaced by Everything\n\n[](https://nicolas.vuillamy.fr/invalid-scope-mine-not-allowed-deploy-your-listviews-anyway-443aceca8ac7)\n\nList of ListViews can be:\n\n- read from .sfdx-hardis.yml file in property **listViewsToSetToMine**\n- sent in argument listviews\n\nNote: property **listViewsToSetToMine** can be auto-generated by command hardis:work:save if .sfdx-hardis.yml contains the following configuration\n\n```yaml\nautoCleanTypes:\n - listViewsMine\n```\n\n- Example of sfdx-hardis.yml property `listViewsToSetToMine`:\n\n```yaml\nlistViewsToSetToMine:\n - \"force-app/main/default/objects/Operation__c/listViews/MyCurrentOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Operation__c/listViews/MyFinalizedOperations.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/Default_Opportunity_Pipeline.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MyCurrentSubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Opportunity/listViews/MySubscriptions.listView-meta.xml\"\n - \"force-app/main/default/objects/Account/listViews/MyActivePartners.listView-meta.xml\"\n```\n\n- If manually written, this could also be:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to run this command from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n",
|
|
6856
6894
|
"examples": [
|
|
6857
|
-
"$ sf hardis:org:
|
|
6858
|
-
"$ sf hardis:org:
|
|
6859
|
-
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm",
|
|
6860
|
-
"$ sf hardis:org:diagnose:unusedusers --days 60 --licenseidentifiers SFDC,AUL,AUL1",
|
|
6861
|
-
"$ sf hardis:org:diagnose:unusedusers --days 60 --licensetypes all-crm --returnactiveusers"
|
|
6895
|
+
"$ sf hardis:org:fix:listviewmine",
|
|
6896
|
+
"$ sf hardis:org:fix:listviewmine --listviews Opportunity:MySubscriptions,Account:MyActivePartners"
|
|
6862
6897
|
],
|
|
6863
6898
|
"flags": {
|
|
6864
6899
|
"json": {
|
|
@@ -6876,49 +6911,14 @@
|
|
|
6876
6911
|
"multiple": false,
|
|
6877
6912
|
"type": "option"
|
|
6878
6913
|
},
|
|
6879
|
-
"
|
|
6880
|
-
"char": "f",
|
|
6881
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
6882
|
-
"name": "outputfile",
|
|
6883
|
-
"hasDynamicHelp": false,
|
|
6884
|
-
"multiple": false,
|
|
6885
|
-
"type": "option"
|
|
6886
|
-
},
|
|
6887
|
-
"days": {
|
|
6888
|
-
"char": "t",
|
|
6889
|
-
"description": "Extracts the users that have been inactive for the amount of days specified. In CI, default is 180 days",
|
|
6890
|
-
"name": "days",
|
|
6891
|
-
"hasDynamicHelp": false,
|
|
6892
|
-
"multiple": false,
|
|
6893
|
-
"type": "option"
|
|
6894
|
-
},
|
|
6895
|
-
"licensetypes": {
|
|
6914
|
+
"listviews": {
|
|
6896
6915
|
"char": "l",
|
|
6897
|
-
"description": "
|
|
6898
|
-
"name": "
|
|
6899
|
-
"hasDynamicHelp": false,
|
|
6900
|
-
"multiple": false,
|
|
6901
|
-
"options": [
|
|
6902
|
-
"all",
|
|
6903
|
-
"all-crm",
|
|
6904
|
-
"all-paying"
|
|
6905
|
-
],
|
|
6906
|
-
"type": "option"
|
|
6907
|
-
},
|
|
6908
|
-
"licenseidentifiers": {
|
|
6909
|
-
"char": "i",
|
|
6910
|
-
"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",
|
|
6911
|
-
"name": "licenseidentifiers",
|
|
6916
|
+
"description": "Comma-separated list of listviews following format Object:ListViewName\nExample: Contact:MyContacts,Contact:MyActiveContacts,Opportunity:MYClosedOpportunities",
|
|
6917
|
+
"name": "listviews",
|
|
6912
6918
|
"hasDynamicHelp": false,
|
|
6913
6919
|
"multiple": false,
|
|
6914
6920
|
"type": "option"
|
|
6915
6921
|
},
|
|
6916
|
-
"returnactiveusers": {
|
|
6917
|
-
"description": "Inverts the command by returning the active users",
|
|
6918
|
-
"name": "returnactiveusers",
|
|
6919
|
-
"allowNo": false,
|
|
6920
|
-
"type": "boolean"
|
|
6921
|
-
},
|
|
6922
6922
|
"debug": {
|
|
6923
6923
|
"char": "d",
|
|
6924
6924
|
"description": "Activate debug mode (more logs)",
|
|
@@ -6957,49 +6957,49 @@
|
|
|
6957
6957
|
},
|
|
6958
6958
|
"hasDynamicHelp": true,
|
|
6959
6959
|
"hiddenAliases": [],
|
|
6960
|
-
"id": "hardis:org:
|
|
6960
|
+
"id": "hardis:org:fix:listviewmine",
|
|
6961
6961
|
"pluginAlias": "sfdx-hardis",
|
|
6962
6962
|
"pluginName": "sfdx-hardis",
|
|
6963
6963
|
"pluginType": "core",
|
|
6964
6964
|
"strict": true,
|
|
6965
6965
|
"enableJsonFlag": true,
|
|
6966
|
-
"title": "
|
|
6967
|
-
"requiresProject":
|
|
6966
|
+
"title": "Fix listviews with ",
|
|
6967
|
+
"requiresProject": true,
|
|
6968
6968
|
"isESM": true,
|
|
6969
6969
|
"relativePath": [
|
|
6970
6970
|
"lib",
|
|
6971
6971
|
"commands",
|
|
6972
6972
|
"hardis",
|
|
6973
6973
|
"org",
|
|
6974
|
-
"
|
|
6975
|
-
"
|
|
6974
|
+
"fix",
|
|
6975
|
+
"listviewmine.js"
|
|
6976
6976
|
],
|
|
6977
6977
|
"aliasPermutations": [],
|
|
6978
6978
|
"permutations": [
|
|
6979
|
-
"hardis:org:
|
|
6980
|
-
"org:hardis:
|
|
6981
|
-
"org:
|
|
6982
|
-
"org:
|
|
6983
|
-
"hardis:
|
|
6984
|
-
"
|
|
6985
|
-
"
|
|
6986
|
-
"
|
|
6987
|
-
"hardis:
|
|
6988
|
-
"
|
|
6989
|
-
"
|
|
6990
|
-
"
|
|
6991
|
-
"hardis:org:
|
|
6992
|
-
"org:hardis:
|
|
6993
|
-
"org:
|
|
6994
|
-
"org:
|
|
6995
|
-
"hardis:
|
|
6996
|
-
"
|
|
6997
|
-
"
|
|
6998
|
-
"
|
|
6999
|
-
"hardis:
|
|
7000
|
-
"
|
|
7001
|
-
"
|
|
7002
|
-
"
|
|
6979
|
+
"hardis:org:fix:listviewmine",
|
|
6980
|
+
"org:hardis:fix:listviewmine",
|
|
6981
|
+
"org:fix:hardis:listviewmine",
|
|
6982
|
+
"org:fix:listviewmine:hardis",
|
|
6983
|
+
"hardis:fix:org:listviewmine",
|
|
6984
|
+
"fix:hardis:org:listviewmine",
|
|
6985
|
+
"fix:org:hardis:listviewmine",
|
|
6986
|
+
"fix:org:listviewmine:hardis",
|
|
6987
|
+
"hardis:fix:listviewmine:org",
|
|
6988
|
+
"fix:hardis:listviewmine:org",
|
|
6989
|
+
"fix:listviewmine:hardis:org",
|
|
6990
|
+
"fix:listviewmine:org:hardis",
|
|
6991
|
+
"hardis:org:listviewmine:fix",
|
|
6992
|
+
"org:hardis:listviewmine:fix",
|
|
6993
|
+
"org:listviewmine:hardis:fix",
|
|
6994
|
+
"org:listviewmine:fix:hardis",
|
|
6995
|
+
"hardis:listviewmine:org:fix",
|
|
6996
|
+
"listviewmine:hardis:org:fix",
|
|
6997
|
+
"listviewmine:org:hardis:fix",
|
|
6998
|
+
"listviewmine:org:fix:hardis",
|
|
6999
|
+
"hardis:listviewmine:fix:org",
|
|
7000
|
+
"listviewmine:hardis:fix:org",
|
|
7001
|
+
"listviewmine:fix:hardis:org",
|
|
7002
|
+
"listviewmine:fix:org:hardis"
|
|
7003
7003
|
]
|
|
7004
7004
|
},
|
|
7005
7005
|
"hardis:org:generate:packagexmlfull": {
|
|
@@ -9254,6 +9254,238 @@
|
|
|
9254
9254
|
"remotesites:audit:project:hardis"
|
|
9255
9255
|
]
|
|
9256
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
|
+
"hardis:project:convert:profilestopermsets": {
|
|
9387
|
+
"aliases": [],
|
|
9388
|
+
"args": {},
|
|
9389
|
+
"description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
|
|
9390
|
+
"examples": [
|
|
9391
|
+
"$ sf hardis:project:convert:profilestopermsets"
|
|
9392
|
+
],
|
|
9393
|
+
"flags": {
|
|
9394
|
+
"json": {
|
|
9395
|
+
"description": "Format output as json.",
|
|
9396
|
+
"helpGroup": "GLOBAL",
|
|
9397
|
+
"name": "json",
|
|
9398
|
+
"allowNo": false,
|
|
9399
|
+
"type": "boolean"
|
|
9400
|
+
},
|
|
9401
|
+
"flags-dir": {
|
|
9402
|
+
"helpGroup": "GLOBAL",
|
|
9403
|
+
"name": "flags-dir",
|
|
9404
|
+
"summary": "Import flag values from a directory.",
|
|
9405
|
+
"hasDynamicHelp": false,
|
|
9406
|
+
"multiple": false,
|
|
9407
|
+
"type": "option"
|
|
9408
|
+
},
|
|
9409
|
+
"except": {
|
|
9410
|
+
"char": "e",
|
|
9411
|
+
"description": "List of filters",
|
|
9412
|
+
"name": "except",
|
|
9413
|
+
"default": [],
|
|
9414
|
+
"hasDynamicHelp": false,
|
|
9415
|
+
"multiple": true,
|
|
9416
|
+
"type": "option"
|
|
9417
|
+
},
|
|
9418
|
+
"debug": {
|
|
9419
|
+
"char": "d",
|
|
9420
|
+
"description": "Activate debug mode (more logs)",
|
|
9421
|
+
"name": "debug",
|
|
9422
|
+
"allowNo": false,
|
|
9423
|
+
"type": "boolean"
|
|
9424
|
+
},
|
|
9425
|
+
"websocket": {
|
|
9426
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
9427
|
+
"name": "websocket",
|
|
9428
|
+
"hasDynamicHelp": false,
|
|
9429
|
+
"multiple": false,
|
|
9430
|
+
"type": "option"
|
|
9431
|
+
},
|
|
9432
|
+
"skipauth": {
|
|
9433
|
+
"description": "Skip authentication check when a default username is required",
|
|
9434
|
+
"name": "skipauth",
|
|
9435
|
+
"allowNo": false,
|
|
9436
|
+
"type": "boolean"
|
|
9437
|
+
}
|
|
9438
|
+
},
|
|
9439
|
+
"hasDynamicHelp": false,
|
|
9440
|
+
"hiddenAliases": [],
|
|
9441
|
+
"id": "hardis:project:convert:profilestopermsets",
|
|
9442
|
+
"pluginAlias": "sfdx-hardis",
|
|
9443
|
+
"pluginName": "sfdx-hardis",
|
|
9444
|
+
"pluginType": "core",
|
|
9445
|
+
"strict": true,
|
|
9446
|
+
"enableJsonFlag": true,
|
|
9447
|
+
"title": "Convert Profiles into Permission Sets",
|
|
9448
|
+
"requiresProject": true,
|
|
9449
|
+
"requiresSfdxPlugins": [
|
|
9450
|
+
"shane-sfdx-plugins"
|
|
9451
|
+
],
|
|
9452
|
+
"isESM": true,
|
|
9453
|
+
"relativePath": [
|
|
9454
|
+
"lib",
|
|
9455
|
+
"commands",
|
|
9456
|
+
"hardis",
|
|
9457
|
+
"project",
|
|
9458
|
+
"convert",
|
|
9459
|
+
"profilestopermsets.js"
|
|
9460
|
+
],
|
|
9461
|
+
"aliasPermutations": [],
|
|
9462
|
+
"permutations": [
|
|
9463
|
+
"hardis:project:convert:profilestopermsets",
|
|
9464
|
+
"project:hardis:convert:profilestopermsets",
|
|
9465
|
+
"project:convert:hardis:profilestopermsets",
|
|
9466
|
+
"project:convert:profilestopermsets:hardis",
|
|
9467
|
+
"hardis:convert:project:profilestopermsets",
|
|
9468
|
+
"convert:hardis:project:profilestopermsets",
|
|
9469
|
+
"convert:project:hardis:profilestopermsets",
|
|
9470
|
+
"convert:project:profilestopermsets:hardis",
|
|
9471
|
+
"hardis:convert:profilestopermsets:project",
|
|
9472
|
+
"convert:hardis:profilestopermsets:project",
|
|
9473
|
+
"convert:profilestopermsets:hardis:project",
|
|
9474
|
+
"convert:profilestopermsets:project:hardis",
|
|
9475
|
+
"hardis:project:profilestopermsets:convert",
|
|
9476
|
+
"project:hardis:profilestopermsets:convert",
|
|
9477
|
+
"project:profilestopermsets:hardis:convert",
|
|
9478
|
+
"project:profilestopermsets:convert:hardis",
|
|
9479
|
+
"hardis:profilestopermsets:project:convert",
|
|
9480
|
+
"profilestopermsets:hardis:project:convert",
|
|
9481
|
+
"profilestopermsets:project:hardis:convert",
|
|
9482
|
+
"profilestopermsets:project:convert:hardis",
|
|
9483
|
+
"hardis:profilestopermsets:convert:project",
|
|
9484
|
+
"profilestopermsets:hardis:convert:project",
|
|
9485
|
+
"profilestopermsets:convert:hardis:project",
|
|
9486
|
+
"profilestopermsets:convert:project:hardis"
|
|
9487
|
+
]
|
|
9488
|
+
},
|
|
9257
9489
|
"hardis:project:clean:emptyitems": {
|
|
9258
9490
|
"aliases": [],
|
|
9259
9491
|
"args": {},
|
|
@@ -10739,238 +10971,6 @@
|
|
|
10739
10971
|
"xml:clean:project:hardis"
|
|
10740
10972
|
]
|
|
10741
10973
|
},
|
|
10742
|
-
"hardis:project:convert:profilestopermsets": {
|
|
10743
|
-
"aliases": [],
|
|
10744
|
-
"args": {},
|
|
10745
|
-
"description": "Creates permission sets from existing profiles, with id PS_PROFILENAME",
|
|
10746
|
-
"examples": [
|
|
10747
|
-
"$ sf hardis:project:convert:profilestopermsets"
|
|
10748
|
-
],
|
|
10749
|
-
"flags": {
|
|
10750
|
-
"json": {
|
|
10751
|
-
"description": "Format output as json.",
|
|
10752
|
-
"helpGroup": "GLOBAL",
|
|
10753
|
-
"name": "json",
|
|
10754
|
-
"allowNo": false,
|
|
10755
|
-
"type": "boolean"
|
|
10756
|
-
},
|
|
10757
|
-
"flags-dir": {
|
|
10758
|
-
"helpGroup": "GLOBAL",
|
|
10759
|
-
"name": "flags-dir",
|
|
10760
|
-
"summary": "Import flag values from a directory.",
|
|
10761
|
-
"hasDynamicHelp": false,
|
|
10762
|
-
"multiple": false,
|
|
10763
|
-
"type": "option"
|
|
10764
|
-
},
|
|
10765
|
-
"except": {
|
|
10766
|
-
"char": "e",
|
|
10767
|
-
"description": "List of filters",
|
|
10768
|
-
"name": "except",
|
|
10769
|
-
"default": [],
|
|
10770
|
-
"hasDynamicHelp": false,
|
|
10771
|
-
"multiple": true,
|
|
10772
|
-
"type": "option"
|
|
10773
|
-
},
|
|
10774
|
-
"debug": {
|
|
10775
|
-
"char": "d",
|
|
10776
|
-
"description": "Activate debug mode (more logs)",
|
|
10777
|
-
"name": "debug",
|
|
10778
|
-
"allowNo": false,
|
|
10779
|
-
"type": "boolean"
|
|
10780
|
-
},
|
|
10781
|
-
"websocket": {
|
|
10782
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
10783
|
-
"name": "websocket",
|
|
10784
|
-
"hasDynamicHelp": false,
|
|
10785
|
-
"multiple": false,
|
|
10786
|
-
"type": "option"
|
|
10787
|
-
},
|
|
10788
|
-
"skipauth": {
|
|
10789
|
-
"description": "Skip authentication check when a default username is required",
|
|
10790
|
-
"name": "skipauth",
|
|
10791
|
-
"allowNo": false,
|
|
10792
|
-
"type": "boolean"
|
|
10793
|
-
}
|
|
10794
|
-
},
|
|
10795
|
-
"hasDynamicHelp": false,
|
|
10796
|
-
"hiddenAliases": [],
|
|
10797
|
-
"id": "hardis:project:convert:profilestopermsets",
|
|
10798
|
-
"pluginAlias": "sfdx-hardis",
|
|
10799
|
-
"pluginName": "sfdx-hardis",
|
|
10800
|
-
"pluginType": "core",
|
|
10801
|
-
"strict": true,
|
|
10802
|
-
"enableJsonFlag": true,
|
|
10803
|
-
"title": "Convert Profiles into Permission Sets",
|
|
10804
|
-
"requiresProject": true,
|
|
10805
|
-
"requiresSfdxPlugins": [
|
|
10806
|
-
"shane-sfdx-plugins"
|
|
10807
|
-
],
|
|
10808
|
-
"isESM": true,
|
|
10809
|
-
"relativePath": [
|
|
10810
|
-
"lib",
|
|
10811
|
-
"commands",
|
|
10812
|
-
"hardis",
|
|
10813
|
-
"project",
|
|
10814
|
-
"convert",
|
|
10815
|
-
"profilestopermsets.js"
|
|
10816
|
-
],
|
|
10817
|
-
"aliasPermutations": [],
|
|
10818
|
-
"permutations": [
|
|
10819
|
-
"hardis:project:convert:profilestopermsets",
|
|
10820
|
-
"project:hardis:convert:profilestopermsets",
|
|
10821
|
-
"project:convert:hardis:profilestopermsets",
|
|
10822
|
-
"project:convert:profilestopermsets:hardis",
|
|
10823
|
-
"hardis:convert:project:profilestopermsets",
|
|
10824
|
-
"convert:hardis:project:profilestopermsets",
|
|
10825
|
-
"convert:project:hardis:profilestopermsets",
|
|
10826
|
-
"convert:project:profilestopermsets:hardis",
|
|
10827
|
-
"hardis:convert:profilestopermsets:project",
|
|
10828
|
-
"convert:hardis:profilestopermsets:project",
|
|
10829
|
-
"convert:profilestopermsets:hardis:project",
|
|
10830
|
-
"convert:profilestopermsets:project:hardis",
|
|
10831
|
-
"hardis:project:profilestopermsets:convert",
|
|
10832
|
-
"project:hardis:profilestopermsets:convert",
|
|
10833
|
-
"project:profilestopermsets:hardis:convert",
|
|
10834
|
-
"project:profilestopermsets:convert:hardis",
|
|
10835
|
-
"hardis:profilestopermsets:project:convert",
|
|
10836
|
-
"profilestopermsets:hardis:project:convert",
|
|
10837
|
-
"profilestopermsets:project:hardis:convert",
|
|
10838
|
-
"profilestopermsets:project:convert:hardis",
|
|
10839
|
-
"hardis:profilestopermsets:convert:project",
|
|
10840
|
-
"profilestopermsets:hardis:convert:project",
|
|
10841
|
-
"profilestopermsets:convert:hardis:project",
|
|
10842
|
-
"profilestopermsets:convert:project:hardis"
|
|
10843
|
-
]
|
|
10844
|
-
},
|
|
10845
|
-
"hardis:project:configure:auth": {
|
|
10846
|
-
"aliases": [],
|
|
10847
|
-
"args": {},
|
|
10848
|
-
"description": "Configure authentication from git branch to target org",
|
|
10849
|
-
"examples": [
|
|
10850
|
-
"$ sf hardis:project:configure:auth"
|
|
10851
|
-
],
|
|
10852
|
-
"flags": {
|
|
10853
|
-
"json": {
|
|
10854
|
-
"description": "Format output as json.",
|
|
10855
|
-
"helpGroup": "GLOBAL",
|
|
10856
|
-
"name": "json",
|
|
10857
|
-
"allowNo": false,
|
|
10858
|
-
"type": "boolean"
|
|
10859
|
-
},
|
|
10860
|
-
"flags-dir": {
|
|
10861
|
-
"helpGroup": "GLOBAL",
|
|
10862
|
-
"name": "flags-dir",
|
|
10863
|
-
"summary": "Import flag values from a directory.",
|
|
10864
|
-
"hasDynamicHelp": false,
|
|
10865
|
-
"multiple": false,
|
|
10866
|
-
"type": "option"
|
|
10867
|
-
},
|
|
10868
|
-
"devhub": {
|
|
10869
|
-
"char": "b",
|
|
10870
|
-
"description": "Configure project DevHub",
|
|
10871
|
-
"name": "devhub",
|
|
10872
|
-
"allowNo": false,
|
|
10873
|
-
"type": "boolean"
|
|
10874
|
-
},
|
|
10875
|
-
"debug": {
|
|
10876
|
-
"char": "d",
|
|
10877
|
-
"description": "Activate debug mode (more logs)",
|
|
10878
|
-
"name": "debug",
|
|
10879
|
-
"allowNo": false,
|
|
10880
|
-
"type": "boolean"
|
|
10881
|
-
},
|
|
10882
|
-
"websocket": {
|
|
10883
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
10884
|
-
"name": "websocket",
|
|
10885
|
-
"hasDynamicHelp": false,
|
|
10886
|
-
"multiple": false,
|
|
10887
|
-
"type": "option"
|
|
10888
|
-
},
|
|
10889
|
-
"skipauth": {
|
|
10890
|
-
"description": "Skip authentication check when a default username is required",
|
|
10891
|
-
"name": "skipauth",
|
|
10892
|
-
"allowNo": false,
|
|
10893
|
-
"type": "boolean"
|
|
10894
|
-
},
|
|
10895
|
-
"target-org": {
|
|
10896
|
-
"aliases": [
|
|
10897
|
-
"targetusername",
|
|
10898
|
-
"u"
|
|
10899
|
-
],
|
|
10900
|
-
"char": "o",
|
|
10901
|
-
"deprecateAliases": true,
|
|
10902
|
-
"name": "target-org",
|
|
10903
|
-
"noCacheDefault": true,
|
|
10904
|
-
"summary": "Username or alias of the target org.",
|
|
10905
|
-
"hasDynamicHelp": true,
|
|
10906
|
-
"multiple": false,
|
|
10907
|
-
"type": "option"
|
|
10908
|
-
},
|
|
10909
|
-
"target-dev-hub": {
|
|
10910
|
-
"aliases": [
|
|
10911
|
-
"targetdevhubusername"
|
|
10912
|
-
],
|
|
10913
|
-
"char": "v",
|
|
10914
|
-
"deprecateAliases": true,
|
|
10915
|
-
"name": "target-dev-hub",
|
|
10916
|
-
"noCacheDefault": true,
|
|
10917
|
-
"required": false,
|
|
10918
|
-
"summary": "Username or alias of the Dev Hub org.",
|
|
10919
|
-
"hasDynamicHelp": true,
|
|
10920
|
-
"multiple": false,
|
|
10921
|
-
"type": "option"
|
|
10922
|
-
}
|
|
10923
|
-
},
|
|
10924
|
-
"hasDynamicHelp": true,
|
|
10925
|
-
"hiddenAliases": [],
|
|
10926
|
-
"id": "hardis:project:configure:auth",
|
|
10927
|
-
"pluginAlias": "sfdx-hardis",
|
|
10928
|
-
"pluginName": "sfdx-hardis",
|
|
10929
|
-
"pluginType": "core",
|
|
10930
|
-
"strict": true,
|
|
10931
|
-
"enableJsonFlag": true,
|
|
10932
|
-
"title": "Configure authentication",
|
|
10933
|
-
"requiresProject": false,
|
|
10934
|
-
"requiresDependencies": [
|
|
10935
|
-
"openssl"
|
|
10936
|
-
],
|
|
10937
|
-
"isESM": true,
|
|
10938
|
-
"relativePath": [
|
|
10939
|
-
"lib",
|
|
10940
|
-
"commands",
|
|
10941
|
-
"hardis",
|
|
10942
|
-
"project",
|
|
10943
|
-
"configure",
|
|
10944
|
-
"auth.js"
|
|
10945
|
-
],
|
|
10946
|
-
"aliasPermutations": [],
|
|
10947
|
-
"permutations": [
|
|
10948
|
-
"hardis:project:configure:auth",
|
|
10949
|
-
"project:hardis:configure:auth",
|
|
10950
|
-
"project:configure:hardis:auth",
|
|
10951
|
-
"project:configure:auth:hardis",
|
|
10952
|
-
"hardis:configure:project:auth",
|
|
10953
|
-
"configure:hardis:project:auth",
|
|
10954
|
-
"configure:project:hardis:auth",
|
|
10955
|
-
"configure:project:auth:hardis",
|
|
10956
|
-
"hardis:configure:auth:project",
|
|
10957
|
-
"configure:hardis:auth:project",
|
|
10958
|
-
"configure:auth:hardis:project",
|
|
10959
|
-
"configure:auth:project:hardis",
|
|
10960
|
-
"hardis:project:auth:configure",
|
|
10961
|
-
"project:hardis:auth:configure",
|
|
10962
|
-
"project:auth:hardis:configure",
|
|
10963
|
-
"project:auth:configure:hardis",
|
|
10964
|
-
"hardis:auth:project:configure",
|
|
10965
|
-
"auth:hardis:project:configure",
|
|
10966
|
-
"auth:project:hardis:configure",
|
|
10967
|
-
"auth:project:configure:hardis",
|
|
10968
|
-
"hardis:auth:configure:project",
|
|
10969
|
-
"auth:hardis:configure:project",
|
|
10970
|
-
"auth:configure:hardis:project",
|
|
10971
|
-
"auth:configure:project:hardis"
|
|
10972
|
-
]
|
|
10973
|
-
},
|
|
10974
10974
|
"hardis:project:deploy:notify": {
|
|
10975
10975
|
"aliases": [],
|
|
10976
10976
|
"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
|
}
|