sfdx-hardis 5.25.1 → 5.25.2

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.
@@ -2386,183 +2386,6 @@
2386
2386
  "mergexml:package:hardis"
2387
2387
  ]
2388
2388
  },
2389
- "hardis:packagexml:append": {
2390
- "aliases": [],
2391
- "args": {},
2392
- "description": "Append one or multiple package.xml files into a single one",
2393
- "examples": [
2394
- "$ sf hardis packagexml append -p package1.xml,package2.xml -o package3.xml"
2395
- ],
2396
- "flags": {
2397
- "json": {
2398
- "description": "Format output as json.",
2399
- "helpGroup": "GLOBAL",
2400
- "name": "json",
2401
- "allowNo": false,
2402
- "type": "boolean"
2403
- },
2404
- "flags-dir": {
2405
- "helpGroup": "GLOBAL",
2406
- "name": "flags-dir",
2407
- "summary": "Import flag values from a directory.",
2408
- "hasDynamicHelp": false,
2409
- "multiple": false,
2410
- "type": "option"
2411
- },
2412
- "packagexmls": {
2413
- "char": "p",
2414
- "description": "package.xml files path (separated by commas)",
2415
- "name": "packagexmls",
2416
- "required": true,
2417
- "hasDynamicHelp": false,
2418
- "multiple": false,
2419
- "type": "option"
2420
- },
2421
- "outputfile": {
2422
- "char": "f",
2423
- "description": "package.xml output file",
2424
- "name": "outputfile",
2425
- "required": true,
2426
- "hasDynamicHelp": false,
2427
- "multiple": false,
2428
- "type": "option"
2429
- },
2430
- "debug": {
2431
- "description": "debug",
2432
- "name": "debug",
2433
- "allowNo": false,
2434
- "type": "boolean"
2435
- },
2436
- "websocket": {
2437
- "description": "websocket",
2438
- "name": "websocket",
2439
- "hasDynamicHelp": false,
2440
- "multiple": false,
2441
- "type": "option"
2442
- }
2443
- },
2444
- "hasDynamicHelp": false,
2445
- "hiddenAliases": [],
2446
- "id": "hardis:packagexml:append",
2447
- "pluginAlias": "sfdx-hardis",
2448
- "pluginName": "sfdx-hardis",
2449
- "pluginType": "core",
2450
- "strict": true,
2451
- "enableJsonFlag": true,
2452
- "isESM": true,
2453
- "relativePath": [
2454
- "lib",
2455
- "commands",
2456
- "hardis",
2457
- "packagexml",
2458
- "append.js"
2459
- ],
2460
- "aliasPermutations": [],
2461
- "permutations": [
2462
- "hardis:packagexml:append",
2463
- "packagexml:hardis:append",
2464
- "packagexml:append:hardis",
2465
- "hardis:append:packagexml",
2466
- "append:hardis:packagexml",
2467
- "append:packagexml:hardis"
2468
- ]
2469
- },
2470
- "hardis:packagexml:remove": {
2471
- "aliases": [],
2472
- "args": {},
2473
- "description": "Removes the content of a package.xml file matching another package.xml file",
2474
- "examples": [
2475
- "$ sf hardis packagexml:remove -p package.xml -r destructiveChanges.xml -o my-reduced-package.xml"
2476
- ],
2477
- "flags": {
2478
- "json": {
2479
- "description": "Format output as json.",
2480
- "helpGroup": "GLOBAL",
2481
- "name": "json",
2482
- "allowNo": false,
2483
- "type": "boolean"
2484
- },
2485
- "flags-dir": {
2486
- "helpGroup": "GLOBAL",
2487
- "name": "flags-dir",
2488
- "summary": "Import flag values from a directory.",
2489
- "hasDynamicHelp": false,
2490
- "multiple": false,
2491
- "type": "option"
2492
- },
2493
- "packagexml": {
2494
- "char": "p",
2495
- "description": "package.xml file to reduce",
2496
- "name": "packagexml",
2497
- "hasDynamicHelp": false,
2498
- "multiple": false,
2499
- "type": "option"
2500
- },
2501
- "removepackagexml": {
2502
- "char": "r",
2503
- "description": "package.xml file to use to filter input package.xml",
2504
- "name": "removepackagexml",
2505
- "hasDynamicHelp": false,
2506
- "multiple": false,
2507
- "type": "option"
2508
- },
2509
- "removedonly": {
2510
- "char": "z",
2511
- "description": "Use this flag to generate a package.xml with only removed items",
2512
- "name": "removedonly",
2513
- "allowNo": false,
2514
- "type": "boolean"
2515
- },
2516
- "outputfile": {
2517
- "char": "f",
2518
- "description": "package.xml output file",
2519
- "name": "outputfile",
2520
- "required": true,
2521
- "hasDynamicHelp": false,
2522
- "multiple": false,
2523
- "type": "option"
2524
- },
2525
- "debug": {
2526
- "description": "debug",
2527
- "name": "debug",
2528
- "allowNo": false,
2529
- "type": "boolean"
2530
- },
2531
- "websocket": {
2532
- "description": "websocket",
2533
- "name": "websocket",
2534
- "hasDynamicHelp": false,
2535
- "multiple": false,
2536
- "type": "option"
2537
- }
2538
- },
2539
- "hasDynamicHelp": false,
2540
- "hiddenAliases": [],
2541
- "id": "hardis:packagexml:remove",
2542
- "pluginAlias": "sfdx-hardis",
2543
- "pluginName": "sfdx-hardis",
2544
- "pluginType": "core",
2545
- "strict": true,
2546
- "enableJsonFlag": true,
2547
- "requiresProject": false,
2548
- "isESM": true,
2549
- "relativePath": [
2550
- "lib",
2551
- "commands",
2552
- "hardis",
2553
- "packagexml",
2554
- "remove.js"
2555
- ],
2556
- "aliasPermutations": [],
2557
- "permutations": [
2558
- "hardis:packagexml:remove",
2559
- "packagexml:hardis:remove",
2560
- "packagexml:remove:hardis",
2561
- "hardis:remove:packagexml",
2562
- "remove:hardis:packagexml",
2563
- "remove:packagexml:hardis"
2564
- ]
2565
- },
2566
2389
  "hardis:project:create": {
2567
2390
  "aliases": [],
2568
2391
  "args": {},
@@ -3091,12 +2914,12 @@
3091
2914
  "push:scratch:hardis"
3092
2915
  ]
3093
2916
  },
3094
- "hardis:source:deploy": {
2917
+ "hardis:packagexml:append": {
3095
2918
  "aliases": [],
3096
2919
  "args": {},
3097
- "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[![Assisted solving of Salesforce deployments errors](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-deployment-errors.jpg)](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n### 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",
2920
+ "description": "Append one or multiple package.xml files into a single one",
3098
2921
  "examples": [
3099
- "$ 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"
2922
+ "$ sf hardis packagexml append -p package1.xml,package2.xml -o package3.xml"
3100
2923
  ],
3101
2924
  "flags": {
3102
2925
  "json": {
@@ -3114,77 +2937,254 @@
3114
2937
  "multiple": false,
3115
2938
  "type": "option"
3116
2939
  },
3117
- "checkonly": {
3118
- "char": "c",
3119
- "description": "checkonly",
3120
- "name": "checkonly",
3121
- "allowNo": false,
3122
- "type": "boolean"
3123
- },
3124
- "soapdeploy": {
3125
- "description": "soapDeploy",
3126
- "name": "soapdeploy",
3127
- "allowNo": false,
3128
- "type": "boolean"
3129
- },
3130
- "wait": {
3131
- "char": "w",
3132
- "description": "wait",
3133
- "name": "wait",
3134
- "default": 60,
2940
+ "packagexmls": {
2941
+ "char": "p",
2942
+ "description": "package.xml files path (separated by commas)",
2943
+ "name": "packagexmls",
2944
+ "required": true,
3135
2945
  "hasDynamicHelp": false,
3136
2946
  "multiple": false,
3137
2947
  "type": "option"
3138
2948
  },
3139
- "testlevel": {
3140
- "char": "l",
3141
- "description": "testlevel",
3142
- "name": "testlevel",
3143
- "default": "NoTestRun",
2949
+ "outputfile": {
2950
+ "char": "f",
2951
+ "description": "package.xml output file",
2952
+ "name": "outputfile",
2953
+ "required": true,
3144
2954
  "hasDynamicHelp": false,
3145
2955
  "multiple": false,
3146
- "options": [
3147
- "NoTestRun",
3148
- "RunSpecifiedTests",
3149
- "RunLocalTests",
3150
- "RunAllTestsInOrg"
3151
- ],
3152
- "type": "option"
3153
- },
3154
- "runtests": {
3155
- "char": "r",
3156
- "description": "runTests",
3157
- "name": "runtests",
3158
- "default": [],
3159
- "hasDynamicHelp": false,
3160
- "multiple": true,
3161
2956
  "type": "option"
3162
2957
  },
3163
- "ignoreerrors": {
3164
- "description": "ignoreErrors",
3165
- "name": "ignoreerrors",
3166
- "allowNo": false,
3167
- "type": "boolean"
3168
- },
3169
- "ignorewarnings": {
3170
- "char": "g",
3171
- "description": "ignoreWarnings",
3172
- "name": "ignorewarnings",
2958
+ "debug": {
2959
+ "description": "debug",
2960
+ "name": "debug",
3173
2961
  "allowNo": false,
3174
2962
  "type": "boolean"
3175
2963
  },
3176
- "validateddeployrequestid": {
3177
- "char": "q",
3178
- "description": "validateDeployRequestId",
3179
- "exclusive": [
3180
- "manifest",
3181
- "metadata",
3182
- "sourcepath",
3183
- "checkonly",
3184
- "testlevel",
3185
- "runtests",
3186
- "ignoreerrors",
3187
- "ignorewarnings"
2964
+ "websocket": {
2965
+ "description": "websocket",
2966
+ "name": "websocket",
2967
+ "hasDynamicHelp": false,
2968
+ "multiple": false,
2969
+ "type": "option"
2970
+ }
2971
+ },
2972
+ "hasDynamicHelp": false,
2973
+ "hiddenAliases": [],
2974
+ "id": "hardis:packagexml:append",
2975
+ "pluginAlias": "sfdx-hardis",
2976
+ "pluginName": "sfdx-hardis",
2977
+ "pluginType": "core",
2978
+ "strict": true,
2979
+ "enableJsonFlag": true,
2980
+ "isESM": true,
2981
+ "relativePath": [
2982
+ "lib",
2983
+ "commands",
2984
+ "hardis",
2985
+ "packagexml",
2986
+ "append.js"
2987
+ ],
2988
+ "aliasPermutations": [],
2989
+ "permutations": [
2990
+ "hardis:packagexml:append",
2991
+ "packagexml:hardis:append",
2992
+ "packagexml:append:hardis",
2993
+ "hardis:append:packagexml",
2994
+ "append:hardis:packagexml",
2995
+ "append:packagexml:hardis"
2996
+ ]
2997
+ },
2998
+ "hardis:packagexml:remove": {
2999
+ "aliases": [],
3000
+ "args": {},
3001
+ "description": "Removes the content of a package.xml file matching another package.xml file",
3002
+ "examples": [
3003
+ "$ sf hardis packagexml:remove -p package.xml -r destructiveChanges.xml -o my-reduced-package.xml"
3004
+ ],
3005
+ "flags": {
3006
+ "json": {
3007
+ "description": "Format output as json.",
3008
+ "helpGroup": "GLOBAL",
3009
+ "name": "json",
3010
+ "allowNo": false,
3011
+ "type": "boolean"
3012
+ },
3013
+ "flags-dir": {
3014
+ "helpGroup": "GLOBAL",
3015
+ "name": "flags-dir",
3016
+ "summary": "Import flag values from a directory.",
3017
+ "hasDynamicHelp": false,
3018
+ "multiple": false,
3019
+ "type": "option"
3020
+ },
3021
+ "packagexml": {
3022
+ "char": "p",
3023
+ "description": "package.xml file to reduce",
3024
+ "name": "packagexml",
3025
+ "hasDynamicHelp": false,
3026
+ "multiple": false,
3027
+ "type": "option"
3028
+ },
3029
+ "removepackagexml": {
3030
+ "char": "r",
3031
+ "description": "package.xml file to use to filter input package.xml",
3032
+ "name": "removepackagexml",
3033
+ "hasDynamicHelp": false,
3034
+ "multiple": false,
3035
+ "type": "option"
3036
+ },
3037
+ "removedonly": {
3038
+ "char": "z",
3039
+ "description": "Use this flag to generate a package.xml with only removed items",
3040
+ "name": "removedonly",
3041
+ "allowNo": false,
3042
+ "type": "boolean"
3043
+ },
3044
+ "outputfile": {
3045
+ "char": "f",
3046
+ "description": "package.xml output file",
3047
+ "name": "outputfile",
3048
+ "required": true,
3049
+ "hasDynamicHelp": false,
3050
+ "multiple": false,
3051
+ "type": "option"
3052
+ },
3053
+ "debug": {
3054
+ "description": "debug",
3055
+ "name": "debug",
3056
+ "allowNo": false,
3057
+ "type": "boolean"
3058
+ },
3059
+ "websocket": {
3060
+ "description": "websocket",
3061
+ "name": "websocket",
3062
+ "hasDynamicHelp": false,
3063
+ "multiple": false,
3064
+ "type": "option"
3065
+ }
3066
+ },
3067
+ "hasDynamicHelp": false,
3068
+ "hiddenAliases": [],
3069
+ "id": "hardis:packagexml:remove",
3070
+ "pluginAlias": "sfdx-hardis",
3071
+ "pluginName": "sfdx-hardis",
3072
+ "pluginType": "core",
3073
+ "strict": true,
3074
+ "enableJsonFlag": true,
3075
+ "requiresProject": false,
3076
+ "isESM": true,
3077
+ "relativePath": [
3078
+ "lib",
3079
+ "commands",
3080
+ "hardis",
3081
+ "packagexml",
3082
+ "remove.js"
3083
+ ],
3084
+ "aliasPermutations": [],
3085
+ "permutations": [
3086
+ "hardis:packagexml:remove",
3087
+ "packagexml:hardis:remove",
3088
+ "packagexml:remove:hardis",
3089
+ "hardis:remove:packagexml",
3090
+ "remove:hardis:packagexml",
3091
+ "remove:packagexml:hardis"
3092
+ ]
3093
+ },
3094
+ "hardis:source:deploy": {
3095
+ "aliases": [],
3096
+ "args": {},
3097
+ "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[![Assisted solving of Salesforce deployments errors](https://github.com/hardisgroupcom/sfdx-hardis/raw/main/docs/assets/images/article-deployment-errors.jpg)](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n### 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",
3098
+ "examples": [
3099
+ "$ 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"
3100
+ ],
3101
+ "flags": {
3102
+ "json": {
3103
+ "description": "Format output as json.",
3104
+ "helpGroup": "GLOBAL",
3105
+ "name": "json",
3106
+ "allowNo": false,
3107
+ "type": "boolean"
3108
+ },
3109
+ "flags-dir": {
3110
+ "helpGroup": "GLOBAL",
3111
+ "name": "flags-dir",
3112
+ "summary": "Import flag values from a directory.",
3113
+ "hasDynamicHelp": false,
3114
+ "multiple": false,
3115
+ "type": "option"
3116
+ },
3117
+ "checkonly": {
3118
+ "char": "c",
3119
+ "description": "checkonly",
3120
+ "name": "checkonly",
3121
+ "allowNo": false,
3122
+ "type": "boolean"
3123
+ },
3124
+ "soapdeploy": {
3125
+ "description": "soapDeploy",
3126
+ "name": "soapdeploy",
3127
+ "allowNo": false,
3128
+ "type": "boolean"
3129
+ },
3130
+ "wait": {
3131
+ "char": "w",
3132
+ "description": "wait",
3133
+ "name": "wait",
3134
+ "default": 60,
3135
+ "hasDynamicHelp": false,
3136
+ "multiple": false,
3137
+ "type": "option"
3138
+ },
3139
+ "testlevel": {
3140
+ "char": "l",
3141
+ "description": "testlevel",
3142
+ "name": "testlevel",
3143
+ "default": "NoTestRun",
3144
+ "hasDynamicHelp": false,
3145
+ "multiple": false,
3146
+ "options": [
3147
+ "NoTestRun",
3148
+ "RunSpecifiedTests",
3149
+ "RunLocalTests",
3150
+ "RunAllTestsInOrg"
3151
+ ],
3152
+ "type": "option"
3153
+ },
3154
+ "runtests": {
3155
+ "char": "r",
3156
+ "description": "runTests",
3157
+ "name": "runtests",
3158
+ "default": [],
3159
+ "hasDynamicHelp": false,
3160
+ "multiple": true,
3161
+ "type": "option"
3162
+ },
3163
+ "ignoreerrors": {
3164
+ "description": "ignoreErrors",
3165
+ "name": "ignoreerrors",
3166
+ "allowNo": false,
3167
+ "type": "boolean"
3168
+ },
3169
+ "ignorewarnings": {
3170
+ "char": "g",
3171
+ "description": "ignoreWarnings",
3172
+ "name": "ignorewarnings",
3173
+ "allowNo": false,
3174
+ "type": "boolean"
3175
+ },
3176
+ "validateddeployrequestid": {
3177
+ "char": "q",
3178
+ "description": "validateDeployRequestId",
3179
+ "exclusive": [
3180
+ "manifest",
3181
+ "metadata",
3182
+ "sourcepath",
3183
+ "checkonly",
3184
+ "testlevel",
3185
+ "runtests",
3186
+ "ignoreerrors",
3187
+ "ignorewarnings"
3188
3188
  ],
3189
3189
  "name": "validateddeployrequestid",
3190
3190
  "hasDynamicHelp": false,
@@ -7572,12 +7572,13 @@
7572
7572
  "flow:purge:org:hardis"
7573
7573
  ]
7574
7574
  },
7575
- "hardis:org:test:apex": {
7575
+ "hardis:org:retrieve:packageconfig": {
7576
7576
  "aliases": [],
7577
7577
  "args": {},
7578
- "description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 60 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
7578
+ "description": "Retrieve package configuration from an org",
7579
7579
  "examples": [
7580
- "$ sf hardis:org:test:apex"
7580
+ "$ sf hardis:org:retrieve:packageconfig",
7581
+ "sf hardis:org:retrieve:packageconfig -u myOrg"
7581
7582
  ],
7582
7583
  "flags": {
7583
7584
  "json": {
@@ -7595,21 +7596,6 @@
7595
7596
  "multiple": false,
7596
7597
  "type": "option"
7597
7598
  },
7598
- "testlevel": {
7599
- "char": "l",
7600
- "description": "Level of tests to apply to validate deployment",
7601
- "name": "testlevel",
7602
- "default": "RunLocalTests",
7603
- "hasDynamicHelp": false,
7604
- "multiple": false,
7605
- "options": [
7606
- "NoTestRun",
7607
- "RunSpecifiedTests",
7608
- "RunLocalTests",
7609
- "RunAllTestsInOrg"
7610
- ],
7611
- "type": "option"
7612
- },
7613
7599
  "debug": {
7614
7600
  "char": "d",
7615
7601
  "description": "Activate debug mode (more logs)",
@@ -7648,57 +7634,57 @@
7648
7634
  },
7649
7635
  "hasDynamicHelp": true,
7650
7636
  "hiddenAliases": [],
7651
- "id": "hardis:org:test:apex",
7637
+ "id": "hardis:org:retrieve:packageconfig",
7652
7638
  "pluginAlias": "sfdx-hardis",
7653
7639
  "pluginName": "sfdx-hardis",
7654
7640
  "pluginType": "core",
7655
7641
  "strict": true,
7656
7642
  "enableJsonFlag": true,
7657
- "title": "Run apex tests",
7643
+ "title": "Retrieve package configuration from an org",
7644
+ "requiresProject": false,
7658
7645
  "isESM": true,
7659
7646
  "relativePath": [
7660
7647
  "lib",
7661
7648
  "commands",
7662
7649
  "hardis",
7663
7650
  "org",
7664
- "test",
7665
- "apex.js"
7651
+ "retrieve",
7652
+ "packageconfig.js"
7666
7653
  ],
7667
7654
  "aliasPermutations": [],
7668
7655
  "permutations": [
7669
- "hardis:org:test:apex",
7670
- "org:hardis:test:apex",
7671
- "org:test:hardis:apex",
7672
- "org:test:apex:hardis",
7673
- "hardis:test:org:apex",
7674
- "test:hardis:org:apex",
7675
- "test:org:hardis:apex",
7676
- "test:org:apex:hardis",
7677
- "hardis:test:apex:org",
7678
- "test:hardis:apex:org",
7679
- "test:apex:hardis:org",
7680
- "test:apex:org:hardis",
7681
- "hardis:org:apex:test",
7682
- "org:hardis:apex:test",
7683
- "org:apex:hardis:test",
7684
- "org:apex:test:hardis",
7685
- "hardis:apex:org:test",
7686
- "apex:hardis:org:test",
7687
- "apex:org:hardis:test",
7688
- "apex:org:test:hardis",
7689
- "hardis:apex:test:org",
7690
- "apex:hardis:test:org",
7691
- "apex:test:hardis:org",
7692
- "apex:test:org:hardis"
7656
+ "hardis:org:retrieve:packageconfig",
7657
+ "org:hardis:retrieve:packageconfig",
7658
+ "org:retrieve:hardis:packageconfig",
7659
+ "org:retrieve:packageconfig:hardis",
7660
+ "hardis:retrieve:org:packageconfig",
7661
+ "retrieve:hardis:org:packageconfig",
7662
+ "retrieve:org:hardis:packageconfig",
7663
+ "retrieve:org:packageconfig:hardis",
7664
+ "hardis:retrieve:packageconfig:org",
7665
+ "retrieve:hardis:packageconfig:org",
7666
+ "retrieve:packageconfig:hardis:org",
7667
+ "retrieve:packageconfig:org:hardis",
7668
+ "hardis:org:packageconfig:retrieve",
7669
+ "org:hardis:packageconfig:retrieve",
7670
+ "org:packageconfig:hardis:retrieve",
7671
+ "org:packageconfig:retrieve:hardis",
7672
+ "hardis:packageconfig:org:retrieve",
7673
+ "packageconfig:hardis:org:retrieve",
7674
+ "packageconfig:org:hardis:retrieve",
7675
+ "packageconfig:org:retrieve:hardis",
7676
+ "hardis:packageconfig:retrieve:org",
7677
+ "packageconfig:hardis:retrieve:org",
7678
+ "packageconfig:retrieve:hardis:org",
7679
+ "packageconfig:retrieve:org:hardis"
7693
7680
  ]
7694
7681
  },
7695
- "hardis:org:retrieve:packageconfig": {
7682
+ "hardis:org:test:apex": {
7696
7683
  "aliases": [],
7697
7684
  "args": {},
7698
- "description": "Retrieve package configuration from an org",
7685
+ "description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 60 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
7699
7686
  "examples": [
7700
- "$ sf hardis:org:retrieve:packageconfig",
7701
- "sf hardis:org:retrieve:packageconfig -u myOrg"
7687
+ "$ sf hardis:org:test:apex"
7702
7688
  ],
7703
7689
  "flags": {
7704
7690
  "json": {
@@ -7716,6 +7702,21 @@
7716
7702
  "multiple": false,
7717
7703
  "type": "option"
7718
7704
  },
7705
+ "testlevel": {
7706
+ "char": "l",
7707
+ "description": "Level of tests to apply to validate deployment",
7708
+ "name": "testlevel",
7709
+ "default": "RunLocalTests",
7710
+ "hasDynamicHelp": false,
7711
+ "multiple": false,
7712
+ "options": [
7713
+ "NoTestRun",
7714
+ "RunSpecifiedTests",
7715
+ "RunLocalTests",
7716
+ "RunAllTestsInOrg"
7717
+ ],
7718
+ "type": "option"
7719
+ },
7719
7720
  "debug": {
7720
7721
  "char": "d",
7721
7722
  "description": "Activate debug mode (more logs)",
@@ -7754,49 +7755,48 @@
7754
7755
  },
7755
7756
  "hasDynamicHelp": true,
7756
7757
  "hiddenAliases": [],
7757
- "id": "hardis:org:retrieve:packageconfig",
7758
+ "id": "hardis:org:test:apex",
7758
7759
  "pluginAlias": "sfdx-hardis",
7759
7760
  "pluginName": "sfdx-hardis",
7760
7761
  "pluginType": "core",
7761
7762
  "strict": true,
7762
7763
  "enableJsonFlag": true,
7763
- "title": "Retrieve package configuration from an org",
7764
- "requiresProject": false,
7764
+ "title": "Run apex tests",
7765
7765
  "isESM": true,
7766
7766
  "relativePath": [
7767
7767
  "lib",
7768
7768
  "commands",
7769
7769
  "hardis",
7770
7770
  "org",
7771
- "retrieve",
7772
- "packageconfig.js"
7771
+ "test",
7772
+ "apex.js"
7773
7773
  ],
7774
7774
  "aliasPermutations": [],
7775
7775
  "permutations": [
7776
- "hardis:org:retrieve:packageconfig",
7777
- "org:hardis:retrieve:packageconfig",
7778
- "org:retrieve:hardis:packageconfig",
7779
- "org:retrieve:packageconfig:hardis",
7780
- "hardis:retrieve:org:packageconfig",
7781
- "retrieve:hardis:org:packageconfig",
7782
- "retrieve:org:hardis:packageconfig",
7783
- "retrieve:org:packageconfig:hardis",
7784
- "hardis:retrieve:packageconfig:org",
7785
- "retrieve:hardis:packageconfig:org",
7786
- "retrieve:packageconfig:hardis:org",
7787
- "retrieve:packageconfig:org:hardis",
7788
- "hardis:org:packageconfig:retrieve",
7789
- "org:hardis:packageconfig:retrieve",
7790
- "org:packageconfig:hardis:retrieve",
7791
- "org:packageconfig:retrieve:hardis",
7792
- "hardis:packageconfig:org:retrieve",
7793
- "packageconfig:hardis:org:retrieve",
7794
- "packageconfig:org:hardis:retrieve",
7795
- "packageconfig:org:retrieve:hardis",
7796
- "hardis:packageconfig:retrieve:org",
7797
- "packageconfig:hardis:retrieve:org",
7798
- "packageconfig:retrieve:hardis:org",
7799
- "packageconfig:retrieve:org:hardis"
7776
+ "hardis:org:test:apex",
7777
+ "org:hardis:test:apex",
7778
+ "org:test:hardis:apex",
7779
+ "org:test:apex:hardis",
7780
+ "hardis:test:org:apex",
7781
+ "test:hardis:org:apex",
7782
+ "test:org:hardis:apex",
7783
+ "test:org:apex:hardis",
7784
+ "hardis:test:apex:org",
7785
+ "test:hardis:apex:org",
7786
+ "test:apex:hardis:org",
7787
+ "test:apex:org:hardis",
7788
+ "hardis:org:apex:test",
7789
+ "org:hardis:apex:test",
7790
+ "org:apex:hardis:test",
7791
+ "org:apex:test:hardis",
7792
+ "hardis:apex:org:test",
7793
+ "apex:hardis:org:test",
7794
+ "apex:org:hardis:test",
7795
+ "apex:org:test:hardis",
7796
+ "hardis:apex:test:org",
7797
+ "apex:hardis:test:org",
7798
+ "apex:test:hardis:org",
7799
+ "apex:test:org:hardis"
7800
7800
  ]
7801
7801
  },
7802
7802
  "hardis:org:user:activateinvalid": {
@@ -13068,12 +13068,12 @@
13068
13068
  "view:pool:scratch:hardis"
13069
13069
  ]
13070
13070
  },
13071
- "hardis:org:retrieve:sources:analytics": {
13071
+ "hardis:project:deploy:sources:metadata": {
13072
13072
  "aliases": [],
13073
13073
  "args": {},
13074
- "description": "Retrieve all CRM Analytics sources from an org, with workarounds for SFDX bugs",
13074
+ "description": "Deploy metadatas to source org",
13075
13075
  "examples": [
13076
- "$ sf hardis:org:retrieve:sources:analytics"
13076
+ "$ sf hardis:project:deploy:sources:metadata"
13077
13077
  ],
13078
13078
  "flags": {
13079
13079
  "json": {
@@ -13091,6 +13091,60 @@
13091
13091
  "multiple": false,
13092
13092
  "type": "option"
13093
13093
  },
13094
+ "check": {
13095
+ "char": "c",
13096
+ "description": "Only checks the deployment, there is no impact on target org",
13097
+ "name": "check",
13098
+ "allowNo": false,
13099
+ "type": "boolean"
13100
+ },
13101
+ "deploydir": {
13102
+ "char": "x",
13103
+ "description": "Deploy directory",
13104
+ "name": "deploydir",
13105
+ "default": ".",
13106
+ "hasDynamicHelp": false,
13107
+ "multiple": false,
13108
+ "type": "option"
13109
+ },
13110
+ "packagexml": {
13111
+ "char": "p",
13112
+ "description": "Path to package.xml file to deploy",
13113
+ "name": "packagexml",
13114
+ "hasDynamicHelp": false,
13115
+ "multiple": false,
13116
+ "type": "option"
13117
+ },
13118
+ "filter": {
13119
+ "char": "f",
13120
+ "description": "Filter metadatas before deploying",
13121
+ "name": "filter",
13122
+ "allowNo": false,
13123
+ "type": "boolean"
13124
+ },
13125
+ "destructivepackagexml": {
13126
+ "char": "k",
13127
+ "description": "Path to destructiveChanges.xml file to deploy",
13128
+ "name": "destructivepackagexml",
13129
+ "hasDynamicHelp": false,
13130
+ "multiple": false,
13131
+ "type": "option"
13132
+ },
13133
+ "testlevel": {
13134
+ "char": "l",
13135
+ "description": "Level of tests to apply to validate deployment",
13136
+ "name": "testlevel",
13137
+ "default": "RunLocalTests",
13138
+ "hasDynamicHelp": false,
13139
+ "multiple": false,
13140
+ "options": [
13141
+ "NoTestRun",
13142
+ "RunSpecifiedTests",
13143
+ "RunLocalTests",
13144
+ "RunAllTestsInOrg"
13145
+ ],
13146
+ "type": "option"
13147
+ },
13094
13148
  "debug": {
13095
13149
  "char": "d",
13096
13150
  "description": "Activate debug mode (more logs)",
@@ -13129,154 +13183,157 @@
13129
13183
  },
13130
13184
  "hasDynamicHelp": true,
13131
13185
  "hiddenAliases": [],
13132
- "id": "hardis:org:retrieve:sources:analytics",
13186
+ "id": "hardis:project:deploy:sources:metadata",
13133
13187
  "pluginAlias": "sfdx-hardis",
13134
13188
  "pluginName": "sfdx-hardis",
13135
13189
  "pluginType": "core",
13136
13190
  "strict": true,
13137
13191
  "enableJsonFlag": true,
13138
- "title": "Retrieve CRM Analytics configuration from an org",
13139
- "requiresProject": true,
13192
+ "title": "Deploy metadata sources to org",
13193
+ "requiresProject": false,
13194
+ "requiresSfdxPlugins": [
13195
+ "sfdx-essentials"
13196
+ ],
13140
13197
  "isESM": true,
13141
13198
  "relativePath": [
13142
13199
  "lib",
13143
13200
  "commands",
13144
13201
  "hardis",
13145
- "org",
13146
- "retrieve",
13202
+ "project",
13203
+ "deploy",
13147
13204
  "sources",
13148
- "analytics.js"
13205
+ "metadata.js"
13149
13206
  ],
13150
13207
  "aliasPermutations": [],
13151
13208
  "permutations": [
13152
- "hardis:org:retrieve:sources:analytics",
13153
- "org:hardis:retrieve:sources:analytics",
13154
- "org:retrieve:hardis:sources:analytics",
13155
- "org:retrieve:sources:hardis:analytics",
13156
- "org:retrieve:sources:analytics:hardis",
13157
- "hardis:retrieve:org:sources:analytics",
13158
- "retrieve:hardis:org:sources:analytics",
13159
- "retrieve:org:hardis:sources:analytics",
13160
- "retrieve:org:sources:hardis:analytics",
13161
- "retrieve:org:sources:analytics:hardis",
13162
- "hardis:retrieve:sources:org:analytics",
13163
- "retrieve:hardis:sources:org:analytics",
13164
- "retrieve:sources:hardis:org:analytics",
13165
- "retrieve:sources:org:hardis:analytics",
13166
- "retrieve:sources:org:analytics:hardis",
13167
- "hardis:retrieve:sources:analytics:org",
13168
- "retrieve:hardis:sources:analytics:org",
13169
- "retrieve:sources:hardis:analytics:org",
13170
- "retrieve:sources:analytics:hardis:org",
13171
- "retrieve:sources:analytics:org:hardis",
13172
- "hardis:org:sources:retrieve:analytics",
13173
- "org:hardis:sources:retrieve:analytics",
13174
- "org:sources:hardis:retrieve:analytics",
13175
- "org:sources:retrieve:hardis:analytics",
13176
- "org:sources:retrieve:analytics:hardis",
13177
- "hardis:sources:org:retrieve:analytics",
13178
- "sources:hardis:org:retrieve:analytics",
13179
- "sources:org:hardis:retrieve:analytics",
13180
- "sources:org:retrieve:hardis:analytics",
13181
- "sources:org:retrieve:analytics:hardis",
13182
- "hardis:sources:retrieve:org:analytics",
13183
- "sources:hardis:retrieve:org:analytics",
13184
- "sources:retrieve:hardis:org:analytics",
13185
- "sources:retrieve:org:hardis:analytics",
13186
- "sources:retrieve:org:analytics:hardis",
13187
- "hardis:sources:retrieve:analytics:org",
13188
- "sources:hardis:retrieve:analytics:org",
13189
- "sources:retrieve:hardis:analytics:org",
13190
- "sources:retrieve:analytics:hardis:org",
13191
- "sources:retrieve:analytics:org:hardis",
13192
- "hardis:org:sources:analytics:retrieve",
13193
- "org:hardis:sources:analytics:retrieve",
13194
- "org:sources:hardis:analytics:retrieve",
13195
- "org:sources:analytics:hardis:retrieve",
13196
- "org:sources:analytics:retrieve:hardis",
13197
- "hardis:sources:org:analytics:retrieve",
13198
- "sources:hardis:org:analytics:retrieve",
13199
- "sources:org:hardis:analytics:retrieve",
13200
- "sources:org:analytics:hardis:retrieve",
13201
- "sources:org:analytics:retrieve:hardis",
13202
- "hardis:sources:analytics:org:retrieve",
13203
- "sources:hardis:analytics:org:retrieve",
13204
- "sources:analytics:hardis:org:retrieve",
13205
- "sources:analytics:org:hardis:retrieve",
13206
- "sources:analytics:org:retrieve:hardis",
13207
- "hardis:sources:analytics:retrieve:org",
13208
- "sources:hardis:analytics:retrieve:org",
13209
- "sources:analytics:hardis:retrieve:org",
13210
- "sources:analytics:retrieve:hardis:org",
13211
- "sources:analytics:retrieve:org:hardis",
13212
- "hardis:org:retrieve:analytics:sources",
13213
- "org:hardis:retrieve:analytics:sources",
13214
- "org:retrieve:hardis:analytics:sources",
13215
- "org:retrieve:analytics:hardis:sources",
13216
- "org:retrieve:analytics:sources:hardis",
13217
- "hardis:retrieve:org:analytics:sources",
13218
- "retrieve:hardis:org:analytics:sources",
13219
- "retrieve:org:hardis:analytics:sources",
13220
- "retrieve:org:analytics:hardis:sources",
13221
- "retrieve:org:analytics:sources:hardis",
13222
- "hardis:retrieve:analytics:org:sources",
13223
- "retrieve:hardis:analytics:org:sources",
13224
- "retrieve:analytics:hardis:org:sources",
13225
- "retrieve:analytics:org:hardis:sources",
13226
- "retrieve:analytics:org:sources:hardis",
13227
- "hardis:retrieve:analytics:sources:org",
13228
- "retrieve:hardis:analytics:sources:org",
13229
- "retrieve:analytics:hardis:sources:org",
13230
- "retrieve:analytics:sources:hardis:org",
13231
- "retrieve:analytics:sources:org:hardis",
13232
- "hardis:org:analytics:retrieve:sources",
13233
- "org:hardis:analytics:retrieve:sources",
13234
- "org:analytics:hardis:retrieve:sources",
13235
- "org:analytics:retrieve:hardis:sources",
13236
- "org:analytics:retrieve:sources:hardis",
13237
- "hardis:analytics:org:retrieve:sources",
13238
- "analytics:hardis:org:retrieve:sources",
13239
- "analytics:org:hardis:retrieve:sources",
13240
- "analytics:org:retrieve:hardis:sources",
13241
- "analytics:org:retrieve:sources:hardis",
13242
- "hardis:analytics:retrieve:org:sources",
13243
- "analytics:hardis:retrieve:org:sources",
13244
- "analytics:retrieve:hardis:org:sources",
13245
- "analytics:retrieve:org:hardis:sources",
13246
- "analytics:retrieve:org:sources:hardis",
13247
- "hardis:analytics:retrieve:sources:org",
13248
- "analytics:hardis:retrieve:sources:org",
13249
- "analytics:retrieve:hardis:sources:org",
13250
- "analytics:retrieve:sources:hardis:org",
13251
- "analytics:retrieve:sources:org:hardis",
13252
- "hardis:org:analytics:sources:retrieve",
13253
- "org:hardis:analytics:sources:retrieve",
13254
- "org:analytics:hardis:sources:retrieve",
13255
- "org:analytics:sources:hardis:retrieve",
13256
- "org:analytics:sources:retrieve:hardis",
13257
- "hardis:analytics:org:sources:retrieve",
13258
- "analytics:hardis:org:sources:retrieve",
13259
- "analytics:org:hardis:sources:retrieve",
13260
- "analytics:org:sources:hardis:retrieve",
13261
- "analytics:org:sources:retrieve:hardis",
13262
- "hardis:analytics:sources:org:retrieve",
13263
- "analytics:hardis:sources:org:retrieve",
13264
- "analytics:sources:hardis:org:retrieve",
13265
- "analytics:sources:org:hardis:retrieve",
13266
- "analytics:sources:org:retrieve:hardis",
13267
- "hardis:analytics:sources:retrieve:org",
13268
- "analytics:hardis:sources:retrieve:org",
13269
- "analytics:sources:hardis:retrieve:org",
13270
- "analytics:sources:retrieve:hardis:org",
13271
- "analytics:sources:retrieve:org:hardis"
13209
+ "hardis:project:deploy:sources:metadata",
13210
+ "project:hardis:deploy:sources:metadata",
13211
+ "project:deploy:hardis:sources:metadata",
13212
+ "project:deploy:sources:hardis:metadata",
13213
+ "project:deploy:sources:metadata:hardis",
13214
+ "hardis:deploy:project:sources:metadata",
13215
+ "deploy:hardis:project:sources:metadata",
13216
+ "deploy:project:hardis:sources:metadata",
13217
+ "deploy:project:sources:hardis:metadata",
13218
+ "deploy:project:sources:metadata:hardis",
13219
+ "hardis:deploy:sources:project:metadata",
13220
+ "deploy:hardis:sources:project:metadata",
13221
+ "deploy:sources:hardis:project:metadata",
13222
+ "deploy:sources:project:hardis:metadata",
13223
+ "deploy:sources:project:metadata:hardis",
13224
+ "hardis:deploy:sources:metadata:project",
13225
+ "deploy:hardis:sources:metadata:project",
13226
+ "deploy:sources:hardis:metadata:project",
13227
+ "deploy:sources:metadata:hardis:project",
13228
+ "deploy:sources:metadata:project:hardis",
13229
+ "hardis:project:sources:deploy:metadata",
13230
+ "project:hardis:sources:deploy:metadata",
13231
+ "project:sources:hardis:deploy:metadata",
13232
+ "project:sources:deploy:hardis:metadata",
13233
+ "project:sources:deploy:metadata:hardis",
13234
+ "hardis:sources:project:deploy:metadata",
13235
+ "sources:hardis:project:deploy:metadata",
13236
+ "sources:project:hardis:deploy:metadata",
13237
+ "sources:project:deploy:hardis:metadata",
13238
+ "sources:project:deploy:metadata:hardis",
13239
+ "hardis:sources:deploy:project:metadata",
13240
+ "sources:hardis:deploy:project:metadata",
13241
+ "sources:deploy:hardis:project:metadata",
13242
+ "sources:deploy:project:hardis:metadata",
13243
+ "sources:deploy:project:metadata:hardis",
13244
+ "hardis:sources:deploy:metadata:project",
13245
+ "sources:hardis:deploy:metadata:project",
13246
+ "sources:deploy:hardis:metadata:project",
13247
+ "sources:deploy:metadata:hardis:project",
13248
+ "sources:deploy:metadata:project:hardis",
13249
+ "hardis:project:sources:metadata:deploy",
13250
+ "project:hardis:sources:metadata:deploy",
13251
+ "project:sources:hardis:metadata:deploy",
13252
+ "project:sources:metadata:hardis:deploy",
13253
+ "project:sources:metadata:deploy:hardis",
13254
+ "hardis:sources:project:metadata:deploy",
13255
+ "sources:hardis:project:metadata:deploy",
13256
+ "sources:project:hardis:metadata:deploy",
13257
+ "sources:project:metadata:hardis:deploy",
13258
+ "sources:project:metadata:deploy:hardis",
13259
+ "hardis:sources:metadata:project:deploy",
13260
+ "sources:hardis:metadata:project:deploy",
13261
+ "sources:metadata:hardis:project:deploy",
13262
+ "sources:metadata:project:hardis:deploy",
13263
+ "sources:metadata:project:deploy:hardis",
13264
+ "hardis:sources:metadata:deploy:project",
13265
+ "sources:hardis:metadata:deploy:project",
13266
+ "sources:metadata:hardis:deploy:project",
13267
+ "sources:metadata:deploy:hardis:project",
13268
+ "sources:metadata:deploy:project:hardis",
13269
+ "hardis:project:deploy:metadata:sources",
13270
+ "project:hardis:deploy:metadata:sources",
13271
+ "project:deploy:hardis:metadata:sources",
13272
+ "project:deploy:metadata:hardis:sources",
13273
+ "project:deploy:metadata:sources:hardis",
13274
+ "hardis:deploy:project:metadata:sources",
13275
+ "deploy:hardis:project:metadata:sources",
13276
+ "deploy:project:hardis:metadata:sources",
13277
+ "deploy:project:metadata:hardis:sources",
13278
+ "deploy:project:metadata:sources:hardis",
13279
+ "hardis:deploy:metadata:project:sources",
13280
+ "deploy:hardis:metadata:project:sources",
13281
+ "deploy:metadata:hardis:project:sources",
13282
+ "deploy:metadata:project:hardis:sources",
13283
+ "deploy:metadata:project:sources:hardis",
13284
+ "hardis:deploy:metadata:sources:project",
13285
+ "deploy:hardis:metadata:sources:project",
13286
+ "deploy:metadata:hardis:sources:project",
13287
+ "deploy:metadata:sources:hardis:project",
13288
+ "deploy:metadata:sources:project:hardis",
13289
+ "hardis:project:metadata:deploy:sources",
13290
+ "project:hardis:metadata:deploy:sources",
13291
+ "project:metadata:hardis:deploy:sources",
13292
+ "project:metadata:deploy:hardis:sources",
13293
+ "project:metadata:deploy:sources:hardis",
13294
+ "hardis:metadata:project:deploy:sources",
13295
+ "metadata:hardis:project:deploy:sources",
13296
+ "metadata:project:hardis:deploy:sources",
13297
+ "metadata:project:deploy:hardis:sources",
13298
+ "metadata:project:deploy:sources:hardis",
13299
+ "hardis:metadata:deploy:project:sources",
13300
+ "metadata:hardis:deploy:project:sources",
13301
+ "metadata:deploy:hardis:project:sources",
13302
+ "metadata:deploy:project:hardis:sources",
13303
+ "metadata:deploy:project:sources:hardis",
13304
+ "hardis:metadata:deploy:sources:project",
13305
+ "metadata:hardis:deploy:sources:project",
13306
+ "metadata:deploy:hardis:sources:project",
13307
+ "metadata:deploy:sources:hardis:project",
13308
+ "metadata:deploy:sources:project:hardis",
13309
+ "hardis:project:metadata:sources:deploy",
13310
+ "project:hardis:metadata:sources:deploy",
13311
+ "project:metadata:hardis:sources:deploy",
13312
+ "project:metadata:sources:hardis:deploy",
13313
+ "project:metadata:sources:deploy:hardis",
13314
+ "hardis:metadata:project:sources:deploy",
13315
+ "metadata:hardis:project:sources:deploy",
13316
+ "metadata:project:hardis:sources:deploy",
13317
+ "metadata:project:sources:hardis:deploy",
13318
+ "metadata:project:sources:deploy:hardis",
13319
+ "hardis:metadata:sources:project:deploy",
13320
+ "metadata:hardis:sources:project:deploy",
13321
+ "metadata:sources:hardis:project:deploy",
13322
+ "metadata:sources:project:hardis:deploy",
13323
+ "metadata:sources:project:deploy:hardis",
13324
+ "hardis:metadata:sources:deploy:project",
13325
+ "metadata:hardis:sources:deploy:project",
13326
+ "metadata:sources:hardis:deploy:project",
13327
+ "metadata:sources:deploy:hardis:project",
13328
+ "metadata:sources:deploy:project:hardis"
13272
13329
  ]
13273
13330
  },
13274
- "hardis:org:retrieve:sources:dx": {
13331
+ "hardis:org:retrieve:sources:analytics": {
13275
13332
  "aliases": [],
13276
13333
  "args": {},
13277
- "description": "Retrieve Salesforce DX project from org",
13334
+ "description": "Retrieve all CRM Analytics sources from an org, with workarounds for SFDX bugs",
13278
13335
  "examples": [
13279
- "$ sf hardis:org:retrieve:sources:dx"
13336
+ "$ sf hardis:org:retrieve:sources:analytics"
13280
13337
  ],
13281
13338
  "flags": {
13282
13339
  "json": {
@@ -13294,55 +13351,6 @@
13294
13351
  "multiple": false,
13295
13352
  "type": "option"
13296
13353
  },
13297
- "folder": {
13298
- "char": "f",
13299
- "description": "Folder",
13300
- "name": "folder",
13301
- "default": ".",
13302
- "hasDynamicHelp": false,
13303
- "multiple": false,
13304
- "type": "option"
13305
- },
13306
- "tempfolder": {
13307
- "char": "t",
13308
- "description": "Temporary folder",
13309
- "name": "tempfolder",
13310
- "default": "./tmp",
13311
- "hasDynamicHelp": false,
13312
- "multiple": false,
13313
- "type": "option"
13314
- },
13315
- "keepmetadatatypes": {
13316
- "char": "k",
13317
- "description": "Comma separated list of metadatas types that will be the only ones to be retrieved",
13318
- "name": "keepmetadatatypes",
13319
- "hasDynamicHelp": false,
13320
- "multiple": false,
13321
- "type": "option"
13322
- },
13323
- "filteredmetadatas": {
13324
- "char": "m",
13325
- "description": "Comma separated list of Metadatas keys to remove from PackageXml file",
13326
- "name": "filteredmetadatas",
13327
- "hasDynamicHelp": false,
13328
- "multiple": false,
13329
- "type": "option"
13330
- },
13331
- "shape": {
13332
- "char": "s",
13333
- "description": "Updates project-scratch-def.json from org shape",
13334
- "name": "shape",
13335
- "allowNo": false,
13336
- "type": "boolean"
13337
- },
13338
- "instanceurl": {
13339
- "char": "r",
13340
- "description": "URL of org instance",
13341
- "name": "instanceurl",
13342
- "hasDynamicHelp": false,
13343
- "multiple": false,
13344
- "type": "option"
13345
- },
13346
13354
  "debug": {
13347
13355
  "char": "d",
13348
13356
  "description": "Activate debug mode (more logs)",
@@ -13381,14 +13389,14 @@
13381
13389
  },
13382
13390
  "hasDynamicHelp": true,
13383
13391
  "hiddenAliases": [],
13384
- "id": "hardis:org:retrieve:sources:dx",
13392
+ "id": "hardis:org:retrieve:sources:analytics",
13385
13393
  "pluginAlias": "sfdx-hardis",
13386
13394
  "pluginName": "sfdx-hardis",
13387
13395
  "pluginType": "core",
13388
13396
  "strict": true,
13389
13397
  "enableJsonFlag": true,
13390
- "title": "Retrieve sfdx sources from org",
13391
- "requiresProject": false,
13398
+ "title": "Retrieve CRM Analytics configuration from an org",
13399
+ "requiresProject": true,
13392
13400
  "isESM": true,
13393
13401
  "relativePath": [
13394
13402
  "lib",
@@ -13397,138 +13405,138 @@
13397
13405
  "org",
13398
13406
  "retrieve",
13399
13407
  "sources",
13400
- "dx.js"
13408
+ "analytics.js"
13401
13409
  ],
13402
13410
  "aliasPermutations": [],
13403
13411
  "permutations": [
13404
- "hardis:org:retrieve:sources:dx",
13405
- "org:hardis:retrieve:sources:dx",
13406
- "org:retrieve:hardis:sources:dx",
13407
- "org:retrieve:sources:hardis:dx",
13408
- "org:retrieve:sources:dx:hardis",
13409
- "hardis:retrieve:org:sources:dx",
13410
- "retrieve:hardis:org:sources:dx",
13411
- "retrieve:org:hardis:sources:dx",
13412
- "retrieve:org:sources:hardis:dx",
13413
- "retrieve:org:sources:dx:hardis",
13414
- "hardis:retrieve:sources:org:dx",
13415
- "retrieve:hardis:sources:org:dx",
13416
- "retrieve:sources:hardis:org:dx",
13417
- "retrieve:sources:org:hardis:dx",
13418
- "retrieve:sources:org:dx:hardis",
13419
- "hardis:retrieve:sources:dx:org",
13420
- "retrieve:hardis:sources:dx:org",
13421
- "retrieve:sources:hardis:dx:org",
13422
- "retrieve:sources:dx:hardis:org",
13423
- "retrieve:sources:dx:org:hardis",
13424
- "hardis:org:sources:retrieve:dx",
13425
- "org:hardis:sources:retrieve:dx",
13426
- "org:sources:hardis:retrieve:dx",
13427
- "org:sources:retrieve:hardis:dx",
13428
- "org:sources:retrieve:dx:hardis",
13429
- "hardis:sources:org:retrieve:dx",
13430
- "sources:hardis:org:retrieve:dx",
13431
- "sources:org:hardis:retrieve:dx",
13432
- "sources:org:retrieve:hardis:dx",
13433
- "sources:org:retrieve:dx:hardis",
13434
- "hardis:sources:retrieve:org:dx",
13435
- "sources:hardis:retrieve:org:dx",
13436
- "sources:retrieve:hardis:org:dx",
13437
- "sources:retrieve:org:hardis:dx",
13438
- "sources:retrieve:org:dx:hardis",
13439
- "hardis:sources:retrieve:dx:org",
13440
- "sources:hardis:retrieve:dx:org",
13441
- "sources:retrieve:hardis:dx:org",
13442
- "sources:retrieve:dx:hardis:org",
13443
- "sources:retrieve:dx:org:hardis",
13444
- "hardis:org:sources:dx:retrieve",
13445
- "org:hardis:sources:dx:retrieve",
13446
- "org:sources:hardis:dx:retrieve",
13447
- "org:sources:dx:hardis:retrieve",
13448
- "org:sources:dx:retrieve:hardis",
13449
- "hardis:sources:org:dx:retrieve",
13450
- "sources:hardis:org:dx:retrieve",
13451
- "sources:org:hardis:dx:retrieve",
13452
- "sources:org:dx:hardis:retrieve",
13453
- "sources:org:dx:retrieve:hardis",
13454
- "hardis:sources:dx:org:retrieve",
13455
- "sources:hardis:dx:org:retrieve",
13456
- "sources:dx:hardis:org:retrieve",
13457
- "sources:dx:org:hardis:retrieve",
13458
- "sources:dx:org:retrieve:hardis",
13459
- "hardis:sources:dx:retrieve:org",
13460
- "sources:hardis:dx:retrieve:org",
13461
- "sources:dx:hardis:retrieve:org",
13462
- "sources:dx:retrieve:hardis:org",
13463
- "sources:dx:retrieve:org:hardis",
13464
- "hardis:org:retrieve:dx:sources",
13465
- "org:hardis:retrieve:dx:sources",
13466
- "org:retrieve:hardis:dx:sources",
13467
- "org:retrieve:dx:hardis:sources",
13468
- "org:retrieve:dx:sources:hardis",
13469
- "hardis:retrieve:org:dx:sources",
13470
- "retrieve:hardis:org:dx:sources",
13471
- "retrieve:org:hardis:dx:sources",
13472
- "retrieve:org:dx:hardis:sources",
13473
- "retrieve:org:dx:sources:hardis",
13474
- "hardis:retrieve:dx:org:sources",
13475
- "retrieve:hardis:dx:org:sources",
13476
- "retrieve:dx:hardis:org:sources",
13477
- "retrieve:dx:org:hardis:sources",
13478
- "retrieve:dx:org:sources:hardis",
13479
- "hardis:retrieve:dx:sources:org",
13480
- "retrieve:hardis:dx:sources:org",
13481
- "retrieve:dx:hardis:sources:org",
13482
- "retrieve:dx:sources:hardis:org",
13483
- "retrieve:dx:sources:org:hardis",
13484
- "hardis:org:dx:retrieve:sources",
13485
- "org:hardis:dx:retrieve:sources",
13486
- "org:dx:hardis:retrieve:sources",
13487
- "org:dx:retrieve:hardis:sources",
13488
- "org:dx:retrieve:sources:hardis",
13489
- "hardis:dx:org:retrieve:sources",
13490
- "dx:hardis:org:retrieve:sources",
13491
- "dx:org:hardis:retrieve:sources",
13492
- "dx:org:retrieve:hardis:sources",
13493
- "dx:org:retrieve:sources:hardis",
13494
- "hardis:dx:retrieve:org:sources",
13495
- "dx:hardis:retrieve:org:sources",
13496
- "dx:retrieve:hardis:org:sources",
13497
- "dx:retrieve:org:hardis:sources",
13498
- "dx:retrieve:org:sources:hardis",
13499
- "hardis:dx:retrieve:sources:org",
13500
- "dx:hardis:retrieve:sources:org",
13501
- "dx:retrieve:hardis:sources:org",
13502
- "dx:retrieve:sources:hardis:org",
13503
- "dx:retrieve:sources:org:hardis",
13504
- "hardis:org:dx:sources:retrieve",
13505
- "org:hardis:dx:sources:retrieve",
13506
- "org:dx:hardis:sources:retrieve",
13507
- "org:dx:sources:hardis:retrieve",
13508
- "org:dx:sources:retrieve:hardis",
13509
- "hardis:dx:org:sources:retrieve",
13510
- "dx:hardis:org:sources:retrieve",
13511
- "dx:org:hardis:sources:retrieve",
13512
- "dx:org:sources:hardis:retrieve",
13513
- "dx:org:sources:retrieve:hardis",
13514
- "hardis:dx:sources:org:retrieve",
13515
- "dx:hardis:sources:org:retrieve",
13516
- "dx:sources:hardis:org:retrieve",
13517
- "dx:sources:org:hardis:retrieve",
13518
- "dx:sources:org:retrieve:hardis",
13519
- "hardis:dx:sources:retrieve:org",
13520
- "dx:hardis:sources:retrieve:org",
13521
- "dx:sources:hardis:retrieve:org",
13522
- "dx:sources:retrieve:hardis:org",
13523
- "dx:sources:retrieve:org:hardis"
13412
+ "hardis:org:retrieve:sources:analytics",
13413
+ "org:hardis:retrieve:sources:analytics",
13414
+ "org:retrieve:hardis:sources:analytics",
13415
+ "org:retrieve:sources:hardis:analytics",
13416
+ "org:retrieve:sources:analytics:hardis",
13417
+ "hardis:retrieve:org:sources:analytics",
13418
+ "retrieve:hardis:org:sources:analytics",
13419
+ "retrieve:org:hardis:sources:analytics",
13420
+ "retrieve:org:sources:hardis:analytics",
13421
+ "retrieve:org:sources:analytics:hardis",
13422
+ "hardis:retrieve:sources:org:analytics",
13423
+ "retrieve:hardis:sources:org:analytics",
13424
+ "retrieve:sources:hardis:org:analytics",
13425
+ "retrieve:sources:org:hardis:analytics",
13426
+ "retrieve:sources:org:analytics:hardis",
13427
+ "hardis:retrieve:sources:analytics:org",
13428
+ "retrieve:hardis:sources:analytics:org",
13429
+ "retrieve:sources:hardis:analytics:org",
13430
+ "retrieve:sources:analytics:hardis:org",
13431
+ "retrieve:sources:analytics:org:hardis",
13432
+ "hardis:org:sources:retrieve:analytics",
13433
+ "org:hardis:sources:retrieve:analytics",
13434
+ "org:sources:hardis:retrieve:analytics",
13435
+ "org:sources:retrieve:hardis:analytics",
13436
+ "org:sources:retrieve:analytics:hardis",
13437
+ "hardis:sources:org:retrieve:analytics",
13438
+ "sources:hardis:org:retrieve:analytics",
13439
+ "sources:org:hardis:retrieve:analytics",
13440
+ "sources:org:retrieve:hardis:analytics",
13441
+ "sources:org:retrieve:analytics:hardis",
13442
+ "hardis:sources:retrieve:org:analytics",
13443
+ "sources:hardis:retrieve:org:analytics",
13444
+ "sources:retrieve:hardis:org:analytics",
13445
+ "sources:retrieve:org:hardis:analytics",
13446
+ "sources:retrieve:org:analytics:hardis",
13447
+ "hardis:sources:retrieve:analytics:org",
13448
+ "sources:hardis:retrieve:analytics:org",
13449
+ "sources:retrieve:hardis:analytics:org",
13450
+ "sources:retrieve:analytics:hardis:org",
13451
+ "sources:retrieve:analytics:org:hardis",
13452
+ "hardis:org:sources:analytics:retrieve",
13453
+ "org:hardis:sources:analytics:retrieve",
13454
+ "org:sources:hardis:analytics:retrieve",
13455
+ "org:sources:analytics:hardis:retrieve",
13456
+ "org:sources:analytics:retrieve:hardis",
13457
+ "hardis:sources:org:analytics:retrieve",
13458
+ "sources:hardis:org:analytics:retrieve",
13459
+ "sources:org:hardis:analytics:retrieve",
13460
+ "sources:org:analytics:hardis:retrieve",
13461
+ "sources:org:analytics:retrieve:hardis",
13462
+ "hardis:sources:analytics:org:retrieve",
13463
+ "sources:hardis:analytics:org:retrieve",
13464
+ "sources:analytics:hardis:org:retrieve",
13465
+ "sources:analytics:org:hardis:retrieve",
13466
+ "sources:analytics:org:retrieve:hardis",
13467
+ "hardis:sources:analytics:retrieve:org",
13468
+ "sources:hardis:analytics:retrieve:org",
13469
+ "sources:analytics:hardis:retrieve:org",
13470
+ "sources:analytics:retrieve:hardis:org",
13471
+ "sources:analytics:retrieve:org:hardis",
13472
+ "hardis:org:retrieve:analytics:sources",
13473
+ "org:hardis:retrieve:analytics:sources",
13474
+ "org:retrieve:hardis:analytics:sources",
13475
+ "org:retrieve:analytics:hardis:sources",
13476
+ "org:retrieve:analytics:sources:hardis",
13477
+ "hardis:retrieve:org:analytics:sources",
13478
+ "retrieve:hardis:org:analytics:sources",
13479
+ "retrieve:org:hardis:analytics:sources",
13480
+ "retrieve:org:analytics:hardis:sources",
13481
+ "retrieve:org:analytics:sources:hardis",
13482
+ "hardis:retrieve:analytics:org:sources",
13483
+ "retrieve:hardis:analytics:org:sources",
13484
+ "retrieve:analytics:hardis:org:sources",
13485
+ "retrieve:analytics:org:hardis:sources",
13486
+ "retrieve:analytics:org:sources:hardis",
13487
+ "hardis:retrieve:analytics:sources:org",
13488
+ "retrieve:hardis:analytics:sources:org",
13489
+ "retrieve:analytics:hardis:sources:org",
13490
+ "retrieve:analytics:sources:hardis:org",
13491
+ "retrieve:analytics:sources:org:hardis",
13492
+ "hardis:org:analytics:retrieve:sources",
13493
+ "org:hardis:analytics:retrieve:sources",
13494
+ "org:analytics:hardis:retrieve:sources",
13495
+ "org:analytics:retrieve:hardis:sources",
13496
+ "org:analytics:retrieve:sources:hardis",
13497
+ "hardis:analytics:org:retrieve:sources",
13498
+ "analytics:hardis:org:retrieve:sources",
13499
+ "analytics:org:hardis:retrieve:sources",
13500
+ "analytics:org:retrieve:hardis:sources",
13501
+ "analytics:org:retrieve:sources:hardis",
13502
+ "hardis:analytics:retrieve:org:sources",
13503
+ "analytics:hardis:retrieve:org:sources",
13504
+ "analytics:retrieve:hardis:org:sources",
13505
+ "analytics:retrieve:org:hardis:sources",
13506
+ "analytics:retrieve:org:sources:hardis",
13507
+ "hardis:analytics:retrieve:sources:org",
13508
+ "analytics:hardis:retrieve:sources:org",
13509
+ "analytics:retrieve:hardis:sources:org",
13510
+ "analytics:retrieve:sources:hardis:org",
13511
+ "analytics:retrieve:sources:org:hardis",
13512
+ "hardis:org:analytics:sources:retrieve",
13513
+ "org:hardis:analytics:sources:retrieve",
13514
+ "org:analytics:hardis:sources:retrieve",
13515
+ "org:analytics:sources:hardis:retrieve",
13516
+ "org:analytics:sources:retrieve:hardis",
13517
+ "hardis:analytics:org:sources:retrieve",
13518
+ "analytics:hardis:org:sources:retrieve",
13519
+ "analytics:org:hardis:sources:retrieve",
13520
+ "analytics:org:sources:hardis:retrieve",
13521
+ "analytics:org:sources:retrieve:hardis",
13522
+ "hardis:analytics:sources:org:retrieve",
13523
+ "analytics:hardis:sources:org:retrieve",
13524
+ "analytics:sources:hardis:org:retrieve",
13525
+ "analytics:sources:org:hardis:retrieve",
13526
+ "analytics:sources:org:retrieve:hardis",
13527
+ "hardis:analytics:sources:retrieve:org",
13528
+ "analytics:hardis:sources:retrieve:org",
13529
+ "analytics:sources:hardis:retrieve:org",
13530
+ "analytics:sources:retrieve:hardis:org",
13531
+ "analytics:sources:retrieve:org:hardis"
13524
13532
  ]
13525
13533
  },
13526
- "hardis:org:retrieve:sources:dx2": {
13534
+ "hardis:org:retrieve:sources:dx": {
13527
13535
  "aliases": [],
13528
13536
  "args": {},
13529
13537
  "description": "Retrieve Salesforce DX project from org",
13530
13538
  "examples": [
13531
- "$ sf hardis:org:retrieve:sources:dx2"
13539
+ "$ sf hardis:org:retrieve:sources:dx"
13532
13540
  ],
13533
13541
  "flags": {
13534
13542
  "json": {
@@ -13546,26 +13554,278 @@
13546
13554
  "multiple": false,
13547
13555
  "type": "option"
13548
13556
  },
13549
- "packagexml": {
13550
- "char": "x",
13551
- "description": "Path to package.xml file",
13552
- "name": "packagexml",
13557
+ "folder": {
13558
+ "char": "f",
13559
+ "description": "Folder",
13560
+ "name": "folder",
13561
+ "default": ".",
13553
13562
  "hasDynamicHelp": false,
13554
13563
  "multiple": false,
13555
13564
  "type": "option"
13556
13565
  },
13557
- "template": {
13566
+ "tempfolder": {
13558
13567
  "char": "t",
13559
- "description": "sfdx-hardis package.xml Template name. ex: wave",
13560
- "name": "template",
13568
+ "description": "Temporary folder",
13569
+ "name": "tempfolder",
13570
+ "default": "./tmp",
13561
13571
  "hasDynamicHelp": false,
13562
13572
  "multiple": false,
13563
13573
  "type": "option"
13564
13574
  },
13565
- "debug": {
13566
- "char": "d",
13567
- "description": "Activate debug mode (more logs)",
13568
- "name": "debug",
13575
+ "keepmetadatatypes": {
13576
+ "char": "k",
13577
+ "description": "Comma separated list of metadatas types that will be the only ones to be retrieved",
13578
+ "name": "keepmetadatatypes",
13579
+ "hasDynamicHelp": false,
13580
+ "multiple": false,
13581
+ "type": "option"
13582
+ },
13583
+ "filteredmetadatas": {
13584
+ "char": "m",
13585
+ "description": "Comma separated list of Metadatas keys to remove from PackageXml file",
13586
+ "name": "filteredmetadatas",
13587
+ "hasDynamicHelp": false,
13588
+ "multiple": false,
13589
+ "type": "option"
13590
+ },
13591
+ "shape": {
13592
+ "char": "s",
13593
+ "description": "Updates project-scratch-def.json from org shape",
13594
+ "name": "shape",
13595
+ "allowNo": false,
13596
+ "type": "boolean"
13597
+ },
13598
+ "instanceurl": {
13599
+ "char": "r",
13600
+ "description": "URL of org instance",
13601
+ "name": "instanceurl",
13602
+ "hasDynamicHelp": false,
13603
+ "multiple": false,
13604
+ "type": "option"
13605
+ },
13606
+ "debug": {
13607
+ "char": "d",
13608
+ "description": "Activate debug mode (more logs)",
13609
+ "name": "debug",
13610
+ "allowNo": false,
13611
+ "type": "boolean"
13612
+ },
13613
+ "websocket": {
13614
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
13615
+ "name": "websocket",
13616
+ "hasDynamicHelp": false,
13617
+ "multiple": false,
13618
+ "type": "option"
13619
+ },
13620
+ "skipauth": {
13621
+ "description": "Skip authentication check when a default username is required",
13622
+ "name": "skipauth",
13623
+ "allowNo": false,
13624
+ "type": "boolean"
13625
+ },
13626
+ "target-org": {
13627
+ "aliases": [
13628
+ "targetusername",
13629
+ "u"
13630
+ ],
13631
+ "char": "o",
13632
+ "deprecateAliases": true,
13633
+ "name": "target-org",
13634
+ "noCacheDefault": true,
13635
+ "required": true,
13636
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
13637
+ "hasDynamicHelp": true,
13638
+ "multiple": false,
13639
+ "type": "option"
13640
+ }
13641
+ },
13642
+ "hasDynamicHelp": true,
13643
+ "hiddenAliases": [],
13644
+ "id": "hardis:org:retrieve:sources:dx",
13645
+ "pluginAlias": "sfdx-hardis",
13646
+ "pluginName": "sfdx-hardis",
13647
+ "pluginType": "core",
13648
+ "strict": true,
13649
+ "enableJsonFlag": true,
13650
+ "title": "Retrieve sfdx sources from org",
13651
+ "requiresProject": false,
13652
+ "isESM": true,
13653
+ "relativePath": [
13654
+ "lib",
13655
+ "commands",
13656
+ "hardis",
13657
+ "org",
13658
+ "retrieve",
13659
+ "sources",
13660
+ "dx.js"
13661
+ ],
13662
+ "aliasPermutations": [],
13663
+ "permutations": [
13664
+ "hardis:org:retrieve:sources:dx",
13665
+ "org:hardis:retrieve:sources:dx",
13666
+ "org:retrieve:hardis:sources:dx",
13667
+ "org:retrieve:sources:hardis:dx",
13668
+ "org:retrieve:sources:dx:hardis",
13669
+ "hardis:retrieve:org:sources:dx",
13670
+ "retrieve:hardis:org:sources:dx",
13671
+ "retrieve:org:hardis:sources:dx",
13672
+ "retrieve:org:sources:hardis:dx",
13673
+ "retrieve:org:sources:dx:hardis",
13674
+ "hardis:retrieve:sources:org:dx",
13675
+ "retrieve:hardis:sources:org:dx",
13676
+ "retrieve:sources:hardis:org:dx",
13677
+ "retrieve:sources:org:hardis:dx",
13678
+ "retrieve:sources:org:dx:hardis",
13679
+ "hardis:retrieve:sources:dx:org",
13680
+ "retrieve:hardis:sources:dx:org",
13681
+ "retrieve:sources:hardis:dx:org",
13682
+ "retrieve:sources:dx:hardis:org",
13683
+ "retrieve:sources:dx:org:hardis",
13684
+ "hardis:org:sources:retrieve:dx",
13685
+ "org:hardis:sources:retrieve:dx",
13686
+ "org:sources:hardis:retrieve:dx",
13687
+ "org:sources:retrieve:hardis:dx",
13688
+ "org:sources:retrieve:dx:hardis",
13689
+ "hardis:sources:org:retrieve:dx",
13690
+ "sources:hardis:org:retrieve:dx",
13691
+ "sources:org:hardis:retrieve:dx",
13692
+ "sources:org:retrieve:hardis:dx",
13693
+ "sources:org:retrieve:dx:hardis",
13694
+ "hardis:sources:retrieve:org:dx",
13695
+ "sources:hardis:retrieve:org:dx",
13696
+ "sources:retrieve:hardis:org:dx",
13697
+ "sources:retrieve:org:hardis:dx",
13698
+ "sources:retrieve:org:dx:hardis",
13699
+ "hardis:sources:retrieve:dx:org",
13700
+ "sources:hardis:retrieve:dx:org",
13701
+ "sources:retrieve:hardis:dx:org",
13702
+ "sources:retrieve:dx:hardis:org",
13703
+ "sources:retrieve:dx:org:hardis",
13704
+ "hardis:org:sources:dx:retrieve",
13705
+ "org:hardis:sources:dx:retrieve",
13706
+ "org:sources:hardis:dx:retrieve",
13707
+ "org:sources:dx:hardis:retrieve",
13708
+ "org:sources:dx:retrieve:hardis",
13709
+ "hardis:sources:org:dx:retrieve",
13710
+ "sources:hardis:org:dx:retrieve",
13711
+ "sources:org:hardis:dx:retrieve",
13712
+ "sources:org:dx:hardis:retrieve",
13713
+ "sources:org:dx:retrieve:hardis",
13714
+ "hardis:sources:dx:org:retrieve",
13715
+ "sources:hardis:dx:org:retrieve",
13716
+ "sources:dx:hardis:org:retrieve",
13717
+ "sources:dx:org:hardis:retrieve",
13718
+ "sources:dx:org:retrieve:hardis",
13719
+ "hardis:sources:dx:retrieve:org",
13720
+ "sources:hardis:dx:retrieve:org",
13721
+ "sources:dx:hardis:retrieve:org",
13722
+ "sources:dx:retrieve:hardis:org",
13723
+ "sources:dx:retrieve:org:hardis",
13724
+ "hardis:org:retrieve:dx:sources",
13725
+ "org:hardis:retrieve:dx:sources",
13726
+ "org:retrieve:hardis:dx:sources",
13727
+ "org:retrieve:dx:hardis:sources",
13728
+ "org:retrieve:dx:sources:hardis",
13729
+ "hardis:retrieve:org:dx:sources",
13730
+ "retrieve:hardis:org:dx:sources",
13731
+ "retrieve:org:hardis:dx:sources",
13732
+ "retrieve:org:dx:hardis:sources",
13733
+ "retrieve:org:dx:sources:hardis",
13734
+ "hardis:retrieve:dx:org:sources",
13735
+ "retrieve:hardis:dx:org:sources",
13736
+ "retrieve:dx:hardis:org:sources",
13737
+ "retrieve:dx:org:hardis:sources",
13738
+ "retrieve:dx:org:sources:hardis",
13739
+ "hardis:retrieve:dx:sources:org",
13740
+ "retrieve:hardis:dx:sources:org",
13741
+ "retrieve:dx:hardis:sources:org",
13742
+ "retrieve:dx:sources:hardis:org",
13743
+ "retrieve:dx:sources:org:hardis",
13744
+ "hardis:org:dx:retrieve:sources",
13745
+ "org:hardis:dx:retrieve:sources",
13746
+ "org:dx:hardis:retrieve:sources",
13747
+ "org:dx:retrieve:hardis:sources",
13748
+ "org:dx:retrieve:sources:hardis",
13749
+ "hardis:dx:org:retrieve:sources",
13750
+ "dx:hardis:org:retrieve:sources",
13751
+ "dx:org:hardis:retrieve:sources",
13752
+ "dx:org:retrieve:hardis:sources",
13753
+ "dx:org:retrieve:sources:hardis",
13754
+ "hardis:dx:retrieve:org:sources",
13755
+ "dx:hardis:retrieve:org:sources",
13756
+ "dx:retrieve:hardis:org:sources",
13757
+ "dx:retrieve:org:hardis:sources",
13758
+ "dx:retrieve:org:sources:hardis",
13759
+ "hardis:dx:retrieve:sources:org",
13760
+ "dx:hardis:retrieve:sources:org",
13761
+ "dx:retrieve:hardis:sources:org",
13762
+ "dx:retrieve:sources:hardis:org",
13763
+ "dx:retrieve:sources:org:hardis",
13764
+ "hardis:org:dx:sources:retrieve",
13765
+ "org:hardis:dx:sources:retrieve",
13766
+ "org:dx:hardis:sources:retrieve",
13767
+ "org:dx:sources:hardis:retrieve",
13768
+ "org:dx:sources:retrieve:hardis",
13769
+ "hardis:dx:org:sources:retrieve",
13770
+ "dx:hardis:org:sources:retrieve",
13771
+ "dx:org:hardis:sources:retrieve",
13772
+ "dx:org:sources:hardis:retrieve",
13773
+ "dx:org:sources:retrieve:hardis",
13774
+ "hardis:dx:sources:org:retrieve",
13775
+ "dx:hardis:sources:org:retrieve",
13776
+ "dx:sources:hardis:org:retrieve",
13777
+ "dx:sources:org:hardis:retrieve",
13778
+ "dx:sources:org:retrieve:hardis",
13779
+ "hardis:dx:sources:retrieve:org",
13780
+ "dx:hardis:sources:retrieve:org",
13781
+ "dx:sources:hardis:retrieve:org",
13782
+ "dx:sources:retrieve:hardis:org",
13783
+ "dx:sources:retrieve:org:hardis"
13784
+ ]
13785
+ },
13786
+ "hardis:org:retrieve:sources:dx2": {
13787
+ "aliases": [],
13788
+ "args": {},
13789
+ "description": "Retrieve Salesforce DX project from org",
13790
+ "examples": [
13791
+ "$ sf hardis:org:retrieve:sources:dx2"
13792
+ ],
13793
+ "flags": {
13794
+ "json": {
13795
+ "description": "Format output as json.",
13796
+ "helpGroup": "GLOBAL",
13797
+ "name": "json",
13798
+ "allowNo": false,
13799
+ "type": "boolean"
13800
+ },
13801
+ "flags-dir": {
13802
+ "helpGroup": "GLOBAL",
13803
+ "name": "flags-dir",
13804
+ "summary": "Import flag values from a directory.",
13805
+ "hasDynamicHelp": false,
13806
+ "multiple": false,
13807
+ "type": "option"
13808
+ },
13809
+ "packagexml": {
13810
+ "char": "x",
13811
+ "description": "Path to package.xml file",
13812
+ "name": "packagexml",
13813
+ "hasDynamicHelp": false,
13814
+ "multiple": false,
13815
+ "type": "option"
13816
+ },
13817
+ "template": {
13818
+ "char": "t",
13819
+ "description": "sfdx-hardis package.xml Template name. ex: wave",
13820
+ "name": "template",
13821
+ "hasDynamicHelp": false,
13822
+ "multiple": false,
13823
+ "type": "option"
13824
+ },
13825
+ "debug": {
13826
+ "char": "d",
13827
+ "description": "Activate debug mode (more logs)",
13828
+ "name": "debug",
13569
13829
  "allowNo": false,
13570
13830
  "type": "boolean"
13571
13831
  },
@@ -14255,267 +14515,7 @@
14255
14515
  "retrofit:sources:retrieve:hardis:org",
14256
14516
  "retrofit:sources:retrieve:org:hardis"
14257
14517
  ]
14258
- },
14259
- "hardis:project:deploy:sources:metadata": {
14260
- "aliases": [],
14261
- "args": {},
14262
- "description": "Deploy metadatas to source org",
14263
- "examples": [
14264
- "$ sf hardis:project:deploy:sources:metadata"
14265
- ],
14266
- "flags": {
14267
- "json": {
14268
- "description": "Format output as json.",
14269
- "helpGroup": "GLOBAL",
14270
- "name": "json",
14271
- "allowNo": false,
14272
- "type": "boolean"
14273
- },
14274
- "flags-dir": {
14275
- "helpGroup": "GLOBAL",
14276
- "name": "flags-dir",
14277
- "summary": "Import flag values from a directory.",
14278
- "hasDynamicHelp": false,
14279
- "multiple": false,
14280
- "type": "option"
14281
- },
14282
- "check": {
14283
- "char": "c",
14284
- "description": "Only checks the deployment, there is no impact on target org",
14285
- "name": "check",
14286
- "allowNo": false,
14287
- "type": "boolean"
14288
- },
14289
- "deploydir": {
14290
- "char": "x",
14291
- "description": "Deploy directory",
14292
- "name": "deploydir",
14293
- "default": ".",
14294
- "hasDynamicHelp": false,
14295
- "multiple": false,
14296
- "type": "option"
14297
- },
14298
- "packagexml": {
14299
- "char": "p",
14300
- "description": "Path to package.xml file to deploy",
14301
- "name": "packagexml",
14302
- "hasDynamicHelp": false,
14303
- "multiple": false,
14304
- "type": "option"
14305
- },
14306
- "filter": {
14307
- "char": "f",
14308
- "description": "Filter metadatas before deploying",
14309
- "name": "filter",
14310
- "allowNo": false,
14311
- "type": "boolean"
14312
- },
14313
- "destructivepackagexml": {
14314
- "char": "k",
14315
- "description": "Path to destructiveChanges.xml file to deploy",
14316
- "name": "destructivepackagexml",
14317
- "hasDynamicHelp": false,
14318
- "multiple": false,
14319
- "type": "option"
14320
- },
14321
- "testlevel": {
14322
- "char": "l",
14323
- "description": "Level of tests to apply to validate deployment",
14324
- "name": "testlevel",
14325
- "default": "RunLocalTests",
14326
- "hasDynamicHelp": false,
14327
- "multiple": false,
14328
- "options": [
14329
- "NoTestRun",
14330
- "RunSpecifiedTests",
14331
- "RunLocalTests",
14332
- "RunAllTestsInOrg"
14333
- ],
14334
- "type": "option"
14335
- },
14336
- "debug": {
14337
- "char": "d",
14338
- "description": "Activate debug mode (more logs)",
14339
- "name": "debug",
14340
- "allowNo": false,
14341
- "type": "boolean"
14342
- },
14343
- "websocket": {
14344
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
14345
- "name": "websocket",
14346
- "hasDynamicHelp": false,
14347
- "multiple": false,
14348
- "type": "option"
14349
- },
14350
- "skipauth": {
14351
- "description": "Skip authentication check when a default username is required",
14352
- "name": "skipauth",
14353
- "allowNo": false,
14354
- "type": "boolean"
14355
- },
14356
- "target-org": {
14357
- "aliases": [
14358
- "targetusername",
14359
- "u"
14360
- ],
14361
- "char": "o",
14362
- "deprecateAliases": true,
14363
- "name": "target-org",
14364
- "noCacheDefault": true,
14365
- "required": true,
14366
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
14367
- "hasDynamicHelp": true,
14368
- "multiple": false,
14369
- "type": "option"
14370
- }
14371
- },
14372
- "hasDynamicHelp": true,
14373
- "hiddenAliases": [],
14374
- "id": "hardis:project:deploy:sources:metadata",
14375
- "pluginAlias": "sfdx-hardis",
14376
- "pluginName": "sfdx-hardis",
14377
- "pluginType": "core",
14378
- "strict": true,
14379
- "enableJsonFlag": true,
14380
- "title": "Deploy metadata sources to org",
14381
- "requiresProject": false,
14382
- "requiresSfdxPlugins": [
14383
- "sfdx-essentials"
14384
- ],
14385
- "isESM": true,
14386
- "relativePath": [
14387
- "lib",
14388
- "commands",
14389
- "hardis",
14390
- "project",
14391
- "deploy",
14392
- "sources",
14393
- "metadata.js"
14394
- ],
14395
- "aliasPermutations": [],
14396
- "permutations": [
14397
- "hardis:project:deploy:sources:metadata",
14398
- "project:hardis:deploy:sources:metadata",
14399
- "project:deploy:hardis:sources:metadata",
14400
- "project:deploy:sources:hardis:metadata",
14401
- "project:deploy:sources:metadata:hardis",
14402
- "hardis:deploy:project:sources:metadata",
14403
- "deploy:hardis:project:sources:metadata",
14404
- "deploy:project:hardis:sources:metadata",
14405
- "deploy:project:sources:hardis:metadata",
14406
- "deploy:project:sources:metadata:hardis",
14407
- "hardis:deploy:sources:project:metadata",
14408
- "deploy:hardis:sources:project:metadata",
14409
- "deploy:sources:hardis:project:metadata",
14410
- "deploy:sources:project:hardis:metadata",
14411
- "deploy:sources:project:metadata:hardis",
14412
- "hardis:deploy:sources:metadata:project",
14413
- "deploy:hardis:sources:metadata:project",
14414
- "deploy:sources:hardis:metadata:project",
14415
- "deploy:sources:metadata:hardis:project",
14416
- "deploy:sources:metadata:project:hardis",
14417
- "hardis:project:sources:deploy:metadata",
14418
- "project:hardis:sources:deploy:metadata",
14419
- "project:sources:hardis:deploy:metadata",
14420
- "project:sources:deploy:hardis:metadata",
14421
- "project:sources:deploy:metadata:hardis",
14422
- "hardis:sources:project:deploy:metadata",
14423
- "sources:hardis:project:deploy:metadata",
14424
- "sources:project:hardis:deploy:metadata",
14425
- "sources:project:deploy:hardis:metadata",
14426
- "sources:project:deploy:metadata:hardis",
14427
- "hardis:sources:deploy:project:metadata",
14428
- "sources:hardis:deploy:project:metadata",
14429
- "sources:deploy:hardis:project:metadata",
14430
- "sources:deploy:project:hardis:metadata",
14431
- "sources:deploy:project:metadata:hardis",
14432
- "hardis:sources:deploy:metadata:project",
14433
- "sources:hardis:deploy:metadata:project",
14434
- "sources:deploy:hardis:metadata:project",
14435
- "sources:deploy:metadata:hardis:project",
14436
- "sources:deploy:metadata:project:hardis",
14437
- "hardis:project:sources:metadata:deploy",
14438
- "project:hardis:sources:metadata:deploy",
14439
- "project:sources:hardis:metadata:deploy",
14440
- "project:sources:metadata:hardis:deploy",
14441
- "project:sources:metadata:deploy:hardis",
14442
- "hardis:sources:project:metadata:deploy",
14443
- "sources:hardis:project:metadata:deploy",
14444
- "sources:project:hardis:metadata:deploy",
14445
- "sources:project:metadata:hardis:deploy",
14446
- "sources:project:metadata:deploy:hardis",
14447
- "hardis:sources:metadata:project:deploy",
14448
- "sources:hardis:metadata:project:deploy",
14449
- "sources:metadata:hardis:project:deploy",
14450
- "sources:metadata:project:hardis:deploy",
14451
- "sources:metadata:project:deploy:hardis",
14452
- "hardis:sources:metadata:deploy:project",
14453
- "sources:hardis:metadata:deploy:project",
14454
- "sources:metadata:hardis:deploy:project",
14455
- "sources:metadata:deploy:hardis:project",
14456
- "sources:metadata:deploy:project:hardis",
14457
- "hardis:project:deploy:metadata:sources",
14458
- "project:hardis:deploy:metadata:sources",
14459
- "project:deploy:hardis:metadata:sources",
14460
- "project:deploy:metadata:hardis:sources",
14461
- "project:deploy:metadata:sources:hardis",
14462
- "hardis:deploy:project:metadata:sources",
14463
- "deploy:hardis:project:metadata:sources",
14464
- "deploy:project:hardis:metadata:sources",
14465
- "deploy:project:metadata:hardis:sources",
14466
- "deploy:project:metadata:sources:hardis",
14467
- "hardis:deploy:metadata:project:sources",
14468
- "deploy:hardis:metadata:project:sources",
14469
- "deploy:metadata:hardis:project:sources",
14470
- "deploy:metadata:project:hardis:sources",
14471
- "deploy:metadata:project:sources:hardis",
14472
- "hardis:deploy:metadata:sources:project",
14473
- "deploy:hardis:metadata:sources:project",
14474
- "deploy:metadata:hardis:sources:project",
14475
- "deploy:metadata:sources:hardis:project",
14476
- "deploy:metadata:sources:project:hardis",
14477
- "hardis:project:metadata:deploy:sources",
14478
- "project:hardis:metadata:deploy:sources",
14479
- "project:metadata:hardis:deploy:sources",
14480
- "project:metadata:deploy:hardis:sources",
14481
- "project:metadata:deploy:sources:hardis",
14482
- "hardis:metadata:project:deploy:sources",
14483
- "metadata:hardis:project:deploy:sources",
14484
- "metadata:project:hardis:deploy:sources",
14485
- "metadata:project:deploy:hardis:sources",
14486
- "metadata:project:deploy:sources:hardis",
14487
- "hardis:metadata:deploy:project:sources",
14488
- "metadata:hardis:deploy:project:sources",
14489
- "metadata:deploy:hardis:project:sources",
14490
- "metadata:deploy:project:hardis:sources",
14491
- "metadata:deploy:project:sources:hardis",
14492
- "hardis:metadata:deploy:sources:project",
14493
- "metadata:hardis:deploy:sources:project",
14494
- "metadata:deploy:hardis:sources:project",
14495
- "metadata:deploy:sources:hardis:project",
14496
- "metadata:deploy:sources:project:hardis",
14497
- "hardis:project:metadata:sources:deploy",
14498
- "project:hardis:metadata:sources:deploy",
14499
- "project:metadata:hardis:sources:deploy",
14500
- "project:metadata:sources:hardis:deploy",
14501
- "project:metadata:sources:deploy:hardis",
14502
- "hardis:metadata:project:sources:deploy",
14503
- "metadata:hardis:project:sources:deploy",
14504
- "metadata:project:hardis:sources:deploy",
14505
- "metadata:project:sources:hardis:deploy",
14506
- "metadata:project:sources:deploy:hardis",
14507
- "hardis:metadata:sources:project:deploy",
14508
- "metadata:hardis:sources:project:deploy",
14509
- "metadata:sources:hardis:project:deploy",
14510
- "metadata:sources:project:hardis:deploy",
14511
- "metadata:sources:project:deploy:hardis",
14512
- "hardis:metadata:sources:deploy:project",
14513
- "metadata:hardis:sources:deploy:project",
14514
- "metadata:sources:hardis:deploy:project",
14515
- "metadata:sources:deploy:hardis:project",
14516
- "metadata:sources:deploy:project:hardis"
14517
- ]
14518
14518
  }
14519
14519
  },
14520
- "version": "5.25.1"
14520
+ "version": "5.25.2"
14521
14521
  }