sfdx-hardis 5.25.0 → 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.
@@ -57,13 +57,12 @@
57
57
  "world:hello"
58
58
  ]
59
59
  },
60
- "hardis:auth:login": {
60
+ "hardis:cache:clear": {
61
61
  "aliases": [],
62
62
  "args": {},
63
- "description": "Login to salesforce org",
63
+ "description": "Clear cache generated by sfdx-hardis",
64
64
  "examples": [
65
- "$ sf hardis:auth:login",
66
- "CI=true sf hardis:auth:login"
65
+ "$ sf hardis:cache:clear"
67
66
  ],
68
67
  "flags": {
69
68
  "json": {
@@ -81,28 +80,6 @@
81
80
  "multiple": false,
82
81
  "type": "option"
83
82
  },
84
- "instanceurl": {
85
- "char": "r",
86
- "description": "URL of org instance",
87
- "name": "instanceurl",
88
- "hasDynamicHelp": false,
89
- "multiple": false,
90
- "type": "option"
91
- },
92
- "devhub": {
93
- "char": "h",
94
- "description": "Also connect associated DevHub",
95
- "name": "devhub",
96
- "allowNo": false,
97
- "type": "boolean"
98
- },
99
- "scratchorg": {
100
- "char": "s",
101
- "description": "Scratch org",
102
- "name": "scratchorg",
103
- "allowNo": false,
104
- "type": "boolean"
105
- },
106
83
  "debug": {
107
84
  "char": "d",
108
85
  "description": "Activate debug mode (more logs)",
@@ -126,38 +103,39 @@
126
103
  },
127
104
  "hasDynamicHelp": false,
128
105
  "hiddenAliases": [],
129
- "id": "hardis:auth:login",
106
+ "id": "hardis:cache:clear",
130
107
  "pluginAlias": "sfdx-hardis",
131
108
  "pluginName": "sfdx-hardis",
132
109
  "pluginType": "core",
133
110
  "strict": true,
134
111
  "enableJsonFlag": true,
135
- "title": "Login",
112
+ "title": "Clear sfdx-hardis cache",
136
113
  "requiresProject": false,
137
114
  "isESM": true,
138
115
  "relativePath": [
139
116
  "lib",
140
117
  "commands",
141
118
  "hardis",
142
- "auth",
143
- "login.js"
119
+ "cache",
120
+ "clear.js"
144
121
  ],
145
122
  "aliasPermutations": [],
146
123
  "permutations": [
147
- "hardis:auth:login",
148
- "auth:hardis:login",
149
- "auth:login:hardis",
150
- "hardis:login:auth",
151
- "login:hardis:auth",
152
- "login:auth:hardis"
124
+ "hardis:cache:clear",
125
+ "cache:hardis:clear",
126
+ "cache:clear:hardis",
127
+ "hardis:clear:cache",
128
+ "clear:hardis:cache",
129
+ "clear:cache:hardis"
153
130
  ]
154
131
  },
155
- "hardis:cache:clear": {
132
+ "hardis:auth:login": {
156
133
  "aliases": [],
157
134
  "args": {},
158
- "description": "Clear cache generated by sfdx-hardis",
135
+ "description": "Login to salesforce org",
159
136
  "examples": [
160
- "$ sf hardis:cache:clear"
137
+ "$ sf hardis:auth:login",
138
+ "CI=true sf hardis:auth:login"
161
139
  ],
162
140
  "flags": {
163
141
  "json": {
@@ -175,6 +153,28 @@
175
153
  "multiple": false,
176
154
  "type": "option"
177
155
  },
156
+ "instanceurl": {
157
+ "char": "r",
158
+ "description": "URL of org instance",
159
+ "name": "instanceurl",
160
+ "hasDynamicHelp": false,
161
+ "multiple": false,
162
+ "type": "option"
163
+ },
164
+ "devhub": {
165
+ "char": "h",
166
+ "description": "Also connect associated DevHub",
167
+ "name": "devhub",
168
+ "allowNo": false,
169
+ "type": "boolean"
170
+ },
171
+ "scratchorg": {
172
+ "char": "s",
173
+ "description": "Scratch org",
174
+ "name": "scratchorg",
175
+ "allowNo": false,
176
+ "type": "boolean"
177
+ },
178
178
  "debug": {
179
179
  "char": "d",
180
180
  "description": "Activate debug mode (more logs)",
@@ -198,30 +198,30 @@
198
198
  },
199
199
  "hasDynamicHelp": false,
200
200
  "hiddenAliases": [],
201
- "id": "hardis:cache:clear",
201
+ "id": "hardis:auth:login",
202
202
  "pluginAlias": "sfdx-hardis",
203
203
  "pluginName": "sfdx-hardis",
204
204
  "pluginType": "core",
205
205
  "strict": true,
206
206
  "enableJsonFlag": true,
207
- "title": "Clear sfdx-hardis cache",
207
+ "title": "Login",
208
208
  "requiresProject": false,
209
209
  "isESM": true,
210
210
  "relativePath": [
211
211
  "lib",
212
212
  "commands",
213
213
  "hardis",
214
- "cache",
215
- "clear.js"
214
+ "auth",
215
+ "login.js"
216
216
  ],
217
217
  "aliasPermutations": [],
218
218
  "permutations": [
219
- "hardis:cache:clear",
220
- "cache:hardis:clear",
221
- "cache:clear:hardis",
222
- "hardis:clear:cache",
223
- "clear:hardis:cache",
224
- "clear:cache:hardis"
219
+ "hardis:auth:login",
220
+ "auth:hardis:login",
221
+ "auth:login:hardis",
222
+ "hardis:login:auth",
223
+ "login:hardis:auth",
224
+ "login:auth:hardis"
225
225
  ]
226
226
  },
227
227
  "hardis:config:get": {
@@ -2386,12 +2386,12 @@
2386
2386
  "mergexml:package:hardis"
2387
2387
  ]
2388
2388
  },
2389
- "hardis:packagexml:append": {
2389
+ "hardis:project:create": {
2390
2390
  "aliases": [],
2391
2391
  "args": {},
2392
- "description": "Append one or multiple package.xml files into a single one",
2392
+ "description": "Create a new SFDX Project",
2393
2393
  "examples": [
2394
- "$ sf hardis packagexml append -p package1.xml,package2.xml -o package3.xml"
2394
+ "$ sf hardis:project:create"
2395
2395
  ],
2396
2396
  "flags": {
2397
2397
  "json": {
@@ -2409,70 +2409,62 @@
2409
2409
  "multiple": false,
2410
2410
  "type": "option"
2411
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
2412
  "debug": {
2431
- "description": "debug",
2413
+ "char": "d",
2414
+ "description": "Activate debug mode (more logs)",
2432
2415
  "name": "debug",
2433
2416
  "allowNo": false,
2434
2417
  "type": "boolean"
2435
2418
  },
2436
2419
  "websocket": {
2437
- "description": "websocket",
2420
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
2438
2421
  "name": "websocket",
2439
2422
  "hasDynamicHelp": false,
2440
2423
  "multiple": false,
2441
2424
  "type": "option"
2425
+ },
2426
+ "skipauth": {
2427
+ "description": "Skip authentication check when a default username is required",
2428
+ "name": "skipauth",
2429
+ "allowNo": false,
2430
+ "type": "boolean"
2442
2431
  }
2443
2432
  },
2444
2433
  "hasDynamicHelp": false,
2445
2434
  "hiddenAliases": [],
2446
- "id": "hardis:packagexml:append",
2435
+ "id": "hardis:project:create",
2447
2436
  "pluginAlias": "sfdx-hardis",
2448
2437
  "pluginName": "sfdx-hardis",
2449
2438
  "pluginType": "core",
2450
2439
  "strict": true,
2451
2440
  "enableJsonFlag": true,
2441
+ "title": "Login",
2442
+ "requiresProject": false,
2452
2443
  "isESM": true,
2453
2444
  "relativePath": [
2454
2445
  "lib",
2455
2446
  "commands",
2456
2447
  "hardis",
2457
- "packagexml",
2458
- "append.js"
2448
+ "project",
2449
+ "create.js"
2459
2450
  ],
2460
2451
  "aliasPermutations": [],
2461
2452
  "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"
2453
+ "hardis:project:create",
2454
+ "project:hardis:create",
2455
+ "project:create:hardis",
2456
+ "hardis:create:project",
2457
+ "create:hardis:project",
2458
+ "create:project:hardis"
2468
2459
  ]
2469
2460
  },
2470
- "hardis:packagexml:remove": {
2461
+ "hardis:project:lint": {
2471
2462
  "aliases": [],
2472
2463
  "args": {},
2473
- "description": "Removes the content of a package.xml file matching another package.xml file",
2464
+ "description": "Apply syntactic analysis (linters) on the repository sources, using Mega-Linter",
2474
2465
  "examples": [
2475
- "$ sf hardis packagexml:remove -p package.xml -r destructiveChanges.xml -o my-reduced-package.xml"
2466
+ "$ sf hardis:project:lint",
2467
+ "$ sf hardis:project:lint --fix"
2476
2468
  ],
2477
2469
  "flags": {
2478
2470
  "json": {
@@ -2490,85 +2482,82 @@
2490
2482
  "multiple": false,
2491
2483
  "type": "option"
2492
2484
  },
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",
2485
+ "fix": {
2486
+ "char": "f",
2487
+ "description": "Apply linters fixes",
2488
+ "name": "fix",
2513
2489
  "allowNo": false,
2514
2490
  "type": "boolean"
2515
2491
  },
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
2492
  "debug": {
2526
- "description": "debug",
2493
+ "char": "d",
2494
+ "description": "Activate debug mode (more logs)",
2527
2495
  "name": "debug",
2528
2496
  "allowNo": false,
2529
2497
  "type": "boolean"
2530
2498
  },
2531
2499
  "websocket": {
2532
- "description": "websocket",
2500
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
2533
2501
  "name": "websocket",
2534
2502
  "hasDynamicHelp": false,
2535
2503
  "multiple": false,
2536
2504
  "type": "option"
2505
+ },
2506
+ "skipauth": {
2507
+ "description": "Skip authentication check when a default username is required",
2508
+ "name": "skipauth",
2509
+ "allowNo": false,
2510
+ "type": "boolean"
2511
+ },
2512
+ "target-org": {
2513
+ "aliases": [
2514
+ "targetusername",
2515
+ "u"
2516
+ ],
2517
+ "char": "o",
2518
+ "deprecateAliases": true,
2519
+ "name": "target-org",
2520
+ "noCacheDefault": true,
2521
+ "summary": "Username or alias of the target org.",
2522
+ "hasDynamicHelp": true,
2523
+ "multiple": false,
2524
+ "type": "option"
2537
2525
  }
2538
2526
  },
2539
- "hasDynamicHelp": false,
2527
+ "hasDynamicHelp": true,
2540
2528
  "hiddenAliases": [],
2541
- "id": "hardis:packagexml:remove",
2529
+ "id": "hardis:project:lint",
2542
2530
  "pluginAlias": "sfdx-hardis",
2543
2531
  "pluginName": "sfdx-hardis",
2544
2532
  "pluginType": "core",
2545
2533
  "strict": true,
2546
2534
  "enableJsonFlag": true,
2535
+ "title": "Lint",
2547
2536
  "requiresProject": false,
2548
2537
  "isESM": true,
2549
2538
  "relativePath": [
2550
2539
  "lib",
2551
2540
  "commands",
2552
2541
  "hardis",
2553
- "packagexml",
2554
- "remove.js"
2542
+ "project",
2543
+ "lint.js"
2555
2544
  ],
2556
2545
  "aliasPermutations": [],
2557
2546
  "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"
2547
+ "hardis:project:lint",
2548
+ "project:hardis:lint",
2549
+ "project:lint:hardis",
2550
+ "hardis:lint:project",
2551
+ "lint:hardis:project",
2552
+ "lint:project:hardis"
2564
2553
  ]
2565
2554
  },
2566
- "hardis:project:create": {
2555
+ "hardis:scratch:create": {
2567
2556
  "aliases": [],
2568
2557
  "args": {},
2569
- "description": "Create a new SFDX Project",
2558
+ "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 ",
2570
2559
  "examples": [
2571
- "$ sf hardis:project:create"
2560
+ "$ sf hardis:scratch:create"
2572
2561
  ],
2573
2562
  "flags": {
2574
2563
  "json": {
@@ -2586,176 +2575,10 @@
2586
2575
  "multiple": false,
2587
2576
  "type": "option"
2588
2577
  },
2589
- "debug": {
2590
- "char": "d",
2591
- "description": "Activate debug mode (more logs)",
2592
- "name": "debug",
2593
- "allowNo": false,
2594
- "type": "boolean"
2595
- },
2596
- "websocket": {
2597
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
2598
- "name": "websocket",
2599
- "hasDynamicHelp": false,
2600
- "multiple": false,
2601
- "type": "option"
2602
- },
2603
- "skipauth": {
2604
- "description": "Skip authentication check when a default username is required",
2605
- "name": "skipauth",
2606
- "allowNo": false,
2607
- "type": "boolean"
2608
- }
2609
- },
2610
- "hasDynamicHelp": false,
2611
- "hiddenAliases": [],
2612
- "id": "hardis:project:create",
2613
- "pluginAlias": "sfdx-hardis",
2614
- "pluginName": "sfdx-hardis",
2615
- "pluginType": "core",
2616
- "strict": true,
2617
- "enableJsonFlag": true,
2618
- "title": "Login",
2619
- "requiresProject": false,
2620
- "isESM": true,
2621
- "relativePath": [
2622
- "lib",
2623
- "commands",
2624
- "hardis",
2625
- "project",
2626
- "create.js"
2627
- ],
2628
- "aliasPermutations": [],
2629
- "permutations": [
2630
- "hardis:project:create",
2631
- "project:hardis:create",
2632
- "project:create:hardis",
2633
- "hardis:create:project",
2634
- "create:hardis:project",
2635
- "create:project:hardis"
2636
- ]
2637
- },
2638
- "hardis:project:lint": {
2639
- "aliases": [],
2640
- "args": {},
2641
- "description": "Apply syntactic analysis (linters) on the repository sources, using Mega-Linter",
2642
- "examples": [
2643
- "$ sf hardis:project:lint",
2644
- "$ sf hardis:project:lint --fix"
2645
- ],
2646
- "flags": {
2647
- "json": {
2648
- "description": "Format output as json.",
2649
- "helpGroup": "GLOBAL",
2650
- "name": "json",
2651
- "allowNo": false,
2652
- "type": "boolean"
2653
- },
2654
- "flags-dir": {
2655
- "helpGroup": "GLOBAL",
2656
- "name": "flags-dir",
2657
- "summary": "Import flag values from a directory.",
2658
- "hasDynamicHelp": false,
2659
- "multiple": false,
2660
- "type": "option"
2661
- },
2662
- "fix": {
2663
- "char": "f",
2664
- "description": "Apply linters fixes",
2665
- "name": "fix",
2666
- "allowNo": false,
2667
- "type": "boolean"
2668
- },
2669
- "debug": {
2670
- "char": "d",
2671
- "description": "Activate debug mode (more logs)",
2672
- "name": "debug",
2673
- "allowNo": false,
2674
- "type": "boolean"
2675
- },
2676
- "websocket": {
2677
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
2678
- "name": "websocket",
2679
- "hasDynamicHelp": false,
2680
- "multiple": false,
2681
- "type": "option"
2682
- },
2683
- "skipauth": {
2684
- "description": "Skip authentication check when a default username is required",
2685
- "name": "skipauth",
2686
- "allowNo": false,
2687
- "type": "boolean"
2688
- },
2689
- "target-org": {
2690
- "aliases": [
2691
- "targetusername",
2692
- "u"
2693
- ],
2694
- "char": "o",
2695
- "deprecateAliases": true,
2696
- "name": "target-org",
2697
- "noCacheDefault": true,
2698
- "summary": "Username or alias of the target org.",
2699
- "hasDynamicHelp": true,
2700
- "multiple": false,
2701
- "type": "option"
2702
- }
2703
- },
2704
- "hasDynamicHelp": true,
2705
- "hiddenAliases": [],
2706
- "id": "hardis:project:lint",
2707
- "pluginAlias": "sfdx-hardis",
2708
- "pluginName": "sfdx-hardis",
2709
- "pluginType": "core",
2710
- "strict": true,
2711
- "enableJsonFlag": true,
2712
- "title": "Lint",
2713
- "requiresProject": false,
2714
- "isESM": true,
2715
- "relativePath": [
2716
- "lib",
2717
- "commands",
2718
- "hardis",
2719
- "project",
2720
- "lint.js"
2721
- ],
2722
- "aliasPermutations": [],
2723
- "permutations": [
2724
- "hardis:project:lint",
2725
- "project:hardis:lint",
2726
- "project:lint:hardis",
2727
- "hardis:lint:project",
2728
- "lint:hardis:project",
2729
- "lint:project:hardis"
2730
- ]
2731
- },
2732
- "hardis:scratch:create": {
2733
- "aliases": [],
2734
- "args": {},
2735
- "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 ",
2736
- "examples": [
2737
- "$ sf hardis:scratch:create"
2738
- ],
2739
- "flags": {
2740
- "json": {
2741
- "description": "Format output as json.",
2742
- "helpGroup": "GLOBAL",
2743
- "name": "json",
2744
- "allowNo": false,
2745
- "type": "boolean"
2746
- },
2747
- "flags-dir": {
2748
- "helpGroup": "GLOBAL",
2749
- "name": "flags-dir",
2750
- "summary": "Import flag values from a directory.",
2751
- "hasDynamicHelp": false,
2752
- "multiple": false,
2753
- "type": "option"
2754
- },
2755
- "forcenew": {
2756
- "char": "n",
2757
- "description": "If an existing scratch org exists, do not reuse it but create a new one",
2758
- "name": "forcenew",
2578
+ "forcenew": {
2579
+ "char": "n",
2580
+ "description": "If an existing scratch org exists, do not reuse it but create a new one",
2581
+ "name": "forcenew",
2759
2582
  "allowNo": false,
2760
2583
  "type": "boolean"
2761
2584
  },
@@ -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,91 +2937,268 @@
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
2956
  "type": "option"
3153
2957
  },
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",
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"
3188
- ],
3189
- "name": "validateddeployrequestid",
2964
+ "websocket": {
2965
+ "description": "websocket",
2966
+ "name": "websocket",
3190
2967
  "hasDynamicHelp": false,
3191
2968
  "multiple": false,
3192
2969
  "type": "option"
3193
- },
3194
- "verbose": {
3195
- "description": "verbose",
3196
- "name": "verbose",
3197
- "allowNo": false,
3198
- "type": "boolean"
3199
- },
3200
- "metadata": {
3201
- "char": "m",
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
+ ],
3189
+ "name": "validateddeployrequestid",
3190
+ "hasDynamicHelp": false,
3191
+ "multiple": false,
3192
+ "type": "option"
3193
+ },
3194
+ "verbose": {
3195
+ "description": "verbose",
3196
+ "name": "verbose",
3197
+ "allowNo": false,
3198
+ "type": "boolean"
3199
+ },
3200
+ "metadata": {
3201
+ "char": "m",
3202
3202
  "description": "metadata",
3203
3203
  "exclusive": [
3204
3204
  "manifest",
@@ -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,256 +13091,58 @@
13091
13091
  "multiple": false,
13092
13092
  "type": "option"
13093
13093
  },
13094
- "debug": {
13095
- "char": "d",
13096
- "description": "Activate debug mode (more logs)",
13097
- "name": "debug",
13094
+ "check": {
13095
+ "char": "c",
13096
+ "description": "Only checks the deployment, there is no impact on target org",
13097
+ "name": "check",
13098
13098
  "allowNo": false,
13099
13099
  "type": "boolean"
13100
13100
  },
13101
- "websocket": {
13102
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
13103
- "name": "websocket",
13101
+ "deploydir": {
13102
+ "char": "x",
13103
+ "description": "Deploy directory",
13104
+ "name": "deploydir",
13105
+ "default": ".",
13104
13106
  "hasDynamicHelp": false,
13105
13107
  "multiple": false,
13106
13108
  "type": "option"
13107
13109
  },
13108
- "skipauth": {
13109
- "description": "Skip authentication check when a default username is required",
13110
- "name": "skipauth",
13111
- "allowNo": false,
13112
- "type": "boolean"
13113
- },
13114
- "target-org": {
13115
- "aliases": [
13116
- "targetusername",
13117
- "u"
13118
- ],
13119
- "char": "o",
13120
- "deprecateAliases": true,
13121
- "name": "target-org",
13122
- "noCacheDefault": true,
13123
- "required": true,
13124
- "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
13125
- "hasDynamicHelp": true,
13126
- "multiple": false,
13127
- "type": "option"
13128
- }
13129
- },
13130
- "hasDynamicHelp": true,
13131
- "hiddenAliases": [],
13132
- "id": "hardis:org:retrieve:sources:analytics",
13133
- "pluginAlias": "sfdx-hardis",
13134
- "pluginName": "sfdx-hardis",
13135
- "pluginType": "core",
13136
- "strict": true,
13137
- "enableJsonFlag": true,
13138
- "title": "Retrieve CRM Analytics configuration from an org",
13139
- "requiresProject": true,
13140
- "isESM": true,
13141
- "relativePath": [
13142
- "lib",
13143
- "commands",
13144
- "hardis",
13145
- "org",
13146
- "retrieve",
13147
- "sources",
13148
- "analytics.js"
13149
- ],
13150
- "aliasPermutations": [],
13151
- "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"
13272
- ]
13273
- },
13274
- "hardis:org:retrieve:sources:dx": {
13275
- "aliases": [],
13276
- "args": {},
13277
- "description": "Retrieve Salesforce DX project from org",
13278
- "examples": [
13279
- "$ sf hardis:org:retrieve:sources:dx"
13280
- ],
13281
- "flags": {
13282
- "json": {
13283
- "description": "Format output as json.",
13284
- "helpGroup": "GLOBAL",
13285
- "name": "json",
13286
- "allowNo": false,
13287
- "type": "boolean"
13288
- },
13289
- "flags-dir": {
13290
- "helpGroup": "GLOBAL",
13291
- "name": "flags-dir",
13292
- "summary": "Import flag values from a directory.",
13110
+ "packagexml": {
13111
+ "char": "p",
13112
+ "description": "Path to package.xml file to deploy",
13113
+ "name": "packagexml",
13293
13114
  "hasDynamicHelp": false,
13294
13115
  "multiple": false,
13295
13116
  "type": "option"
13296
13117
  },
13297
- "folder": {
13118
+ "filter": {
13298
13119
  "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"
13120
+ "description": "Filter metadatas before deploying",
13121
+ "name": "filter",
13122
+ "allowNo": false,
13123
+ "type": "boolean"
13314
13124
  },
13315
- "keepmetadatatypes": {
13125
+ "destructivepackagexml": {
13316
13126
  "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",
13127
+ "description": "Path to destructiveChanges.xml file to deploy",
13128
+ "name": "destructivepackagexml",
13327
13129
  "hasDynamicHelp": false,
13328
13130
  "multiple": false,
13329
13131
  "type": "option"
13330
13132
  },
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",
13133
+ "testlevel": {
13134
+ "char": "l",
13135
+ "description": "Level of tests to apply to validate deployment",
13136
+ "name": "testlevel",
13137
+ "default": "RunLocalTests",
13342
13138
  "hasDynamicHelp": false,
13343
13139
  "multiple": false,
13140
+ "options": [
13141
+ "NoTestRun",
13142
+ "RunSpecifiedTests",
13143
+ "RunLocalTests",
13144
+ "RunAllTestsInOrg"
13145
+ ],
13344
13146
  "type": "option"
13345
13147
  },
13346
13148
  "debug": {
@@ -13381,154 +13183,157 @@
13381
13183
  },
13382
13184
  "hasDynamicHelp": true,
13383
13185
  "hiddenAliases": [],
13384
- "id": "hardis:org:retrieve:sources:dx",
13186
+ "id": "hardis:project:deploy:sources:metadata",
13385
13187
  "pluginAlias": "sfdx-hardis",
13386
13188
  "pluginName": "sfdx-hardis",
13387
13189
  "pluginType": "core",
13388
13190
  "strict": true,
13389
13191
  "enableJsonFlag": true,
13390
- "title": "Retrieve sfdx sources from org",
13192
+ "title": "Deploy metadata sources to org",
13391
13193
  "requiresProject": false,
13194
+ "requiresSfdxPlugins": [
13195
+ "sfdx-essentials"
13196
+ ],
13392
13197
  "isESM": true,
13393
13198
  "relativePath": [
13394
13199
  "lib",
13395
13200
  "commands",
13396
13201
  "hardis",
13397
- "org",
13398
- "retrieve",
13202
+ "project",
13203
+ "deploy",
13399
13204
  "sources",
13400
- "dx.js"
13205
+ "metadata.js"
13401
13206
  ],
13402
13207
  "aliasPermutations": [],
13403
13208
  "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"
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"
13524
13329
  ]
13525
13330
  },
13526
- "hardis:org:retrieve:sources:dx2": {
13331
+ "hardis:org:retrieve:sources:analytics": {
13527
13332
  "aliases": [],
13528
13333
  "args": {},
13529
- "description": "Retrieve Salesforce DX project from org",
13334
+ "description": "Retrieve all CRM Analytics sources from an org, with workarounds for SFDX bugs",
13530
13335
  "examples": [
13531
- "$ sf hardis:org:retrieve:sources:dx2"
13336
+ "$ sf hardis:org:retrieve:sources:analytics"
13532
13337
  ],
13533
13338
  "flags": {
13534
13339
  "json": {
@@ -13546,22 +13351,6 @@
13546
13351
  "multiple": false,
13547
13352
  "type": "option"
13548
13353
  },
13549
- "packagexml": {
13550
- "char": "x",
13551
- "description": "Path to package.xml file",
13552
- "name": "packagexml",
13553
- "hasDynamicHelp": false,
13554
- "multiple": false,
13555
- "type": "option"
13556
- },
13557
- "template": {
13558
- "char": "t",
13559
- "description": "sfdx-hardis package.xml Template name. ex: wave",
13560
- "name": "template",
13561
- "hasDynamicHelp": false,
13562
- "multiple": false,
13563
- "type": "option"
13564
- },
13565
13354
  "debug": {
13566
13355
  "char": "d",
13567
13356
  "description": "Activate debug mode (more logs)",
@@ -13600,13 +13389,13 @@
13600
13389
  },
13601
13390
  "hasDynamicHelp": true,
13602
13391
  "hiddenAliases": [],
13603
- "id": "hardis:org:retrieve:sources:dx2",
13392
+ "id": "hardis:org:retrieve:sources:analytics",
13604
13393
  "pluginAlias": "sfdx-hardis",
13605
13394
  "pluginName": "sfdx-hardis",
13606
13395
  "pluginType": "core",
13607
13396
  "strict": true,
13608
13397
  "enableJsonFlag": true,
13609
- "title": "Retrieve sfdx sources from org (2)",
13398
+ "title": "Retrieve CRM Analytics configuration from an org",
13610
13399
  "requiresProject": true,
13611
13400
  "isESM": true,
13612
13401
  "relativePath": [
@@ -13616,139 +13405,138 @@
13616
13405
  "org",
13617
13406
  "retrieve",
13618
13407
  "sources",
13619
- "dx2.js"
13408
+ "analytics.js"
13620
13409
  ],
13621
13410
  "aliasPermutations": [],
13622
13411
  "permutations": [
13623
- "hardis:org:retrieve:sources:dx2",
13624
- "org:hardis:retrieve:sources:dx2",
13625
- "org:retrieve:hardis:sources:dx2",
13626
- "org:retrieve:sources:hardis:dx2",
13627
- "org:retrieve:sources:dx2:hardis",
13628
- "hardis:retrieve:org:sources:dx2",
13629
- "retrieve:hardis:org:sources:dx2",
13630
- "retrieve:org:hardis:sources:dx2",
13631
- "retrieve:org:sources:hardis:dx2",
13632
- "retrieve:org:sources:dx2:hardis",
13633
- "hardis:retrieve:sources:org:dx2",
13634
- "retrieve:hardis:sources:org:dx2",
13635
- "retrieve:sources:hardis:org:dx2",
13636
- "retrieve:sources:org:hardis:dx2",
13637
- "retrieve:sources:org:dx2:hardis",
13638
- "hardis:retrieve:sources:dx2:org",
13639
- "retrieve:hardis:sources:dx2:org",
13640
- "retrieve:sources:hardis:dx2:org",
13641
- "retrieve:sources:dx2:hardis:org",
13642
- "retrieve:sources:dx2:org:hardis",
13643
- "hardis:org:sources:retrieve:dx2",
13644
- "org:hardis:sources:retrieve:dx2",
13645
- "org:sources:hardis:retrieve:dx2",
13646
- "org:sources:retrieve:hardis:dx2",
13647
- "org:sources:retrieve:dx2:hardis",
13648
- "hardis:sources:org:retrieve:dx2",
13649
- "sources:hardis:org:retrieve:dx2",
13650
- "sources:org:hardis:retrieve:dx2",
13651
- "sources:org:retrieve:hardis:dx2",
13652
- "sources:org:retrieve:dx2:hardis",
13653
- "hardis:sources:retrieve:org:dx2",
13654
- "sources:hardis:retrieve:org:dx2",
13655
- "sources:retrieve:hardis:org:dx2",
13656
- "sources:retrieve:org:hardis:dx2",
13657
- "sources:retrieve:org:dx2:hardis",
13658
- "hardis:sources:retrieve:dx2:org",
13659
- "sources:hardis:retrieve:dx2:org",
13660
- "sources:retrieve:hardis:dx2:org",
13661
- "sources:retrieve:dx2:hardis:org",
13662
- "sources:retrieve:dx2:org:hardis",
13663
- "hardis:org:sources:dx2:retrieve",
13664
- "org:hardis:sources:dx2:retrieve",
13665
- "org:sources:hardis:dx2:retrieve",
13666
- "org:sources:dx2:hardis:retrieve",
13667
- "org:sources:dx2:retrieve:hardis",
13668
- "hardis:sources:org:dx2:retrieve",
13669
- "sources:hardis:org:dx2:retrieve",
13670
- "sources:org:hardis:dx2:retrieve",
13671
- "sources:org:dx2:hardis:retrieve",
13672
- "sources:org:dx2:retrieve:hardis",
13673
- "hardis:sources:dx2:org:retrieve",
13674
- "sources:hardis:dx2:org:retrieve",
13675
- "sources:dx2:hardis:org:retrieve",
13676
- "sources:dx2:org:hardis:retrieve",
13677
- "sources:dx2:org:retrieve:hardis",
13678
- "hardis:sources:dx2:retrieve:org",
13679
- "sources:hardis:dx2:retrieve:org",
13680
- "sources:dx2:hardis:retrieve:org",
13681
- "sources:dx2:retrieve:hardis:org",
13682
- "sources:dx2:retrieve:org:hardis",
13683
- "hardis:org:retrieve:dx2:sources",
13684
- "org:hardis:retrieve:dx2:sources",
13685
- "org:retrieve:hardis:dx2:sources",
13686
- "org:retrieve:dx2:hardis:sources",
13687
- "org:retrieve:dx2:sources:hardis",
13688
- "hardis:retrieve:org:dx2:sources",
13689
- "retrieve:hardis:org:dx2:sources",
13690
- "retrieve:org:hardis:dx2:sources",
13691
- "retrieve:org:dx2:hardis:sources",
13692
- "retrieve:org:dx2:sources:hardis",
13693
- "hardis:retrieve:dx2:org:sources",
13694
- "retrieve:hardis:dx2:org:sources",
13695
- "retrieve:dx2:hardis:org:sources",
13696
- "retrieve:dx2:org:hardis:sources",
13697
- "retrieve:dx2:org:sources:hardis",
13698
- "hardis:retrieve:dx2:sources:org",
13699
- "retrieve:hardis:dx2:sources:org",
13700
- "retrieve:dx2:hardis:sources:org",
13701
- "retrieve:dx2:sources:hardis:org",
13702
- "retrieve:dx2:sources:org:hardis",
13703
- "hardis:org:dx2:retrieve:sources",
13704
- "org:hardis:dx2:retrieve:sources",
13705
- "org:dx2:hardis:retrieve:sources",
13706
- "org:dx2:retrieve:hardis:sources",
13707
- "org:dx2:retrieve:sources:hardis",
13708
- "hardis:dx2:org:retrieve:sources",
13709
- "dx2:hardis:org:retrieve:sources",
13710
- "dx2:org:hardis:retrieve:sources",
13711
- "dx2:org:retrieve:hardis:sources",
13712
- "dx2:org:retrieve:sources:hardis",
13713
- "hardis:dx2:retrieve:org:sources",
13714
- "dx2:hardis:retrieve:org:sources",
13715
- "dx2:retrieve:hardis:org:sources",
13716
- "dx2:retrieve:org:hardis:sources",
13717
- "dx2:retrieve:org:sources:hardis",
13718
- "hardis:dx2:retrieve:sources:org",
13719
- "dx2:hardis:retrieve:sources:org",
13720
- "dx2:retrieve:hardis:sources:org",
13721
- "dx2:retrieve:sources:hardis:org",
13722
- "dx2:retrieve:sources:org:hardis",
13723
- "hardis:org:dx2:sources:retrieve",
13724
- "org:hardis:dx2:sources:retrieve",
13725
- "org:dx2:hardis:sources:retrieve",
13726
- "org:dx2:sources:hardis:retrieve",
13727
- "org:dx2:sources:retrieve:hardis",
13728
- "hardis:dx2:org:sources:retrieve",
13729
- "dx2:hardis:org:sources:retrieve",
13730
- "dx2:org:hardis:sources:retrieve",
13731
- "dx2:org:sources:hardis:retrieve",
13732
- "dx2:org:sources:retrieve:hardis",
13733
- "hardis:dx2:sources:org:retrieve",
13734
- "dx2:hardis:sources:org:retrieve",
13735
- "dx2:sources:hardis:org:retrieve",
13736
- "dx2:sources:org:hardis:retrieve",
13737
- "dx2:sources:org:retrieve:hardis",
13738
- "hardis:dx2:sources:retrieve:org",
13739
- "dx2:hardis:sources:retrieve:org",
13740
- "dx2:sources:hardis:retrieve:org",
13741
- "dx2:sources:retrieve:hardis:org",
13742
- "dx2: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"
13743
13532
  ]
13744
13533
  },
13745
- "hardis:org:retrieve:sources:metadata": {
13534
+ "hardis:org:retrieve:sources:dx": {
13746
13535
  "aliases": [],
13747
13536
  "args": {},
13748
13537
  "description": "Retrieve Salesforce DX project from org",
13749
13538
  "examples": [
13750
- "$ sf hardis:org:retrieve:sources:metadata",
13751
- "$ SFDX_RETRIEVE_WAIT_MINUTES=200 sf hardis:org:retrieve:sources:metadata"
13539
+ "$ sf hardis:org:retrieve:sources:dx"
13752
13540
  ],
13753
13541
  "flags": {
13754
13542
  "json": {
@@ -13775,17 +13563,35 @@
13775
13563
  "multiple": false,
13776
13564
  "type": "option"
13777
13565
  },
13778
- "packagexml": {
13779
- "char": "p",
13780
- "description": "Path to package.xml manifest file",
13781
- "name": "packagexml",
13566
+ "tempfolder": {
13567
+ "char": "t",
13568
+ "description": "Temporary folder",
13569
+ "name": "tempfolder",
13570
+ "default": "./tmp",
13782
13571
  "hasDynamicHelp": false,
13783
13572
  "multiple": false,
13784
13573
  "type": "option"
13785
13574
  },
13786
- "includemanaged": {
13787
- "description": "Include items from managed packages",
13788
- "name": "includemanaged",
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",
13789
13595
  "allowNo": false,
13790
13596
  "type": "boolean"
13791
13597
  },
@@ -13835,7 +13641,7 @@
13835
13641
  },
13836
13642
  "hasDynamicHelp": true,
13837
13643
  "hiddenAliases": [],
13838
- "id": "hardis:org:retrieve:sources:metadata",
13644
+ "id": "hardis:org:retrieve:sources:dx",
13839
13645
  "pluginAlias": "sfdx-hardis",
13840
13646
  "pluginName": "sfdx-hardis",
13841
13647
  "pluginType": "core",
@@ -13843,7 +13649,6 @@
13843
13649
  "enableJsonFlag": true,
13844
13650
  "title": "Retrieve sfdx sources from org",
13845
13651
  "requiresProject": false,
13846
- "triggerNotification": true,
13847
13652
  "isESM": true,
13848
13653
  "relativePath": [
13849
13654
  "lib",
@@ -13852,227 +13657,191 @@
13852
13657
  "org",
13853
13658
  "retrieve",
13854
13659
  "sources",
13855
- "metadata.js"
13660
+ "dx.js"
13856
13661
  ],
13857
13662
  "aliasPermutations": [],
13858
13663
  "permutations": [
13859
- "hardis:org:retrieve:sources:metadata",
13860
- "org:hardis:retrieve:sources:metadata",
13861
- "org:retrieve:hardis:sources:metadata",
13862
- "org:retrieve:sources:hardis:metadata",
13863
- "org:retrieve:sources:metadata:hardis",
13864
- "hardis:retrieve:org:sources:metadata",
13865
- "retrieve:hardis:org:sources:metadata",
13866
- "retrieve:org:hardis:sources:metadata",
13867
- "retrieve:org:sources:hardis:metadata",
13868
- "retrieve:org:sources:metadata:hardis",
13869
- "hardis:retrieve:sources:org:metadata",
13870
- "retrieve:hardis:sources:org:metadata",
13871
- "retrieve:sources:hardis:org:metadata",
13872
- "retrieve:sources:org:hardis:metadata",
13873
- "retrieve:sources:org:metadata:hardis",
13874
- "hardis:retrieve:sources:metadata:org",
13875
- "retrieve:hardis:sources:metadata:org",
13876
- "retrieve:sources:hardis:metadata:org",
13877
- "retrieve:sources:metadata:hardis:org",
13878
- "retrieve:sources:metadata:org:hardis",
13879
- "hardis:org:sources:retrieve:metadata",
13880
- "org:hardis:sources:retrieve:metadata",
13881
- "org:sources:hardis:retrieve:metadata",
13882
- "org:sources:retrieve:hardis:metadata",
13883
- "org:sources:retrieve:metadata:hardis",
13884
- "hardis:sources:org:retrieve:metadata",
13885
- "sources:hardis:org:retrieve:metadata",
13886
- "sources:org:hardis:retrieve:metadata",
13887
- "sources:org:retrieve:hardis:metadata",
13888
- "sources:org:retrieve:metadata:hardis",
13889
- "hardis:sources:retrieve:org:metadata",
13890
- "sources:hardis:retrieve:org:metadata",
13891
- "sources:retrieve:hardis:org:metadata",
13892
- "sources:retrieve:org:hardis:metadata",
13893
- "sources:retrieve:org:metadata:hardis",
13894
- "hardis:sources:retrieve:metadata:org",
13895
- "sources:hardis:retrieve:metadata:org",
13896
- "sources:retrieve:hardis:metadata:org",
13897
- "sources:retrieve:metadata:hardis:org",
13898
- "sources:retrieve:metadata:org:hardis",
13899
- "hardis:org:sources:metadata:retrieve",
13900
- "org:hardis:sources:metadata:retrieve",
13901
- "org:sources:hardis:metadata:retrieve",
13902
- "org:sources:metadata:hardis:retrieve",
13903
- "org:sources:metadata:retrieve:hardis",
13904
- "hardis:sources:org:metadata:retrieve",
13905
- "sources:hardis:org:metadata:retrieve",
13906
- "sources:org:hardis:metadata:retrieve",
13907
- "sources:org:metadata:hardis:retrieve",
13908
- "sources:org:metadata:retrieve:hardis",
13909
- "hardis:sources:metadata:org:retrieve",
13910
- "sources:hardis:metadata:org:retrieve",
13911
- "sources:metadata:hardis:org:retrieve",
13912
- "sources:metadata:org:hardis:retrieve",
13913
- "sources:metadata:org:retrieve:hardis",
13914
- "hardis:sources:metadata:retrieve:org",
13915
- "sources:hardis:metadata:retrieve:org",
13916
- "sources:metadata:hardis:retrieve:org",
13917
- "sources:metadata:retrieve:hardis:org",
13918
- "sources:metadata:retrieve:org:hardis",
13919
- "hardis:org:retrieve:metadata:sources",
13920
- "org:hardis:retrieve:metadata:sources",
13921
- "org:retrieve:hardis:metadata:sources",
13922
- "org:retrieve:metadata:hardis:sources",
13923
- "org:retrieve:metadata:sources:hardis",
13924
- "hardis:retrieve:org:metadata:sources",
13925
- "retrieve:hardis:org:metadata:sources",
13926
- "retrieve:org:hardis:metadata:sources",
13927
- "retrieve:org:metadata:hardis:sources",
13928
- "retrieve:org:metadata:sources:hardis",
13929
- "hardis:retrieve:metadata:org:sources",
13930
- "retrieve:hardis:metadata:org:sources",
13931
- "retrieve:metadata:hardis:org:sources",
13932
- "retrieve:metadata:org:hardis:sources",
13933
- "retrieve:metadata:org:sources:hardis",
13934
- "hardis:retrieve:metadata:sources:org",
13935
- "retrieve:hardis:metadata:sources:org",
13936
- "retrieve:metadata:hardis:sources:org",
13937
- "retrieve:metadata:sources:hardis:org",
13938
- "retrieve:metadata:sources:org:hardis",
13939
- "hardis:org:metadata:retrieve:sources",
13940
- "org:hardis:metadata:retrieve:sources",
13941
- "org:metadata:hardis:retrieve:sources",
13942
- "org:metadata:retrieve:hardis:sources",
13943
- "org:metadata:retrieve:sources:hardis",
13944
- "hardis:metadata:org:retrieve:sources",
13945
- "metadata:hardis:org:retrieve:sources",
13946
- "metadata:org:hardis:retrieve:sources",
13947
- "metadata:org:retrieve:hardis:sources",
13948
- "metadata:org:retrieve:sources:hardis",
13949
- "hardis:metadata:retrieve:org:sources",
13950
- "metadata:hardis:retrieve:org:sources",
13951
- "metadata:retrieve:hardis:org:sources",
13952
- "metadata:retrieve:org:hardis:sources",
13953
- "metadata:retrieve:org:sources:hardis",
13954
- "hardis:metadata:retrieve:sources:org",
13955
- "metadata:hardis:retrieve:sources:org",
13956
- "metadata:retrieve:hardis:sources:org",
13957
- "metadata:retrieve:sources:hardis:org",
13958
- "metadata:retrieve:sources:org:hardis",
13959
- "hardis:org:metadata:sources:retrieve",
13960
- "org:hardis:metadata:sources:retrieve",
13961
- "org:metadata:hardis:sources:retrieve",
13962
- "org:metadata:sources:hardis:retrieve",
13963
- "org:metadata:sources:retrieve:hardis",
13964
- "hardis:metadata:org:sources:retrieve",
13965
- "metadata:hardis:org:sources:retrieve",
13966
- "metadata:org:hardis:sources:retrieve",
13967
- "metadata:org:sources:hardis:retrieve",
13968
- "metadata:org:sources:retrieve:hardis",
13969
- "hardis:metadata:sources:org:retrieve",
13970
- "metadata:hardis:sources:org:retrieve",
13971
- "metadata:sources:hardis:org:retrieve",
13972
- "metadata:sources:org:hardis:retrieve",
13973
- "metadata:sources:org:retrieve:hardis",
13974
- "hardis:metadata:sources:retrieve:org",
13975
- "metadata:hardis:sources:retrieve:org",
13976
- "metadata:sources:hardis:retrieve:org",
13977
- "metadata:sources:retrieve:hardis:org",
13978
- "metadata:sources:retrieve:org:hardis"
13979
- ]
13980
- },
13981
- "hardis:org:retrieve:sources:retrofit": {
13982
- "aliases": [],
13983
- "args": {},
13984
- "description": "Retrieve changes from org link to a ref branch not present in sources\n\n This command need to be triggered from a branch that is connected to a SF org. It will then retrieve all changes not present in that branch sources, commit them and create a merge request against the default branch. If a merge request already exists, it will simply add a new commit.\n\n Define the following properties in **.sfdx-hardis.yml**\n\n - **productionBranch** : Name of the git branch that is corresponding to production org\n - **retrofitBranch** : Name of the git branch that will be used as merge request target\n\n List of metadata to retrieve can be set in three way, in order of priority :\n\n - `CI_SOURCES_TO_RETROFIT`: env variable (can be defined in CI context)\n - `sourcesToRetrofit` property in `.sfdx-hardis.yml`\n - Default list:\n\n - CompactLayout\n - CustomApplication\n - CustomField\n - CustomLabel\n - CustomLabels\n - CustomMetadata\n - CustomObject\n - CustomObjectTranslation\n - CustomTab\n - DuplicateRule\n - EmailTemplate\n - FlexiPage\n - GlobalValueSet\n - Layout\n - ListView\n - MatchingRules\n - PermissionSet\n - RecordType\n - StandardValueSet\n - Translations\n - ValidationRule\n\n You can also ignore some files even if they have been updated in production. To do that, define property **retrofitIgnoredFiles** in .sfdx-hardis.yml\n\n Example of full retrofit configuration:\n\n ```yaml\n productionBranch: master\n retrofitBranch: preprod\n retrofitIgnoredFiles:\n - force-app/main/default/applications/MyApp.app-meta.xml\n - force-app/main/default/applications/MyOtherApp.app-meta.xml\n - force-app/main/default/flexipages/MyFlexipageContainingDashboards.flexipage-meta.xml\n ```\n ",
13985
- "examples": [
13986
- "$ sf hardis:org:retrieve:sources:retrofit",
13987
- "sf hardis:org:retrieve:sources:retrofit --productionbranch master --commit --commitmode updated",
13988
- "sf hardis:org:retrieve:sources:retrofit --productionbranch master --retrofitbranch preprod --commit --commitmode updated --push --pushmode mergerequest"
13989
- ],
13990
- "flags": {
13991
- "json": {
13992
- "description": "Format output as json.",
13993
- "helpGroup": "GLOBAL",
13994
- "name": "json",
13995
- "allowNo": false,
13996
- "type": "boolean"
13997
- },
13998
- "flags-dir": {
13999
- "helpGroup": "GLOBAL",
14000
- "name": "flags-dir",
14001
- "summary": "Import flag values from a directory.",
14002
- "hasDynamicHelp": false,
14003
- "multiple": false,
14004
- "type": "option"
14005
- },
14006
- "commit": {
14007
- "description": "If true, a commit will be performed after the retrofit",
14008
- "name": "commit",
14009
- "allowNo": false,
14010
- "type": "boolean"
14011
- },
14012
- "commitmode": {
14013
- "description": "Defines if we commit all retrieved updates, or all updates including creations",
14014
- "name": "commitmode",
14015
- "default": "updated",
14016
- "hasDynamicHelp": false,
14017
- "multiple": false,
14018
- "options": [
14019
- "updated",
14020
- "all"
14021
- ],
14022
- "type": "option"
14023
- },
14024
- "push": {
14025
- "description": "If true, a push will be performed after the retrofit",
14026
- "name": "push",
14027
- "allowNo": false,
14028
- "type": "boolean"
14029
- },
14030
- "pushmode": {
14031
- "description": "Defines if we send merge request options to git push arguments",
14032
- "name": "pushmode",
14033
- "default": "default",
14034
- "hasDynamicHelp": false,
14035
- "multiple": false,
14036
- "options": [
14037
- "default",
14038
- "mergerequest"
14039
- ],
14040
- "type": "option"
14041
- },
14042
- "productionbranch": {
14043
- "description": "Name of the git branch corresponding to the org we want to perform the retrofit on.\nCan be defined in productionBranch property in .sfdx-hardis.yml",
14044
- "name": "productionbranch",
14045
- "hasDynamicHelp": false,
14046
- "multiple": false,
14047
- "type": "option"
14048
- },
14049
- "retrofittargetbranch": {
14050
- "description": "Name of branch the merge request will have as target\nCan be defined in retrofitBranch property in .sfdx-hardis.yml",
14051
- "name": "retrofittargetbranch",
14052
- "hasDynamicHelp": false,
14053
- "multiple": false,
14054
- "type": "option"
14055
- },
14056
- "debug": {
14057
- "char": "d",
14058
- "description": "Activate debug mode (more logs)",
14059
- "name": "debug",
14060
- "allowNo": false,
14061
- "type": "boolean"
14062
- },
14063
- "websocket": {
14064
- "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
14065
- "name": "websocket",
14066
- "hasDynamicHelp": false,
14067
- "multiple": false,
14068
- "type": "option"
14069
- },
14070
- "skipauth": {
14071
- "description": "Skip authentication check when a default username is required",
14072
- "name": "skipauth",
14073
- "allowNo": false,
14074
- "type": "boolean"
14075
- },
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",
13829
+ "allowNo": false,
13830
+ "type": "boolean"
13831
+ },
13832
+ "websocket": {
13833
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
13834
+ "name": "websocket",
13835
+ "hasDynamicHelp": false,
13836
+ "multiple": false,
13837
+ "type": "option"
13838
+ },
13839
+ "skipauth": {
13840
+ "description": "Skip authentication check when a default username is required",
13841
+ "name": "skipauth",
13842
+ "allowNo": false,
13843
+ "type": "boolean"
13844
+ },
14076
13845
  "target-org": {
14077
13846
  "aliases": [
14078
13847
  "targetusername",
@@ -14091,36 +13860,13 @@
14091
13860
  },
14092
13861
  "hasDynamicHelp": true,
14093
13862
  "hiddenAliases": [],
14094
- "id": "hardis:org:retrieve:sources:retrofit",
13863
+ "id": "hardis:org:retrieve:sources:dx2",
14095
13864
  "pluginAlias": "sfdx-hardis",
14096
13865
  "pluginName": "sfdx-hardis",
14097
13866
  "pluginType": "core",
14098
13867
  "strict": true,
14099
13868
  "enableJsonFlag": true,
14100
- "DEFAULT_SOURCES_TO_RETROFIT": [
14101
- "CompactLayout",
14102
- "CustomApplication",
14103
- "CustomField",
14104
- "CustomLabel",
14105
- "CustomLabels",
14106
- "CustomMetadata",
14107
- "CustomObject",
14108
- "CustomObjectTranslation",
14109
- "CustomTab",
14110
- "DuplicateRule",
14111
- "EmailTemplate",
14112
- "FlexiPage",
14113
- "GlobalValueSet",
14114
- "Layout",
14115
- "ListView",
14116
- "MatchingRules",
14117
- "PermissionSet",
14118
- "RecordType",
14119
- "StandardValueSet",
14120
- "Translations",
14121
- "ValidationRule"
14122
- ],
14123
- "title": "Retrofit changes from an org",
13869
+ "title": "Retrieve sfdx sources from org (2)",
14124
13870
  "requiresProject": true,
14125
13871
  "isESM": true,
14126
13872
  "relativePath": [
@@ -14130,138 +13876,139 @@
14130
13876
  "org",
14131
13877
  "retrieve",
14132
13878
  "sources",
14133
- "retrofit.js"
13879
+ "dx2.js"
14134
13880
  ],
14135
13881
  "aliasPermutations": [],
14136
13882
  "permutations": [
14137
- "hardis:org:retrieve:sources:retrofit",
14138
- "org:hardis:retrieve:sources:retrofit",
14139
- "org:retrieve:hardis:sources:retrofit",
14140
- "org:retrieve:sources:hardis:retrofit",
14141
- "org:retrieve:sources:retrofit:hardis",
14142
- "hardis:retrieve:org:sources:retrofit",
14143
- "retrieve:hardis:org:sources:retrofit",
14144
- "retrieve:org:hardis:sources:retrofit",
14145
- "retrieve:org:sources:hardis:retrofit",
14146
- "retrieve:org:sources:retrofit:hardis",
14147
- "hardis:retrieve:sources:org:retrofit",
14148
- "retrieve:hardis:sources:org:retrofit",
14149
- "retrieve:sources:hardis:org:retrofit",
14150
- "retrieve:sources:org:hardis:retrofit",
14151
- "retrieve:sources:org:retrofit:hardis",
14152
- "hardis:retrieve:sources:retrofit:org",
14153
- "retrieve:hardis:sources:retrofit:org",
14154
- "retrieve:sources:hardis:retrofit:org",
14155
- "retrieve:sources:retrofit:hardis:org",
14156
- "retrieve:sources:retrofit:org:hardis",
14157
- "hardis:org:sources:retrieve:retrofit",
14158
- "org:hardis:sources:retrieve:retrofit",
14159
- "org:sources:hardis:retrieve:retrofit",
14160
- "org:sources:retrieve:hardis:retrofit",
14161
- "org:sources:retrieve:retrofit:hardis",
14162
- "hardis:sources:org:retrieve:retrofit",
14163
- "sources:hardis:org:retrieve:retrofit",
14164
- "sources:org:hardis:retrieve:retrofit",
14165
- "sources:org:retrieve:hardis:retrofit",
14166
- "sources:org:retrieve:retrofit:hardis",
14167
- "hardis:sources:retrieve:org:retrofit",
14168
- "sources:hardis:retrieve:org:retrofit",
14169
- "sources:retrieve:hardis:org:retrofit",
14170
- "sources:retrieve:org:hardis:retrofit",
14171
- "sources:retrieve:org:retrofit:hardis",
14172
- "hardis:sources:retrieve:retrofit:org",
14173
- "sources:hardis:retrieve:retrofit:org",
14174
- "sources:retrieve:hardis:retrofit:org",
14175
- "sources:retrieve:retrofit:hardis:org",
14176
- "sources:retrieve:retrofit:org:hardis",
14177
- "hardis:org:sources:retrofit:retrieve",
14178
- "org:hardis:sources:retrofit:retrieve",
14179
- "org:sources:hardis:retrofit:retrieve",
14180
- "org:sources:retrofit:hardis:retrieve",
14181
- "org:sources:retrofit:retrieve:hardis",
14182
- "hardis:sources:org:retrofit:retrieve",
14183
- "sources:hardis:org:retrofit:retrieve",
14184
- "sources:org:hardis:retrofit:retrieve",
14185
- "sources:org:retrofit:hardis:retrieve",
14186
- "sources:org:retrofit:retrieve:hardis",
14187
- "hardis:sources:retrofit:org:retrieve",
14188
- "sources:hardis:retrofit:org:retrieve",
14189
- "sources:retrofit:hardis:org:retrieve",
14190
- "sources:retrofit:org:hardis:retrieve",
14191
- "sources:retrofit:org:retrieve:hardis",
14192
- "hardis:sources:retrofit:retrieve:org",
14193
- "sources:hardis:retrofit:retrieve:org",
14194
- "sources:retrofit:hardis:retrieve:org",
14195
- "sources:retrofit:retrieve:hardis:org",
14196
- "sources:retrofit:retrieve:org:hardis",
14197
- "hardis:org:retrieve:retrofit:sources",
14198
- "org:hardis:retrieve:retrofit:sources",
14199
- "org:retrieve:hardis:retrofit:sources",
14200
- "org:retrieve:retrofit:hardis:sources",
14201
- "org:retrieve:retrofit:sources:hardis",
14202
- "hardis:retrieve:org:retrofit:sources",
14203
- "retrieve:hardis:org:retrofit:sources",
14204
- "retrieve:org:hardis:retrofit:sources",
14205
- "retrieve:org:retrofit:hardis:sources",
14206
- "retrieve:org:retrofit:sources:hardis",
14207
- "hardis:retrieve:retrofit:org:sources",
14208
- "retrieve:hardis:retrofit:org:sources",
14209
- "retrieve:retrofit:hardis:org:sources",
14210
- "retrieve:retrofit:org:hardis:sources",
14211
- "retrieve:retrofit:org:sources:hardis",
14212
- "hardis:retrieve:retrofit:sources:org",
14213
- "retrieve:hardis:retrofit:sources:org",
14214
- "retrieve:retrofit:hardis:sources:org",
14215
- "retrieve:retrofit:sources:hardis:org",
14216
- "retrieve:retrofit:sources:org:hardis",
14217
- "hardis:org:retrofit:retrieve:sources",
14218
- "org:hardis:retrofit:retrieve:sources",
14219
- "org:retrofit:hardis:retrieve:sources",
14220
- "org:retrofit:retrieve:hardis:sources",
14221
- "org:retrofit:retrieve:sources:hardis",
14222
- "hardis:retrofit:org:retrieve:sources",
14223
- "retrofit:hardis:org:retrieve:sources",
14224
- "retrofit:org:hardis:retrieve:sources",
14225
- "retrofit:org:retrieve:hardis:sources",
14226
- "retrofit:org:retrieve:sources:hardis",
14227
- "hardis:retrofit:retrieve:org:sources",
14228
- "retrofit:hardis:retrieve:org:sources",
14229
- "retrofit:retrieve:hardis:org:sources",
14230
- "retrofit:retrieve:org:hardis:sources",
14231
- "retrofit:retrieve:org:sources:hardis",
14232
- "hardis:retrofit:retrieve:sources:org",
14233
- "retrofit:hardis:retrieve:sources:org",
14234
- "retrofit:retrieve:hardis:sources:org",
14235
- "retrofit:retrieve:sources:hardis:org",
14236
- "retrofit:retrieve:sources:org:hardis",
14237
- "hardis:org:retrofit:sources:retrieve",
14238
- "org:hardis:retrofit:sources:retrieve",
14239
- "org:retrofit:hardis:sources:retrieve",
14240
- "org:retrofit:sources:hardis:retrieve",
14241
- "org:retrofit:sources:retrieve:hardis",
14242
- "hardis:retrofit:org:sources:retrieve",
14243
- "retrofit:hardis:org:sources:retrieve",
14244
- "retrofit:org:hardis:sources:retrieve",
14245
- "retrofit:org:sources:hardis:retrieve",
14246
- "retrofit:org:sources:retrieve:hardis",
14247
- "hardis:retrofit:sources:org:retrieve",
14248
- "retrofit:hardis:sources:org:retrieve",
14249
- "retrofit:sources:hardis:org:retrieve",
14250
- "retrofit:sources:org:hardis:retrieve",
14251
- "retrofit:sources:org:retrieve:hardis",
14252
- "hardis:retrofit:sources:retrieve:org",
14253
- "retrofit:hardis:sources:retrieve:org",
14254
- "retrofit:sources:hardis:retrieve:org",
14255
- "retrofit:sources:retrieve:hardis:org",
14256
- "retrofit:sources:retrieve:org:hardis"
13883
+ "hardis:org:retrieve:sources:dx2",
13884
+ "org:hardis:retrieve:sources:dx2",
13885
+ "org:retrieve:hardis:sources:dx2",
13886
+ "org:retrieve:sources:hardis:dx2",
13887
+ "org:retrieve:sources:dx2:hardis",
13888
+ "hardis:retrieve:org:sources:dx2",
13889
+ "retrieve:hardis:org:sources:dx2",
13890
+ "retrieve:org:hardis:sources:dx2",
13891
+ "retrieve:org:sources:hardis:dx2",
13892
+ "retrieve:org:sources:dx2:hardis",
13893
+ "hardis:retrieve:sources:org:dx2",
13894
+ "retrieve:hardis:sources:org:dx2",
13895
+ "retrieve:sources:hardis:org:dx2",
13896
+ "retrieve:sources:org:hardis:dx2",
13897
+ "retrieve:sources:org:dx2:hardis",
13898
+ "hardis:retrieve:sources:dx2:org",
13899
+ "retrieve:hardis:sources:dx2:org",
13900
+ "retrieve:sources:hardis:dx2:org",
13901
+ "retrieve:sources:dx2:hardis:org",
13902
+ "retrieve:sources:dx2:org:hardis",
13903
+ "hardis:org:sources:retrieve:dx2",
13904
+ "org:hardis:sources:retrieve:dx2",
13905
+ "org:sources:hardis:retrieve:dx2",
13906
+ "org:sources:retrieve:hardis:dx2",
13907
+ "org:sources:retrieve:dx2:hardis",
13908
+ "hardis:sources:org:retrieve:dx2",
13909
+ "sources:hardis:org:retrieve:dx2",
13910
+ "sources:org:hardis:retrieve:dx2",
13911
+ "sources:org:retrieve:hardis:dx2",
13912
+ "sources:org:retrieve:dx2:hardis",
13913
+ "hardis:sources:retrieve:org:dx2",
13914
+ "sources:hardis:retrieve:org:dx2",
13915
+ "sources:retrieve:hardis:org:dx2",
13916
+ "sources:retrieve:org:hardis:dx2",
13917
+ "sources:retrieve:org:dx2:hardis",
13918
+ "hardis:sources:retrieve:dx2:org",
13919
+ "sources:hardis:retrieve:dx2:org",
13920
+ "sources:retrieve:hardis:dx2:org",
13921
+ "sources:retrieve:dx2:hardis:org",
13922
+ "sources:retrieve:dx2:org:hardis",
13923
+ "hardis:org:sources:dx2:retrieve",
13924
+ "org:hardis:sources:dx2:retrieve",
13925
+ "org:sources:hardis:dx2:retrieve",
13926
+ "org:sources:dx2:hardis:retrieve",
13927
+ "org:sources:dx2:retrieve:hardis",
13928
+ "hardis:sources:org:dx2:retrieve",
13929
+ "sources:hardis:org:dx2:retrieve",
13930
+ "sources:org:hardis:dx2:retrieve",
13931
+ "sources:org:dx2:hardis:retrieve",
13932
+ "sources:org:dx2:retrieve:hardis",
13933
+ "hardis:sources:dx2:org:retrieve",
13934
+ "sources:hardis:dx2:org:retrieve",
13935
+ "sources:dx2:hardis:org:retrieve",
13936
+ "sources:dx2:org:hardis:retrieve",
13937
+ "sources:dx2:org:retrieve:hardis",
13938
+ "hardis:sources:dx2:retrieve:org",
13939
+ "sources:hardis:dx2:retrieve:org",
13940
+ "sources:dx2:hardis:retrieve:org",
13941
+ "sources:dx2:retrieve:hardis:org",
13942
+ "sources:dx2:retrieve:org:hardis",
13943
+ "hardis:org:retrieve:dx2:sources",
13944
+ "org:hardis:retrieve:dx2:sources",
13945
+ "org:retrieve:hardis:dx2:sources",
13946
+ "org:retrieve:dx2:hardis:sources",
13947
+ "org:retrieve:dx2:sources:hardis",
13948
+ "hardis:retrieve:org:dx2:sources",
13949
+ "retrieve:hardis:org:dx2:sources",
13950
+ "retrieve:org:hardis:dx2:sources",
13951
+ "retrieve:org:dx2:hardis:sources",
13952
+ "retrieve:org:dx2:sources:hardis",
13953
+ "hardis:retrieve:dx2:org:sources",
13954
+ "retrieve:hardis:dx2:org:sources",
13955
+ "retrieve:dx2:hardis:org:sources",
13956
+ "retrieve:dx2:org:hardis:sources",
13957
+ "retrieve:dx2:org:sources:hardis",
13958
+ "hardis:retrieve:dx2:sources:org",
13959
+ "retrieve:hardis:dx2:sources:org",
13960
+ "retrieve:dx2:hardis:sources:org",
13961
+ "retrieve:dx2:sources:hardis:org",
13962
+ "retrieve:dx2:sources:org:hardis",
13963
+ "hardis:org:dx2:retrieve:sources",
13964
+ "org:hardis:dx2:retrieve:sources",
13965
+ "org:dx2:hardis:retrieve:sources",
13966
+ "org:dx2:retrieve:hardis:sources",
13967
+ "org:dx2:retrieve:sources:hardis",
13968
+ "hardis:dx2:org:retrieve:sources",
13969
+ "dx2:hardis:org:retrieve:sources",
13970
+ "dx2:org:hardis:retrieve:sources",
13971
+ "dx2:org:retrieve:hardis:sources",
13972
+ "dx2:org:retrieve:sources:hardis",
13973
+ "hardis:dx2:retrieve:org:sources",
13974
+ "dx2:hardis:retrieve:org:sources",
13975
+ "dx2:retrieve:hardis:org:sources",
13976
+ "dx2:retrieve:org:hardis:sources",
13977
+ "dx2:retrieve:org:sources:hardis",
13978
+ "hardis:dx2:retrieve:sources:org",
13979
+ "dx2:hardis:retrieve:sources:org",
13980
+ "dx2:retrieve:hardis:sources:org",
13981
+ "dx2:retrieve:sources:hardis:org",
13982
+ "dx2:retrieve:sources:org:hardis",
13983
+ "hardis:org:dx2:sources:retrieve",
13984
+ "org:hardis:dx2:sources:retrieve",
13985
+ "org:dx2:hardis:sources:retrieve",
13986
+ "org:dx2:sources:hardis:retrieve",
13987
+ "org:dx2:sources:retrieve:hardis",
13988
+ "hardis:dx2:org:sources:retrieve",
13989
+ "dx2:hardis:org:sources:retrieve",
13990
+ "dx2:org:hardis:sources:retrieve",
13991
+ "dx2:org:sources:hardis:retrieve",
13992
+ "dx2:org:sources:retrieve:hardis",
13993
+ "hardis:dx2:sources:org:retrieve",
13994
+ "dx2:hardis:sources:org:retrieve",
13995
+ "dx2:sources:hardis:org:retrieve",
13996
+ "dx2:sources:org:hardis:retrieve",
13997
+ "dx2:sources:org:retrieve:hardis",
13998
+ "hardis:dx2:sources:retrieve:org",
13999
+ "dx2:hardis:sources:retrieve:org",
14000
+ "dx2:sources:hardis:retrieve:org",
14001
+ "dx2:sources:retrieve:hardis:org",
14002
+ "dx2:sources:retrieve:org:hardis"
14257
14003
  ]
14258
14004
  },
14259
- "hardis:project:deploy:sources:metadata": {
14005
+ "hardis:org:retrieve:sources:metadata": {
14260
14006
  "aliases": [],
14261
14007
  "args": {},
14262
- "description": "Deploy metadatas to source org",
14008
+ "description": "Retrieve Salesforce DX project from org",
14263
14009
  "examples": [
14264
- "$ sf hardis:project:deploy:sources:metadata"
14010
+ "$ sf hardis:org:retrieve:sources:metadata",
14011
+ "$ SFDX_RETRIEVE_WAIT_MINUTES=200 sf hardis:org:retrieve:sources:metadata"
14265
14012
  ],
14266
14013
  "flags": {
14267
14014
  "json": {
@@ -14279,17 +14026,10 @@
14279
14026
  "multiple": false,
14280
14027
  "type": "option"
14281
14028
  },
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",
14029
+ "folder": {
14030
+ "char": "f",
14031
+ "description": "Folder",
14032
+ "name": "folder",
14293
14033
  "default": ".",
14294
14034
  "hasDynamicHelp": false,
14295
14035
  "multiple": false,
@@ -14297,40 +14037,24 @@
14297
14037
  },
14298
14038
  "packagexml": {
14299
14039
  "char": "p",
14300
- "description": "Path to package.xml file to deploy",
14040
+ "description": "Path to package.xml manifest file",
14301
14041
  "name": "packagexml",
14302
14042
  "hasDynamicHelp": false,
14303
14043
  "multiple": false,
14304
14044
  "type": "option"
14305
14045
  },
14306
- "filter": {
14307
- "char": "f",
14308
- "description": "Filter metadatas before deploying",
14309
- "name": "filter",
14046
+ "includemanaged": {
14047
+ "description": "Include items from managed packages",
14048
+ "name": "includemanaged",
14310
14049
  "allowNo": false,
14311
14050
  "type": "boolean"
14312
14051
  },
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",
14052
+ "instanceurl": {
14053
+ "char": "r",
14054
+ "description": "URL of org instance",
14055
+ "name": "instanceurl",
14326
14056
  "hasDynamicHelp": false,
14327
14057
  "multiple": false,
14328
- "options": [
14329
- "NoTestRun",
14330
- "RunSpecifiedTests",
14331
- "RunLocalTests",
14332
- "RunAllTestsInOrg"
14333
- ],
14334
14058
  "type": "option"
14335
14059
  },
14336
14060
  "debug": {
@@ -14371,151 +14095,427 @@
14371
14095
  },
14372
14096
  "hasDynamicHelp": true,
14373
14097
  "hiddenAliases": [],
14374
- "id": "hardis:project:deploy:sources:metadata",
14098
+ "id": "hardis:org:retrieve:sources:metadata",
14375
14099
  "pluginAlias": "sfdx-hardis",
14376
14100
  "pluginName": "sfdx-hardis",
14377
14101
  "pluginType": "core",
14378
14102
  "strict": true,
14379
14103
  "enableJsonFlag": true,
14380
- "title": "Deploy metadata sources to org",
14104
+ "title": "Retrieve sfdx sources from org",
14381
14105
  "requiresProject": false,
14382
- "requiresSfdxPlugins": [
14383
- "sfdx-essentials"
14384
- ],
14106
+ "triggerNotification": true,
14385
14107
  "isESM": true,
14386
14108
  "relativePath": [
14387
14109
  "lib",
14388
14110
  "commands",
14389
14111
  "hardis",
14390
- "project",
14391
- "deploy",
14112
+ "org",
14113
+ "retrieve",
14392
14114
  "sources",
14393
14115
  "metadata.js"
14394
14116
  ],
14395
14117
  "aliasPermutations": [],
14396
14118
  "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"
14119
+ "hardis:org:retrieve:sources:metadata",
14120
+ "org:hardis:retrieve:sources:metadata",
14121
+ "org:retrieve:hardis:sources:metadata",
14122
+ "org:retrieve:sources:hardis:metadata",
14123
+ "org:retrieve:sources:metadata:hardis",
14124
+ "hardis:retrieve:org:sources:metadata",
14125
+ "retrieve:hardis:org:sources:metadata",
14126
+ "retrieve:org:hardis:sources:metadata",
14127
+ "retrieve:org:sources:hardis:metadata",
14128
+ "retrieve:org:sources:metadata:hardis",
14129
+ "hardis:retrieve:sources:org:metadata",
14130
+ "retrieve:hardis:sources:org:metadata",
14131
+ "retrieve:sources:hardis:org:metadata",
14132
+ "retrieve:sources:org:hardis:metadata",
14133
+ "retrieve:sources:org:metadata:hardis",
14134
+ "hardis:retrieve:sources:metadata:org",
14135
+ "retrieve:hardis:sources:metadata:org",
14136
+ "retrieve:sources:hardis:metadata:org",
14137
+ "retrieve:sources:metadata:hardis:org",
14138
+ "retrieve:sources:metadata:org:hardis",
14139
+ "hardis:org:sources:retrieve:metadata",
14140
+ "org:hardis:sources:retrieve:metadata",
14141
+ "org:sources:hardis:retrieve:metadata",
14142
+ "org:sources:retrieve:hardis:metadata",
14143
+ "org:sources:retrieve:metadata:hardis",
14144
+ "hardis:sources:org:retrieve:metadata",
14145
+ "sources:hardis:org:retrieve:metadata",
14146
+ "sources:org:hardis:retrieve:metadata",
14147
+ "sources:org:retrieve:hardis:metadata",
14148
+ "sources:org:retrieve:metadata:hardis",
14149
+ "hardis:sources:retrieve:org:metadata",
14150
+ "sources:hardis:retrieve:org:metadata",
14151
+ "sources:retrieve:hardis:org:metadata",
14152
+ "sources:retrieve:org:hardis:metadata",
14153
+ "sources:retrieve:org:metadata:hardis",
14154
+ "hardis:sources:retrieve:metadata:org",
14155
+ "sources:hardis:retrieve:metadata:org",
14156
+ "sources:retrieve:hardis:metadata:org",
14157
+ "sources:retrieve:metadata:hardis:org",
14158
+ "sources:retrieve:metadata:org:hardis",
14159
+ "hardis:org:sources:metadata:retrieve",
14160
+ "org:hardis:sources:metadata:retrieve",
14161
+ "org:sources:hardis:metadata:retrieve",
14162
+ "org:sources:metadata:hardis:retrieve",
14163
+ "org:sources:metadata:retrieve:hardis",
14164
+ "hardis:sources:org:metadata:retrieve",
14165
+ "sources:hardis:org:metadata:retrieve",
14166
+ "sources:org:hardis:metadata:retrieve",
14167
+ "sources:org:metadata:hardis:retrieve",
14168
+ "sources:org:metadata:retrieve:hardis",
14169
+ "hardis:sources:metadata:org:retrieve",
14170
+ "sources:hardis:metadata:org:retrieve",
14171
+ "sources:metadata:hardis:org:retrieve",
14172
+ "sources:metadata:org:hardis:retrieve",
14173
+ "sources:metadata:org:retrieve:hardis",
14174
+ "hardis:sources:metadata:retrieve:org",
14175
+ "sources:hardis:metadata:retrieve:org",
14176
+ "sources:metadata:hardis:retrieve:org",
14177
+ "sources:metadata:retrieve:hardis:org",
14178
+ "sources:metadata:retrieve:org:hardis",
14179
+ "hardis:org:retrieve:metadata:sources",
14180
+ "org:hardis:retrieve:metadata:sources",
14181
+ "org:retrieve:hardis:metadata:sources",
14182
+ "org:retrieve:metadata:hardis:sources",
14183
+ "org:retrieve:metadata:sources:hardis",
14184
+ "hardis:retrieve:org:metadata:sources",
14185
+ "retrieve:hardis:org:metadata:sources",
14186
+ "retrieve:org:hardis:metadata:sources",
14187
+ "retrieve:org:metadata:hardis:sources",
14188
+ "retrieve:org:metadata:sources:hardis",
14189
+ "hardis:retrieve:metadata:org:sources",
14190
+ "retrieve:hardis:metadata:org:sources",
14191
+ "retrieve:metadata:hardis:org:sources",
14192
+ "retrieve:metadata:org:hardis:sources",
14193
+ "retrieve:metadata:org:sources:hardis",
14194
+ "hardis:retrieve:metadata:sources:org",
14195
+ "retrieve:hardis:metadata:sources:org",
14196
+ "retrieve:metadata:hardis:sources:org",
14197
+ "retrieve:metadata:sources:hardis:org",
14198
+ "retrieve:metadata:sources:org:hardis",
14199
+ "hardis:org:metadata:retrieve:sources",
14200
+ "org:hardis:metadata:retrieve:sources",
14201
+ "org:metadata:hardis:retrieve:sources",
14202
+ "org:metadata:retrieve:hardis:sources",
14203
+ "org:metadata:retrieve:sources:hardis",
14204
+ "hardis:metadata:org:retrieve:sources",
14205
+ "metadata:hardis:org:retrieve:sources",
14206
+ "metadata:org:hardis:retrieve:sources",
14207
+ "metadata:org:retrieve:hardis:sources",
14208
+ "metadata:org:retrieve:sources:hardis",
14209
+ "hardis:metadata:retrieve:org:sources",
14210
+ "metadata:hardis:retrieve:org:sources",
14211
+ "metadata:retrieve:hardis:org:sources",
14212
+ "metadata:retrieve:org:hardis:sources",
14213
+ "metadata:retrieve:org:sources:hardis",
14214
+ "hardis:metadata:retrieve:sources:org",
14215
+ "metadata:hardis:retrieve:sources:org",
14216
+ "metadata:retrieve:hardis:sources:org",
14217
+ "metadata:retrieve:sources:hardis:org",
14218
+ "metadata:retrieve:sources:org:hardis",
14219
+ "hardis:org:metadata:sources:retrieve",
14220
+ "org:hardis:metadata:sources:retrieve",
14221
+ "org:metadata:hardis:sources:retrieve",
14222
+ "org:metadata:sources:hardis:retrieve",
14223
+ "org:metadata:sources:retrieve:hardis",
14224
+ "hardis:metadata:org:sources:retrieve",
14225
+ "metadata:hardis:org:sources:retrieve",
14226
+ "metadata:org:hardis:sources:retrieve",
14227
+ "metadata:org:sources:hardis:retrieve",
14228
+ "metadata:org:sources:retrieve:hardis",
14229
+ "hardis:metadata:sources:org:retrieve",
14230
+ "metadata:hardis:sources:org:retrieve",
14231
+ "metadata:sources:hardis:org:retrieve",
14232
+ "metadata:sources:org:hardis:retrieve",
14233
+ "metadata:sources:org:retrieve:hardis",
14234
+ "hardis:metadata:sources:retrieve:org",
14235
+ "metadata:hardis:sources:retrieve:org",
14236
+ "metadata:sources:hardis:retrieve:org",
14237
+ "metadata:sources:retrieve:hardis:org",
14238
+ "metadata:sources:retrieve:org:hardis"
14239
+ ]
14240
+ },
14241
+ "hardis:org:retrieve:sources:retrofit": {
14242
+ "aliases": [],
14243
+ "args": {},
14244
+ "description": "Retrieve changes from org link to a ref branch not present in sources\n\n This command need to be triggered from a branch that is connected to a SF org. It will then retrieve all changes not present in that branch sources, commit them and create a merge request against the default branch. If a merge request already exists, it will simply add a new commit.\n\n Define the following properties in **.sfdx-hardis.yml**\n\n - **productionBranch** : Name of the git branch that is corresponding to production org\n - **retrofitBranch** : Name of the git branch that will be used as merge request target\n\n List of metadata to retrieve can be set in three way, in order of priority :\n\n - `CI_SOURCES_TO_RETROFIT`: env variable (can be defined in CI context)\n - `sourcesToRetrofit` property in `.sfdx-hardis.yml`\n - Default list:\n\n - CompactLayout\n - CustomApplication\n - CustomField\n - CustomLabel\n - CustomLabels\n - CustomMetadata\n - CustomObject\n - CustomObjectTranslation\n - CustomTab\n - DuplicateRule\n - EmailTemplate\n - FlexiPage\n - GlobalValueSet\n - Layout\n - ListView\n - MatchingRules\n - PermissionSet\n - RecordType\n - StandardValueSet\n - Translations\n - ValidationRule\n\n You can also ignore some files even if they have been updated in production. To do that, define property **retrofitIgnoredFiles** in .sfdx-hardis.yml\n\n Example of full retrofit configuration:\n\n ```yaml\n productionBranch: master\n retrofitBranch: preprod\n retrofitIgnoredFiles:\n - force-app/main/default/applications/MyApp.app-meta.xml\n - force-app/main/default/applications/MyOtherApp.app-meta.xml\n - force-app/main/default/flexipages/MyFlexipageContainingDashboards.flexipage-meta.xml\n ```\n ",
14245
+ "examples": [
14246
+ "$ sf hardis:org:retrieve:sources:retrofit",
14247
+ "sf hardis:org:retrieve:sources:retrofit --productionbranch master --commit --commitmode updated",
14248
+ "sf hardis:org:retrieve:sources:retrofit --productionbranch master --retrofitbranch preprod --commit --commitmode updated --push --pushmode mergerequest"
14249
+ ],
14250
+ "flags": {
14251
+ "json": {
14252
+ "description": "Format output as json.",
14253
+ "helpGroup": "GLOBAL",
14254
+ "name": "json",
14255
+ "allowNo": false,
14256
+ "type": "boolean"
14257
+ },
14258
+ "flags-dir": {
14259
+ "helpGroup": "GLOBAL",
14260
+ "name": "flags-dir",
14261
+ "summary": "Import flag values from a directory.",
14262
+ "hasDynamicHelp": false,
14263
+ "multiple": false,
14264
+ "type": "option"
14265
+ },
14266
+ "commit": {
14267
+ "description": "If true, a commit will be performed after the retrofit",
14268
+ "name": "commit",
14269
+ "allowNo": false,
14270
+ "type": "boolean"
14271
+ },
14272
+ "commitmode": {
14273
+ "description": "Defines if we commit all retrieved updates, or all updates including creations",
14274
+ "name": "commitmode",
14275
+ "default": "updated",
14276
+ "hasDynamicHelp": false,
14277
+ "multiple": false,
14278
+ "options": [
14279
+ "updated",
14280
+ "all"
14281
+ ],
14282
+ "type": "option"
14283
+ },
14284
+ "push": {
14285
+ "description": "If true, a push will be performed after the retrofit",
14286
+ "name": "push",
14287
+ "allowNo": false,
14288
+ "type": "boolean"
14289
+ },
14290
+ "pushmode": {
14291
+ "description": "Defines if we send merge request options to git push arguments",
14292
+ "name": "pushmode",
14293
+ "default": "default",
14294
+ "hasDynamicHelp": false,
14295
+ "multiple": false,
14296
+ "options": [
14297
+ "default",
14298
+ "mergerequest"
14299
+ ],
14300
+ "type": "option"
14301
+ },
14302
+ "productionbranch": {
14303
+ "description": "Name of the git branch corresponding to the org we want to perform the retrofit on.\nCan be defined in productionBranch property in .sfdx-hardis.yml",
14304
+ "name": "productionbranch",
14305
+ "hasDynamicHelp": false,
14306
+ "multiple": false,
14307
+ "type": "option"
14308
+ },
14309
+ "retrofittargetbranch": {
14310
+ "description": "Name of branch the merge request will have as target\nCan be defined in retrofitBranch property in .sfdx-hardis.yml",
14311
+ "name": "retrofittargetbranch",
14312
+ "hasDynamicHelp": false,
14313
+ "multiple": false,
14314
+ "type": "option"
14315
+ },
14316
+ "debug": {
14317
+ "char": "d",
14318
+ "description": "Activate debug mode (more logs)",
14319
+ "name": "debug",
14320
+ "allowNo": false,
14321
+ "type": "boolean"
14322
+ },
14323
+ "websocket": {
14324
+ "description": "Websocket host:port for VsCode SFDX Hardis UI integration",
14325
+ "name": "websocket",
14326
+ "hasDynamicHelp": false,
14327
+ "multiple": false,
14328
+ "type": "option"
14329
+ },
14330
+ "skipauth": {
14331
+ "description": "Skip authentication check when a default username is required",
14332
+ "name": "skipauth",
14333
+ "allowNo": false,
14334
+ "type": "boolean"
14335
+ },
14336
+ "target-org": {
14337
+ "aliases": [
14338
+ "targetusername",
14339
+ "u"
14340
+ ],
14341
+ "char": "o",
14342
+ "deprecateAliases": true,
14343
+ "name": "target-org",
14344
+ "noCacheDefault": true,
14345
+ "required": true,
14346
+ "summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
14347
+ "hasDynamicHelp": true,
14348
+ "multiple": false,
14349
+ "type": "option"
14350
+ }
14351
+ },
14352
+ "hasDynamicHelp": true,
14353
+ "hiddenAliases": [],
14354
+ "id": "hardis:org:retrieve:sources:retrofit",
14355
+ "pluginAlias": "sfdx-hardis",
14356
+ "pluginName": "sfdx-hardis",
14357
+ "pluginType": "core",
14358
+ "strict": true,
14359
+ "enableJsonFlag": true,
14360
+ "DEFAULT_SOURCES_TO_RETROFIT": [
14361
+ "CompactLayout",
14362
+ "CustomApplication",
14363
+ "CustomField",
14364
+ "CustomLabel",
14365
+ "CustomLabels",
14366
+ "CustomMetadata",
14367
+ "CustomObject",
14368
+ "CustomObjectTranslation",
14369
+ "CustomTab",
14370
+ "DuplicateRule",
14371
+ "EmailTemplate",
14372
+ "FlexiPage",
14373
+ "GlobalValueSet",
14374
+ "Layout",
14375
+ "ListView",
14376
+ "MatchingRules",
14377
+ "PermissionSet",
14378
+ "RecordType",
14379
+ "StandardValueSet",
14380
+ "Translations",
14381
+ "ValidationRule"
14382
+ ],
14383
+ "title": "Retrofit changes from an org",
14384
+ "requiresProject": true,
14385
+ "isESM": true,
14386
+ "relativePath": [
14387
+ "lib",
14388
+ "commands",
14389
+ "hardis",
14390
+ "org",
14391
+ "retrieve",
14392
+ "sources",
14393
+ "retrofit.js"
14394
+ ],
14395
+ "aliasPermutations": [],
14396
+ "permutations": [
14397
+ "hardis:org:retrieve:sources:retrofit",
14398
+ "org:hardis:retrieve:sources:retrofit",
14399
+ "org:retrieve:hardis:sources:retrofit",
14400
+ "org:retrieve:sources:hardis:retrofit",
14401
+ "org:retrieve:sources:retrofit:hardis",
14402
+ "hardis:retrieve:org:sources:retrofit",
14403
+ "retrieve:hardis:org:sources:retrofit",
14404
+ "retrieve:org:hardis:sources:retrofit",
14405
+ "retrieve:org:sources:hardis:retrofit",
14406
+ "retrieve:org:sources:retrofit:hardis",
14407
+ "hardis:retrieve:sources:org:retrofit",
14408
+ "retrieve:hardis:sources:org:retrofit",
14409
+ "retrieve:sources:hardis:org:retrofit",
14410
+ "retrieve:sources:org:hardis:retrofit",
14411
+ "retrieve:sources:org:retrofit:hardis",
14412
+ "hardis:retrieve:sources:retrofit:org",
14413
+ "retrieve:hardis:sources:retrofit:org",
14414
+ "retrieve:sources:hardis:retrofit:org",
14415
+ "retrieve:sources:retrofit:hardis:org",
14416
+ "retrieve:sources:retrofit:org:hardis",
14417
+ "hardis:org:sources:retrieve:retrofit",
14418
+ "org:hardis:sources:retrieve:retrofit",
14419
+ "org:sources:hardis:retrieve:retrofit",
14420
+ "org:sources:retrieve:hardis:retrofit",
14421
+ "org:sources:retrieve:retrofit:hardis",
14422
+ "hardis:sources:org:retrieve:retrofit",
14423
+ "sources:hardis:org:retrieve:retrofit",
14424
+ "sources:org:hardis:retrieve:retrofit",
14425
+ "sources:org:retrieve:hardis:retrofit",
14426
+ "sources:org:retrieve:retrofit:hardis",
14427
+ "hardis:sources:retrieve:org:retrofit",
14428
+ "sources:hardis:retrieve:org:retrofit",
14429
+ "sources:retrieve:hardis:org:retrofit",
14430
+ "sources:retrieve:org:hardis:retrofit",
14431
+ "sources:retrieve:org:retrofit:hardis",
14432
+ "hardis:sources:retrieve:retrofit:org",
14433
+ "sources:hardis:retrieve:retrofit:org",
14434
+ "sources:retrieve:hardis:retrofit:org",
14435
+ "sources:retrieve:retrofit:hardis:org",
14436
+ "sources:retrieve:retrofit:org:hardis",
14437
+ "hardis:org:sources:retrofit:retrieve",
14438
+ "org:hardis:sources:retrofit:retrieve",
14439
+ "org:sources:hardis:retrofit:retrieve",
14440
+ "org:sources:retrofit:hardis:retrieve",
14441
+ "org:sources:retrofit:retrieve:hardis",
14442
+ "hardis:sources:org:retrofit:retrieve",
14443
+ "sources:hardis:org:retrofit:retrieve",
14444
+ "sources:org:hardis:retrofit:retrieve",
14445
+ "sources:org:retrofit:hardis:retrieve",
14446
+ "sources:org:retrofit:retrieve:hardis",
14447
+ "hardis:sources:retrofit:org:retrieve",
14448
+ "sources:hardis:retrofit:org:retrieve",
14449
+ "sources:retrofit:hardis:org:retrieve",
14450
+ "sources:retrofit:org:hardis:retrieve",
14451
+ "sources:retrofit:org:retrieve:hardis",
14452
+ "hardis:sources:retrofit:retrieve:org",
14453
+ "sources:hardis:retrofit:retrieve:org",
14454
+ "sources:retrofit:hardis:retrieve:org",
14455
+ "sources:retrofit:retrieve:hardis:org",
14456
+ "sources:retrofit:retrieve:org:hardis",
14457
+ "hardis:org:retrieve:retrofit:sources",
14458
+ "org:hardis:retrieve:retrofit:sources",
14459
+ "org:retrieve:hardis:retrofit:sources",
14460
+ "org:retrieve:retrofit:hardis:sources",
14461
+ "org:retrieve:retrofit:sources:hardis",
14462
+ "hardis:retrieve:org:retrofit:sources",
14463
+ "retrieve:hardis:org:retrofit:sources",
14464
+ "retrieve:org:hardis:retrofit:sources",
14465
+ "retrieve:org:retrofit:hardis:sources",
14466
+ "retrieve:org:retrofit:sources:hardis",
14467
+ "hardis:retrieve:retrofit:org:sources",
14468
+ "retrieve:hardis:retrofit:org:sources",
14469
+ "retrieve:retrofit:hardis:org:sources",
14470
+ "retrieve:retrofit:org:hardis:sources",
14471
+ "retrieve:retrofit:org:sources:hardis",
14472
+ "hardis:retrieve:retrofit:sources:org",
14473
+ "retrieve:hardis:retrofit:sources:org",
14474
+ "retrieve:retrofit:hardis:sources:org",
14475
+ "retrieve:retrofit:sources:hardis:org",
14476
+ "retrieve:retrofit:sources:org:hardis",
14477
+ "hardis:org:retrofit:retrieve:sources",
14478
+ "org:hardis:retrofit:retrieve:sources",
14479
+ "org:retrofit:hardis:retrieve:sources",
14480
+ "org:retrofit:retrieve:hardis:sources",
14481
+ "org:retrofit:retrieve:sources:hardis",
14482
+ "hardis:retrofit:org:retrieve:sources",
14483
+ "retrofit:hardis:org:retrieve:sources",
14484
+ "retrofit:org:hardis:retrieve:sources",
14485
+ "retrofit:org:retrieve:hardis:sources",
14486
+ "retrofit:org:retrieve:sources:hardis",
14487
+ "hardis:retrofit:retrieve:org:sources",
14488
+ "retrofit:hardis:retrieve:org:sources",
14489
+ "retrofit:retrieve:hardis:org:sources",
14490
+ "retrofit:retrieve:org:hardis:sources",
14491
+ "retrofit:retrieve:org:sources:hardis",
14492
+ "hardis:retrofit:retrieve:sources:org",
14493
+ "retrofit:hardis:retrieve:sources:org",
14494
+ "retrofit:retrieve:hardis:sources:org",
14495
+ "retrofit:retrieve:sources:hardis:org",
14496
+ "retrofit:retrieve:sources:org:hardis",
14497
+ "hardis:org:retrofit:sources:retrieve",
14498
+ "org:hardis:retrofit:sources:retrieve",
14499
+ "org:retrofit:hardis:sources:retrieve",
14500
+ "org:retrofit:sources:hardis:retrieve",
14501
+ "org:retrofit:sources:retrieve:hardis",
14502
+ "hardis:retrofit:org:sources:retrieve",
14503
+ "retrofit:hardis:org:sources:retrieve",
14504
+ "retrofit:org:hardis:sources:retrieve",
14505
+ "retrofit:org:sources:hardis:retrieve",
14506
+ "retrofit:org:sources:retrieve:hardis",
14507
+ "hardis:retrofit:sources:org:retrieve",
14508
+ "retrofit:hardis:sources:org:retrieve",
14509
+ "retrofit:sources:hardis:org:retrieve",
14510
+ "retrofit:sources:org:hardis:retrieve",
14511
+ "retrofit:sources:org:retrieve:hardis",
14512
+ "hardis:retrofit:sources:retrieve:org",
14513
+ "retrofit:hardis:sources:retrieve:org",
14514
+ "retrofit:sources:hardis:retrieve:org",
14515
+ "retrofit:sources:retrieve:hardis:org",
14516
+ "retrofit:sources:retrieve:org:hardis"
14517
14517
  ]
14518
14518
  }
14519
14519
  },
14520
- "version": "5.25.0"
14520
+ "version": "5.25.2"
14521
14521
  }