sfdx-hardis 5.25.1 → 5.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/lib/commands/hardis/org/monitor/backup.js +2 -0
- package/lib/commands/hardis/org/monitor/backup.js.map +1 -1
- package/lib/common/utils/gitUtils.js +5 -1
- package/lib/common/utils/gitUtils.js.map +1 -1
- package/lib/common/utils/index.js +21 -2
- package/lib/common/utils/index.js.map +1 -1
- package/oclif.manifest.json +974 -974
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -57,12 +57,13 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:auth:login": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Login to salesforce org",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
65
|
+
"$ sf hardis:auth:login",
|
|
66
|
+
"CI=true sf hardis:auth:login"
|
|
66
67
|
],
|
|
67
68
|
"flags": {
|
|
68
69
|
"json": {
|
|
@@ -80,6 +81,28 @@
|
|
|
80
81
|
"multiple": false,
|
|
81
82
|
"type": "option"
|
|
82
83
|
},
|
|
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
|
+
},
|
|
83
106
|
"debug": {
|
|
84
107
|
"char": "d",
|
|
85
108
|
"description": "Activate debug mode (more logs)",
|
|
@@ -103,39 +126,38 @@
|
|
|
103
126
|
},
|
|
104
127
|
"hasDynamicHelp": false,
|
|
105
128
|
"hiddenAliases": [],
|
|
106
|
-
"id": "hardis:
|
|
129
|
+
"id": "hardis:auth:login",
|
|
107
130
|
"pluginAlias": "sfdx-hardis",
|
|
108
131
|
"pluginName": "sfdx-hardis",
|
|
109
132
|
"pluginType": "core",
|
|
110
133
|
"strict": true,
|
|
111
134
|
"enableJsonFlag": true,
|
|
112
|
-
"title": "
|
|
135
|
+
"title": "Login",
|
|
113
136
|
"requiresProject": false,
|
|
114
137
|
"isESM": true,
|
|
115
138
|
"relativePath": [
|
|
116
139
|
"lib",
|
|
117
140
|
"commands",
|
|
118
141
|
"hardis",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
142
|
+
"auth",
|
|
143
|
+
"login.js"
|
|
121
144
|
],
|
|
122
145
|
"aliasPermutations": [],
|
|
123
146
|
"permutations": [
|
|
124
|
-
"hardis:
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"hardis:
|
|
128
|
-
"
|
|
129
|
-
"
|
|
147
|
+
"hardis:auth:login",
|
|
148
|
+
"auth:hardis:login",
|
|
149
|
+
"auth:login:hardis",
|
|
150
|
+
"hardis:login:auth",
|
|
151
|
+
"login:hardis:auth",
|
|
152
|
+
"login:auth:hardis"
|
|
130
153
|
]
|
|
131
154
|
},
|
|
132
|
-
"hardis:
|
|
155
|
+
"hardis:cache:clear": {
|
|
133
156
|
"aliases": [],
|
|
134
157
|
"args": {},
|
|
135
|
-
"description": "
|
|
158
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
136
159
|
"examples": [
|
|
137
|
-
"$ sf hardis:
|
|
138
|
-
"CI=true sf hardis:auth:login"
|
|
160
|
+
"$ sf hardis:cache:clear"
|
|
139
161
|
],
|
|
140
162
|
"flags": {
|
|
141
163
|
"json": {
|
|
@@ -153,28 +175,6 @@
|
|
|
153
175
|
"multiple": false,
|
|
154
176
|
"type": "option"
|
|
155
177
|
},
|
|
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:
|
|
201
|
+
"id": "hardis:cache:clear",
|
|
202
202
|
"pluginAlias": "sfdx-hardis",
|
|
203
203
|
"pluginName": "sfdx-hardis",
|
|
204
204
|
"pluginType": "core",
|
|
205
205
|
"strict": true,
|
|
206
206
|
"enableJsonFlag": true,
|
|
207
|
-
"title": "
|
|
207
|
+
"title": "Clear sfdx-hardis cache",
|
|
208
208
|
"requiresProject": false,
|
|
209
209
|
"isESM": true,
|
|
210
210
|
"relativePath": [
|
|
211
211
|
"lib",
|
|
212
212
|
"commands",
|
|
213
213
|
"hardis",
|
|
214
|
-
"
|
|
215
|
-
"
|
|
214
|
+
"cache",
|
|
215
|
+
"clear.js"
|
|
216
216
|
],
|
|
217
217
|
"aliasPermutations": [],
|
|
218
218
|
"permutations": [
|
|
219
|
-
"hardis:
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
219
|
+
"hardis:cache:clear",
|
|
220
|
+
"cache:hardis:clear",
|
|
221
|
+
"cache:clear:hardis",
|
|
222
|
+
"hardis:clear:cache",
|
|
223
|
+
"clear:hardis:cache",
|
|
224
|
+
"clear:cache:hardis"
|
|
225
225
|
]
|
|
226
226
|
},
|
|
227
227
|
"hardis:config:get": {
|
|
@@ -2729,12 +2729,12 @@
|
|
|
2729
2729
|
"lint:project:hardis"
|
|
2730
2730
|
]
|
|
2731
2731
|
},
|
|
2732
|
-
"hardis:
|
|
2732
|
+
"hardis:source:deploy": {
|
|
2733
2733
|
"aliases": [],
|
|
2734
2734
|
"args": {},
|
|
2735
|
-
"description": "
|
|
2735
|
+
"description": "sfdx-hardis wrapper for sfdx force:source:deploy that displays tips to solve deployment errors.\n\nAdditional to the base command wrapper: If using **--checkonly**, add options **--checkcoverage** and **--coverageformatters json-summary** to check that org coverage is > 75% (or value defined in .sfdx-hardis.yml property **apexTestsMinCoverageOrgWide**)\n\n### Deployment results\n\nYou can also have deployment results as pull request comments, on:\n\n- GitHub (see [GitHub Pull Requests comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-github/))\n- Gitlab (see [Gitlab integration configuration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-gitlab/))\n- Azure DevOps (see [Azure integration configuration](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/))\n\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n### Deployment pre or post commands\n\nYou can define command lines to run before or after a deployment, with parameters:\n\n- **id**: Unique Id for the command\n- **label**: Human readable label for the command\n- **skipIfError**: If defined to \"true\", the post-command won't be run if there is a deployment failure\n- **context**: Defines the context where the command will be run. Can be **all** (default), **check-deployment-only** or **process-deployment-only**\n- **runOnlyOnceByOrg**: If set to true, the command will be run only one time per org. A record of SfdxHardisTrace__c is stored to make that possible (it needs to be existing in target org)\n\nIf the commands are not the same depending on the target org, you can define them into **config/branches/.sfdx-hardis-BRANCHNAME.yml** instead of root **config/.sfdx-hardis.yml**\n\nExample:\n\n```yaml\ncommandsPreDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to the deployment user\n command: sf data update record --sobject User --where \"Username='deploy.github@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n\ncommandsPostDeploy:\n - id: knowledgeUnassign\n label: Remove KnowledgeUser right to the user who has it\n command: sf data update record --sobject User --where \"UserPermissionsKnowledgeUser='true'\" --values \"UserPermissionsKnowledgeUser='false'\" --json\n - id: knowledgeAssign\n label: Assign Knowledge user to desired username\n command: sf data update record --sobject User --where \"Username='admin-yser@myclient.com'\" --values \"UserPermissionsKnowledgeUser='true'\" --json\n - id: someActionToRunJustOneTime\n label: And to run only if deployment is success\n command: sf sfdmu:run ...\n skipIfError: true\n context: process-deployment-only\n runOnlyOnceByOrg: true\n```\n\nNotes:\n\n- You can disable coloring of errors in red by defining env variable SFDX_HARDIS_DEPLOY_ERR_COLORS=false\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_deploy)\n",
|
|
2736
2736
|
"examples": [
|
|
2737
|
-
"$ sf hardis:
|
|
2737
|
+
"$ 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"
|
|
2738
2738
|
],
|
|
2739
2739
|
"flags": {
|
|
2740
2740
|
"json": {
|
|
@@ -2752,214 +2752,205 @@
|
|
|
2752
2752
|
"multiple": false,
|
|
2753
2753
|
"type": "option"
|
|
2754
2754
|
},
|
|
2755
|
-
"
|
|
2756
|
-
"char": "
|
|
2757
|
-
"description": "
|
|
2758
|
-
"name": "
|
|
2755
|
+
"checkonly": {
|
|
2756
|
+
"char": "c",
|
|
2757
|
+
"description": "checkonly",
|
|
2758
|
+
"name": "checkonly",
|
|
2759
2759
|
"allowNo": false,
|
|
2760
2760
|
"type": "boolean"
|
|
2761
2761
|
},
|
|
2762
|
-
"
|
|
2763
|
-
"description": "
|
|
2764
|
-
"name": "
|
|
2762
|
+
"soapdeploy": {
|
|
2763
|
+
"description": "soapDeploy",
|
|
2764
|
+
"name": "soapdeploy",
|
|
2765
2765
|
"allowNo": false,
|
|
2766
2766
|
"type": "boolean"
|
|
2767
2767
|
},
|
|
2768
|
-
"
|
|
2769
|
-
"char": "
|
|
2770
|
-
"description": "
|
|
2771
|
-
"name": "
|
|
2772
|
-
"
|
|
2773
|
-
"
|
|
2768
|
+
"wait": {
|
|
2769
|
+
"char": "w",
|
|
2770
|
+
"description": "wait",
|
|
2771
|
+
"name": "wait",
|
|
2772
|
+
"default": 60,
|
|
2773
|
+
"hasDynamicHelp": false,
|
|
2774
|
+
"multiple": false,
|
|
2775
|
+
"type": "option"
|
|
2774
2776
|
},
|
|
2775
|
-
"
|
|
2776
|
-
"
|
|
2777
|
-
"
|
|
2777
|
+
"testlevel": {
|
|
2778
|
+
"char": "l",
|
|
2779
|
+
"description": "testlevel",
|
|
2780
|
+
"name": "testlevel",
|
|
2781
|
+
"default": "NoTestRun",
|
|
2778
2782
|
"hasDynamicHelp": false,
|
|
2779
2783
|
"multiple": false,
|
|
2784
|
+
"options": [
|
|
2785
|
+
"NoTestRun",
|
|
2786
|
+
"RunSpecifiedTests",
|
|
2787
|
+
"RunLocalTests",
|
|
2788
|
+
"RunAllTestsInOrg"
|
|
2789
|
+
],
|
|
2780
2790
|
"type": "option"
|
|
2781
2791
|
},
|
|
2782
|
-
"
|
|
2783
|
-
"
|
|
2784
|
-
"
|
|
2792
|
+
"runtests": {
|
|
2793
|
+
"char": "r",
|
|
2794
|
+
"description": "runTests",
|
|
2795
|
+
"name": "runtests",
|
|
2796
|
+
"default": [],
|
|
2797
|
+
"hasDynamicHelp": false,
|
|
2798
|
+
"multiple": true,
|
|
2799
|
+
"type": "option"
|
|
2800
|
+
},
|
|
2801
|
+
"ignoreerrors": {
|
|
2802
|
+
"description": "ignoreErrors",
|
|
2803
|
+
"name": "ignoreerrors",
|
|
2785
2804
|
"allowNo": false,
|
|
2786
2805
|
"type": "boolean"
|
|
2787
2806
|
},
|
|
2788
|
-
"
|
|
2789
|
-
"
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
"char": "v",
|
|
2793
|
-
"deprecateAliases": true,
|
|
2794
|
-
"name": "target-dev-hub",
|
|
2795
|
-
"noCacheDefault": true,
|
|
2796
|
-
"required": true,
|
|
2797
|
-
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
2798
|
-
"hasDynamicHelp": true,
|
|
2799
|
-
"multiple": false,
|
|
2800
|
-
"type": "option"
|
|
2801
|
-
}
|
|
2802
|
-
},
|
|
2803
|
-
"hasDynamicHelp": true,
|
|
2804
|
-
"hiddenAliases": [],
|
|
2805
|
-
"id": "hardis:scratch:create",
|
|
2806
|
-
"pluginAlias": "sfdx-hardis",
|
|
2807
|
-
"pluginName": "sfdx-hardis",
|
|
2808
|
-
"pluginType": "core",
|
|
2809
|
-
"strict": true,
|
|
2810
|
-
"enableJsonFlag": true,
|
|
2811
|
-
"title": "Create and initialize scratch org",
|
|
2812
|
-
"requiresProject": true,
|
|
2813
|
-
"requiresSfdxPlugins": [
|
|
2814
|
-
"sfdmu",
|
|
2815
|
-
"texei-sfdx-plugin"
|
|
2816
|
-
],
|
|
2817
|
-
"isESM": true,
|
|
2818
|
-
"relativePath": [
|
|
2819
|
-
"lib",
|
|
2820
|
-
"commands",
|
|
2821
|
-
"hardis",
|
|
2822
|
-
"scratch",
|
|
2823
|
-
"create.js"
|
|
2824
|
-
],
|
|
2825
|
-
"aliasPermutations": [],
|
|
2826
|
-
"permutations": [
|
|
2827
|
-
"hardis:scratch:create",
|
|
2828
|
-
"scratch:hardis:create",
|
|
2829
|
-
"scratch:create:hardis",
|
|
2830
|
-
"hardis:create:scratch",
|
|
2831
|
-
"create:hardis:scratch",
|
|
2832
|
-
"create:scratch:hardis"
|
|
2833
|
-
]
|
|
2834
|
-
},
|
|
2835
|
-
"hardis:scratch:delete": {
|
|
2836
|
-
"aliases": [],
|
|
2837
|
-
"args": {},
|
|
2838
|
-
"description": "Assisted menu to delete scratch orgs associated to a DevHub",
|
|
2839
|
-
"examples": [
|
|
2840
|
-
"$ sf hardis:scratch:delete"
|
|
2841
|
-
],
|
|
2842
|
-
"flags": {
|
|
2843
|
-
"json": {
|
|
2844
|
-
"description": "Format output as json.",
|
|
2845
|
-
"helpGroup": "GLOBAL",
|
|
2846
|
-
"name": "json",
|
|
2807
|
+
"ignorewarnings": {
|
|
2808
|
+
"char": "g",
|
|
2809
|
+
"description": "ignoreWarnings",
|
|
2810
|
+
"name": "ignorewarnings",
|
|
2847
2811
|
"allowNo": false,
|
|
2848
2812
|
"type": "boolean"
|
|
2849
2813
|
},
|
|
2850
|
-
"
|
|
2851
|
-
"
|
|
2852
|
-
"
|
|
2853
|
-
"
|
|
2814
|
+
"validateddeployrequestid": {
|
|
2815
|
+
"char": "q",
|
|
2816
|
+
"description": "validateDeployRequestId",
|
|
2817
|
+
"exclusive": [
|
|
2818
|
+
"manifest",
|
|
2819
|
+
"metadata",
|
|
2820
|
+
"sourcepath",
|
|
2821
|
+
"checkonly",
|
|
2822
|
+
"testlevel",
|
|
2823
|
+
"runtests",
|
|
2824
|
+
"ignoreerrors",
|
|
2825
|
+
"ignorewarnings"
|
|
2826
|
+
],
|
|
2827
|
+
"name": "validateddeployrequestid",
|
|
2854
2828
|
"hasDynamicHelp": false,
|
|
2855
2829
|
"multiple": false,
|
|
2856
2830
|
"type": "option"
|
|
2857
2831
|
},
|
|
2858
|
-
"
|
|
2859
|
-
"
|
|
2860
|
-
"
|
|
2861
|
-
"name": "debug",
|
|
2832
|
+
"verbose": {
|
|
2833
|
+
"description": "verbose",
|
|
2834
|
+
"name": "verbose",
|
|
2862
2835
|
"allowNo": false,
|
|
2863
2836
|
"type": "boolean"
|
|
2864
2837
|
},
|
|
2865
|
-
"
|
|
2866
|
-
"
|
|
2867
|
-
"
|
|
2868
|
-
"
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
"
|
|
2874
|
-
"
|
|
2875
|
-
"
|
|
2876
|
-
"type": "boolean"
|
|
2838
|
+
"metadata": {
|
|
2839
|
+
"char": "m",
|
|
2840
|
+
"description": "metadata",
|
|
2841
|
+
"exclusive": [
|
|
2842
|
+
"manifest",
|
|
2843
|
+
"sourcepath"
|
|
2844
|
+
],
|
|
2845
|
+
"name": "metadata",
|
|
2846
|
+
"hasDynamicHelp": false,
|
|
2847
|
+
"multiple": true,
|
|
2848
|
+
"type": "option"
|
|
2877
2849
|
},
|
|
2878
|
-
"
|
|
2879
|
-
"
|
|
2880
|
-
|
|
2850
|
+
"sourcepath": {
|
|
2851
|
+
"char": "p",
|
|
2852
|
+
"description": "sourcePath",
|
|
2853
|
+
"exclusive": [
|
|
2854
|
+
"manifest",
|
|
2855
|
+
"metadata"
|
|
2881
2856
|
],
|
|
2882
|
-
"
|
|
2883
|
-
"
|
|
2884
|
-
"
|
|
2885
|
-
"
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
"
|
|
2857
|
+
"name": "sourcepath",
|
|
2858
|
+
"hasDynamicHelp": false,
|
|
2859
|
+
"multiple": true,
|
|
2860
|
+
"type": "option"
|
|
2861
|
+
},
|
|
2862
|
+
"manifest": {
|
|
2863
|
+
"char": "x",
|
|
2864
|
+
"description": "flagsLong.manifest",
|
|
2865
|
+
"exclusive": [
|
|
2866
|
+
"metadata",
|
|
2867
|
+
"sourcepath"
|
|
2868
|
+
],
|
|
2869
|
+
"name": "manifest",
|
|
2870
|
+
"hasDynamicHelp": false,
|
|
2889
2871
|
"multiple": false,
|
|
2890
2872
|
"type": "option"
|
|
2891
|
-
}
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
"
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
"hardis:scratch:pull": {
|
|
2921
|
-
"aliases": [],
|
|
2922
|
-
"args": {},
|
|
2923
|
-
"description": "This commands pulls the updates you performed in your scratch or sandbox org, into your local files\n\nThen, you probably want to stage and commit the files containing the updates you want to keep, as explained in this video.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Ik6whtflmfY\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n- Calls `sf project retrieve start` under the hood\n- If there are errors, proposes to automatically add erroneous item in `.forceignore`, then pull again\n- If you don't see your updated items in the results, you can manually retrieve [using SF Extension **Org Browser** or **Salesforce CLI**](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/#retrieve-metadatas)\n- If you want to always retrieve sources like CustomApplication that are not always detected as updates by project:retrieve:start , you can define property **autoRetrieveWhenPull** in .sfdx-hardis.yml\n\nExample:\n```yaml\nautoRetrieveWhenPull:\n - CustomApplication:MyCustomApplication\n - CustomApplication:MyOtherCustomApplication\n - CustomApplication:MyThirdCustomApp\n```\n",
|
|
2924
|
-
"examples": [
|
|
2925
|
-
"$ sf hardis:scratch:pull"
|
|
2926
|
-
],
|
|
2927
|
-
"flags": {
|
|
2928
|
-
"json": {
|
|
2929
|
-
"description": "Format output as json.",
|
|
2930
|
-
"helpGroup": "GLOBAL",
|
|
2931
|
-
"name": "json",
|
|
2873
|
+
},
|
|
2874
|
+
"predestructivechanges": {
|
|
2875
|
+
"dependsOn": [
|
|
2876
|
+
"manifest"
|
|
2877
|
+
],
|
|
2878
|
+
"description": "predestructivechanges",
|
|
2879
|
+
"name": "predestructivechanges",
|
|
2880
|
+
"hasDynamicHelp": false,
|
|
2881
|
+
"multiple": false,
|
|
2882
|
+
"type": "option"
|
|
2883
|
+
},
|
|
2884
|
+
"postdestructivechanges": {
|
|
2885
|
+
"dependsOn": [
|
|
2886
|
+
"manifest"
|
|
2887
|
+
],
|
|
2888
|
+
"description": "postdestructivechanges",
|
|
2889
|
+
"name": "postdestructivechanges",
|
|
2890
|
+
"hasDynamicHelp": false,
|
|
2891
|
+
"multiple": false,
|
|
2892
|
+
"type": "option"
|
|
2893
|
+
},
|
|
2894
|
+
"tracksource": {
|
|
2895
|
+
"char": "t",
|
|
2896
|
+
"description": "tracksource",
|
|
2897
|
+
"exclusive": [
|
|
2898
|
+
"checkonly",
|
|
2899
|
+
"validateddeployrequestid"
|
|
2900
|
+
],
|
|
2901
|
+
"name": "tracksource",
|
|
2932
2902
|
"allowNo": false,
|
|
2933
2903
|
"type": "boolean"
|
|
2934
2904
|
},
|
|
2935
|
-
"
|
|
2936
|
-
"
|
|
2937
|
-
"
|
|
2938
|
-
|
|
2905
|
+
"forceoverwrite": {
|
|
2906
|
+
"char": "f",
|
|
2907
|
+
"dependsOn": [
|
|
2908
|
+
"tracksource"
|
|
2909
|
+
],
|
|
2910
|
+
"description": "forceoverwrite",
|
|
2911
|
+
"name": "forceoverwrite",
|
|
2912
|
+
"allowNo": false,
|
|
2913
|
+
"type": "boolean"
|
|
2914
|
+
},
|
|
2915
|
+
"resultsdir": {
|
|
2916
|
+
"description": "resultsdir",
|
|
2917
|
+
"name": "resultsdir",
|
|
2939
2918
|
"hasDynamicHelp": false,
|
|
2940
2919
|
"multiple": false,
|
|
2941
2920
|
"type": "option"
|
|
2942
2921
|
},
|
|
2922
|
+
"coverageformatters": {
|
|
2923
|
+
"description": "coverageformatters",
|
|
2924
|
+
"name": "coverageformatters",
|
|
2925
|
+
"hasDynamicHelp": false,
|
|
2926
|
+
"multiple": true,
|
|
2927
|
+
"type": "option"
|
|
2928
|
+
},
|
|
2929
|
+
"junit": {
|
|
2930
|
+
"description": "junit",
|
|
2931
|
+
"name": "junit",
|
|
2932
|
+
"allowNo": false,
|
|
2933
|
+
"type": "boolean"
|
|
2934
|
+
},
|
|
2935
|
+
"checkcoverage": {
|
|
2936
|
+
"description": "Check Apex org coverage",
|
|
2937
|
+
"name": "checkcoverage",
|
|
2938
|
+
"allowNo": false,
|
|
2939
|
+
"type": "boolean"
|
|
2940
|
+
},
|
|
2943
2941
|
"debug": {
|
|
2944
|
-
"
|
|
2945
|
-
"description": "Activate debug mode (more logs)",
|
|
2942
|
+
"description": "debug",
|
|
2946
2943
|
"name": "debug",
|
|
2947
2944
|
"allowNo": false,
|
|
2948
2945
|
"type": "boolean"
|
|
2949
2946
|
},
|
|
2950
2947
|
"websocket": {
|
|
2951
|
-
"description": "
|
|
2948
|
+
"description": "websocket",
|
|
2952
2949
|
"name": "websocket",
|
|
2953
2950
|
"hasDynamicHelp": false,
|
|
2954
2951
|
"multiple": false,
|
|
2955
2952
|
"type": "option"
|
|
2956
2953
|
},
|
|
2957
|
-
"skipauth": {
|
|
2958
|
-
"description": "Skip authentication check when a default username is required",
|
|
2959
|
-
"name": "skipauth",
|
|
2960
|
-
"allowNo": false,
|
|
2961
|
-
"type": "boolean"
|
|
2962
|
-
},
|
|
2963
2954
|
"target-org": {
|
|
2964
2955
|
"aliases": [
|
|
2965
2956
|
"targetusername",
|
|
@@ -2978,39 +2969,35 @@
|
|
|
2978
2969
|
},
|
|
2979
2970
|
"hasDynamicHelp": true,
|
|
2980
2971
|
"hiddenAliases": [],
|
|
2981
|
-
"id": "hardis:
|
|
2972
|
+
"id": "hardis:source:deploy",
|
|
2982
2973
|
"pluginAlias": "sfdx-hardis",
|
|
2983
2974
|
"pluginName": "sfdx-hardis",
|
|
2984
2975
|
"pluginType": "core",
|
|
2985
2976
|
"strict": true,
|
|
2986
2977
|
"enableJsonFlag": true,
|
|
2987
|
-
"title": "Scratch PULL",
|
|
2988
2978
|
"requiresProject": true,
|
|
2989
2979
|
"isESM": true,
|
|
2990
2980
|
"relativePath": [
|
|
2991
2981
|
"lib",
|
|
2992
2982
|
"commands",
|
|
2993
2983
|
"hardis",
|
|
2994
|
-
"
|
|
2995
|
-
"
|
|
2984
|
+
"source",
|
|
2985
|
+
"deploy.js"
|
|
2996
2986
|
],
|
|
2997
2987
|
"aliasPermutations": [],
|
|
2998
2988
|
"permutations": [
|
|
2999
|
-
"hardis:
|
|
3000
|
-
"
|
|
3001
|
-
"
|
|
3002
|
-
"hardis:
|
|
3003
|
-
"
|
|
3004
|
-
"
|
|
2989
|
+
"hardis:source:deploy",
|
|
2990
|
+
"source:hardis:deploy",
|
|
2991
|
+
"source:deploy:hardis",
|
|
2992
|
+
"hardis:deploy:source",
|
|
2993
|
+
"deploy:hardis:source",
|
|
2994
|
+
"deploy:source:hardis"
|
|
3005
2995
|
]
|
|
3006
2996
|
},
|
|
3007
|
-
"hardis:
|
|
2997
|
+
"hardis:source:push": {
|
|
3008
2998
|
"aliases": [],
|
|
3009
2999
|
"args": {},
|
|
3010
|
-
"description": "
|
|
3011
|
-
"examples": [
|
|
3012
|
-
"$ sf hardis:scratch:push"
|
|
3013
|
-
],
|
|
3000
|
+
"description": "sfdx-hardis wrapper for sfdx force:source:push that displays tips to solve deployment errors.\n\n[](https://nicolas.vuillamy.fr/assisted-solving-of-salesforce-deployments-errors-47f3666a9ed0)\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_push)\n",
|
|
3014
3001
|
"flags": {
|
|
3015
3002
|
"json": {
|
|
3016
3003
|
"description": "Format output as json.",
|
|
@@ -3027,26 +3014,48 @@
|
|
|
3027
3014
|
"multiple": false,
|
|
3028
3015
|
"type": "option"
|
|
3029
3016
|
},
|
|
3017
|
+
"forceoverwrite": {
|
|
3018
|
+
"char": "f",
|
|
3019
|
+
"description": "forceoverwrite",
|
|
3020
|
+
"name": "forceoverwrite",
|
|
3021
|
+
"allowNo": false,
|
|
3022
|
+
"type": "boolean"
|
|
3023
|
+
},
|
|
3024
|
+
"wait": {
|
|
3025
|
+
"char": "w",
|
|
3026
|
+
"description": "wait",
|
|
3027
|
+
"name": "wait",
|
|
3028
|
+
"default": 60,
|
|
3029
|
+
"hasDynamicHelp": false,
|
|
3030
|
+
"multiple": false,
|
|
3031
|
+
"type": "option"
|
|
3032
|
+
},
|
|
3033
|
+
"ignorewarnings": {
|
|
3034
|
+
"char": "g",
|
|
3035
|
+
"description": "ignorewarnings",
|
|
3036
|
+
"name": "ignorewarnings",
|
|
3037
|
+
"allowNo": false,
|
|
3038
|
+
"type": "boolean"
|
|
3039
|
+
},
|
|
3040
|
+
"quiet": {
|
|
3041
|
+
"description": "quiet",
|
|
3042
|
+
"name": "quiet",
|
|
3043
|
+
"allowNo": false,
|
|
3044
|
+
"type": "boolean"
|
|
3045
|
+
},
|
|
3030
3046
|
"debug": {
|
|
3031
|
-
"
|
|
3032
|
-
"description": "Activate debug mode (more logs)",
|
|
3047
|
+
"description": "debug",
|
|
3033
3048
|
"name": "debug",
|
|
3034
3049
|
"allowNo": false,
|
|
3035
3050
|
"type": "boolean"
|
|
3036
3051
|
},
|
|
3037
3052
|
"websocket": {
|
|
3038
|
-
"description": "
|
|
3053
|
+
"description": "websocket",
|
|
3039
3054
|
"name": "websocket",
|
|
3040
3055
|
"hasDynamicHelp": false,
|
|
3041
3056
|
"multiple": false,
|
|
3042
3057
|
"type": "option"
|
|
3043
3058
|
},
|
|
3044
|
-
"skipauth": {
|
|
3045
|
-
"description": "Skip authentication check when a default username is required",
|
|
3046
|
-
"name": "skipauth",
|
|
3047
|
-
"allowNo": false,
|
|
3048
|
-
"type": "boolean"
|
|
3049
|
-
},
|
|
3050
3059
|
"target-org": {
|
|
3051
3060
|
"aliases": [
|
|
3052
3061
|
"targetusername",
|
|
@@ -3065,39 +3074,36 @@
|
|
|
3065
3074
|
},
|
|
3066
3075
|
"hasDynamicHelp": true,
|
|
3067
3076
|
"hiddenAliases": [],
|
|
3068
|
-
"id": "hardis:
|
|
3077
|
+
"id": "hardis:source:push",
|
|
3069
3078
|
"pluginAlias": "sfdx-hardis",
|
|
3070
3079
|
"pluginName": "sfdx-hardis",
|
|
3071
3080
|
"pluginType": "core",
|
|
3072
3081
|
"strict": true,
|
|
3073
3082
|
"enableJsonFlag": true,
|
|
3074
|
-
"title": "Scratch PUSH",
|
|
3075
3083
|
"requiresProject": true,
|
|
3076
3084
|
"isESM": true,
|
|
3077
3085
|
"relativePath": [
|
|
3078
3086
|
"lib",
|
|
3079
3087
|
"commands",
|
|
3080
3088
|
"hardis",
|
|
3081
|
-
"
|
|
3089
|
+
"source",
|
|
3082
3090
|
"push.js"
|
|
3083
3091
|
],
|
|
3084
3092
|
"aliasPermutations": [],
|
|
3085
3093
|
"permutations": [
|
|
3086
|
-
"hardis:
|
|
3087
|
-
"
|
|
3088
|
-
"
|
|
3089
|
-
"hardis:push:
|
|
3090
|
-
"push:hardis:
|
|
3091
|
-
"push:
|
|
3094
|
+
"hardis:source:push",
|
|
3095
|
+
"source:hardis:push",
|
|
3096
|
+
"source:push:hardis",
|
|
3097
|
+
"hardis:push:source",
|
|
3098
|
+
"push:hardis:source",
|
|
3099
|
+
"push:source:hardis"
|
|
3092
3100
|
]
|
|
3093
3101
|
},
|
|
3094
|
-
"hardis:source:
|
|
3102
|
+
"hardis:source:retrieve": {
|
|
3095
3103
|
"aliases": [],
|
|
3096
3104
|
"args": {},
|
|
3097
|
-
"description": "sfdx-hardis wrapper for sfdx force:source:
|
|
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
|
-
],
|
|
3105
|
+
"description": "sfdx-hardis wrapper for sfdx force:source:retrieve\n\n- If no retrieve constraint is sent, as assisted menu will request the list of metadatas to retrieve\n- If no org is selected , an assisted menu will request the user to choose one\n\n[See documentation of Salesforce command](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference_force_source.htm#cli_reference_force_source_retrieve)\n",
|
|
3106
|
+
"examples": [],
|
|
3101
3107
|
"flags": {
|
|
3102
3108
|
"json": {
|
|
3103
3109
|
"description": "Format output as json.",
|
|
@@ -3114,101 +3120,14 @@
|
|
|
3114
3120
|
"multiple": false,
|
|
3115
3121
|
"type": "option"
|
|
3116
3122
|
},
|
|
3117
|
-
"
|
|
3118
|
-
"char": "
|
|
3119
|
-
"description": "
|
|
3120
|
-
"name": "
|
|
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",
|
|
3123
|
+
"apiversion": {
|
|
3124
|
+
"char": "a",
|
|
3125
|
+
"description": "Override the api version used for api requests made by this command",
|
|
3126
|
+
"name": "apiversion",
|
|
3190
3127
|
"hasDynamicHelp": false,
|
|
3191
3128
|
"multiple": false,
|
|
3192
3129
|
"type": "option"
|
|
3193
3130
|
},
|
|
3194
|
-
"verbose": {
|
|
3195
|
-
"description": "verbose",
|
|
3196
|
-
"name": "verbose",
|
|
3197
|
-
"allowNo": false,
|
|
3198
|
-
"type": "boolean"
|
|
3199
|
-
},
|
|
3200
|
-
"metadata": {
|
|
3201
|
-
"char": "m",
|
|
3202
|
-
"description": "metadata",
|
|
3203
|
-
"exclusive": [
|
|
3204
|
-
"manifest",
|
|
3205
|
-
"sourcepath"
|
|
3206
|
-
],
|
|
3207
|
-
"name": "metadata",
|
|
3208
|
-
"hasDynamicHelp": false,
|
|
3209
|
-
"multiple": true,
|
|
3210
|
-
"type": "option"
|
|
3211
|
-
},
|
|
3212
3131
|
"sourcepath": {
|
|
3213
3132
|
"char": "p",
|
|
3214
3133
|
"description": "sourcePath",
|
|
@@ -3221,9 +3140,17 @@
|
|
|
3221
3140
|
"multiple": true,
|
|
3222
3141
|
"type": "option"
|
|
3223
3142
|
},
|
|
3143
|
+
"wait": {
|
|
3144
|
+
"char": "w",
|
|
3145
|
+
"description": "wait",
|
|
3146
|
+
"name": "wait",
|
|
3147
|
+
"hasDynamicHelp": false,
|
|
3148
|
+
"multiple": false,
|
|
3149
|
+
"type": "option"
|
|
3150
|
+
},
|
|
3224
3151
|
"manifest": {
|
|
3225
3152
|
"char": "x",
|
|
3226
|
-
"description": "
|
|
3153
|
+
"description": "manifest",
|
|
3227
3154
|
"exclusive": [
|
|
3228
3155
|
"metadata",
|
|
3229
3156
|
"sourcepath"
|
|
@@ -3233,33 +3160,29 @@
|
|
|
3233
3160
|
"multiple": false,
|
|
3234
3161
|
"type": "option"
|
|
3235
3162
|
},
|
|
3236
|
-
"
|
|
3237
|
-
"
|
|
3238
|
-
|
|
3163
|
+
"metadata": {
|
|
3164
|
+
"char": "m",
|
|
3165
|
+
"description": "metadata",
|
|
3166
|
+
"exclusive": [
|
|
3167
|
+
"manifest",
|
|
3168
|
+
"sourcepath"
|
|
3239
3169
|
],
|
|
3240
|
-
"
|
|
3241
|
-
"name": "predestructivechanges",
|
|
3170
|
+
"name": "metadata",
|
|
3242
3171
|
"hasDynamicHelp": false,
|
|
3243
|
-
"multiple":
|
|
3172
|
+
"multiple": true,
|
|
3244
3173
|
"type": "option"
|
|
3245
3174
|
},
|
|
3246
|
-
"
|
|
3247
|
-
"
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
"description": "postdestructivechanges",
|
|
3251
|
-
"name": "postdestructivechanges",
|
|
3175
|
+
"packagenames": {
|
|
3176
|
+
"char": "n",
|
|
3177
|
+
"description": "packagenames",
|
|
3178
|
+
"name": "packagenames",
|
|
3252
3179
|
"hasDynamicHelp": false,
|
|
3253
|
-
"multiple":
|
|
3180
|
+
"multiple": true,
|
|
3254
3181
|
"type": "option"
|
|
3255
3182
|
},
|
|
3256
3183
|
"tracksource": {
|
|
3257
3184
|
"char": "t",
|
|
3258
3185
|
"description": "tracksource",
|
|
3259
|
-
"exclusive": [
|
|
3260
|
-
"checkonly",
|
|
3261
|
-
"validateddeployrequestid"
|
|
3262
|
-
],
|
|
3263
3186
|
"name": "tracksource",
|
|
3264
3187
|
"allowNo": false,
|
|
3265
3188
|
"type": "boolean"
|
|
@@ -3274,34 +3197,15 @@
|
|
|
3274
3197
|
"allowNo": false,
|
|
3275
3198
|
"type": "boolean"
|
|
3276
3199
|
},
|
|
3277
|
-
"
|
|
3278
|
-
"description": "
|
|
3279
|
-
"name": "
|
|
3280
|
-
"hasDynamicHelp": false,
|
|
3281
|
-
"multiple": false,
|
|
3282
|
-
"type": "option"
|
|
3283
|
-
},
|
|
3284
|
-
"coverageformatters": {
|
|
3285
|
-
"description": "coverageformatters",
|
|
3286
|
-
"name": "coverageformatters",
|
|
3287
|
-
"hasDynamicHelp": false,
|
|
3288
|
-
"multiple": true,
|
|
3289
|
-
"type": "option"
|
|
3290
|
-
},
|
|
3291
|
-
"junit": {
|
|
3292
|
-
"description": "junit",
|
|
3293
|
-
"name": "junit",
|
|
3294
|
-
"allowNo": false,
|
|
3295
|
-
"type": "boolean"
|
|
3296
|
-
},
|
|
3297
|
-
"checkcoverage": {
|
|
3298
|
-
"description": "Check Apex org coverage",
|
|
3299
|
-
"name": "checkcoverage",
|
|
3200
|
+
"verbose": {
|
|
3201
|
+
"description": "verbose",
|
|
3202
|
+
"name": "verbose",
|
|
3300
3203
|
"allowNo": false,
|
|
3301
3204
|
"type": "boolean"
|
|
3302
3205
|
},
|
|
3303
3206
|
"debug": {
|
|
3304
|
-
"
|
|
3207
|
+
"char": "d",
|
|
3208
|
+
"description": "debugMode",
|
|
3305
3209
|
"name": "debug",
|
|
3306
3210
|
"allowNo": false,
|
|
3307
3211
|
"type": "boolean"
|
|
@@ -3313,6 +3217,12 @@
|
|
|
3313
3217
|
"multiple": false,
|
|
3314
3218
|
"type": "option"
|
|
3315
3219
|
},
|
|
3220
|
+
"skipauth": {
|
|
3221
|
+
"description": "Skip authentication check when a default username is required",
|
|
3222
|
+
"name": "skipauth",
|
|
3223
|
+
"allowNo": false,
|
|
3224
|
+
"type": "boolean"
|
|
3225
|
+
},
|
|
3316
3226
|
"target-org": {
|
|
3317
3227
|
"aliases": [
|
|
3318
3228
|
"targetusername",
|
|
@@ -3331,7 +3241,7 @@
|
|
|
3331
3241
|
},
|
|
3332
3242
|
"hasDynamicHelp": true,
|
|
3333
3243
|
"hiddenAliases": [],
|
|
3334
|
-
"id": "hardis:source:
|
|
3244
|
+
"id": "hardis:source:retrieve",
|
|
3335
3245
|
"pluginAlias": "sfdx-hardis",
|
|
3336
3246
|
"pluginName": "sfdx-hardis",
|
|
3337
3247
|
"pluginType": "core",
|
|
@@ -3344,22 +3254,25 @@
|
|
|
3344
3254
|
"commands",
|
|
3345
3255
|
"hardis",
|
|
3346
3256
|
"source",
|
|
3347
|
-
"
|
|
3257
|
+
"retrieve.js"
|
|
3348
3258
|
],
|
|
3349
3259
|
"aliasPermutations": [],
|
|
3350
3260
|
"permutations": [
|
|
3351
|
-
"hardis:source:
|
|
3352
|
-
"source:hardis:
|
|
3353
|
-
"source:
|
|
3354
|
-
"hardis:
|
|
3355
|
-
"
|
|
3356
|
-
"
|
|
3261
|
+
"hardis:source:retrieve",
|
|
3262
|
+
"source:hardis:retrieve",
|
|
3263
|
+
"source:retrieve:hardis",
|
|
3264
|
+
"hardis:retrieve:source",
|
|
3265
|
+
"retrieve:hardis:source",
|
|
3266
|
+
"retrieve:source:hardis"
|
|
3357
3267
|
]
|
|
3358
3268
|
},
|
|
3359
|
-
"hardis:
|
|
3269
|
+
"hardis:work:new": {
|
|
3360
3270
|
"aliases": [],
|
|
3361
3271
|
"args": {},
|
|
3362
|
-
"description": "sfdx-hardis
|
|
3272
|
+
"description": "Assisted menu to start working on a Salesforce task.\n\nAdvanced instructions in [Create New Task documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-create-new-task/)\n\nAt the end of the command, it will allow you to work on either a scratch org or a sandbox, depending on your choices.\n\nUnder the hood, it can:\n\n- Make **git pull** to be up to date with target branch\n- Create **new git branch** with formatted name (you can override the choices using .sfdx-hardis.yml property **branchPrefixChoices**)\n- Create and initialize a scratch org or a source-tracked sandbox (config can be defined using `config/.sfdx-hardis.yml`):\n- (and for scratch org only for now):\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\n## Override .sfdx-hardis.yml config\n\n### availableTargetBranches\n\nBy default, there is only one target branch (value of property **developmentBranch**).\n\nYou can define multiple target branches (for the future Pull Request) by setting the property **availableTargetBranches** in your .sfdx-hardis.yml file.\n\nThe selected branch will checked out and be used as base to create the user new feature branch.\n\nExamples:\n\n```yaml\navailableTargetBranches:\n - integration\n - preprod\n```\n\n```yaml\navailableTargetBranches:\n - integration,Select this to work from the integration branch (project stream)\n - preprod,Select this to work from the preprod branch (run stream)\n```\n\n### availableProjects\n\nYou can add a first question \"What is the project your task is for\" if you define a property **availableProjects**\n\nThe select will be used as first part of the git branch name. (ex: france/features/dev/JIRA123-webservice-get-account)\n\nExamples:\n\n```yaml\navailableProjects:\n - build\n - run\n - some-big-project\n - france\n - uk\n```\n\n```yaml\navailableProjects:\n - build,Select this to work on the build project\n - run,Select this to work on the run project\n - some-big-project,Select this to work on the some big project\n - france,Select this to work on the France project\n - uk,Select this to work on the UK project\n```\n\n### newTaskNameRegex\n\nIf you want to force a specific format for the task name, you can define a property **newTaskNameRegex** in your .sfdx-hardis.yml file.\n\nPlease also define a property **newTaskNameRegexExample** to give an example to the user.\n\nExample:\n\n```yaml\nnewTaskNameRegex: '^[A-Z]+-[0-9]+ .*'\nnewTaskNameRegexExample: 'MYPROJECT-123 Update account status validation rule'\n```\n\n### sharedDevSandboxes\n\nIf contributors can share dev sandboxes, let's not ask them if they want to overwrite their colleagues' changes when creating a new task :)\n",
|
|
3273
|
+
"examples": [
|
|
3274
|
+
"$ sf hardis:work:new"
|
|
3275
|
+
],
|
|
3363
3276
|
"flags": {
|
|
3364
3277
|
"json": {
|
|
3365
3278
|
"description": "Format output as json.",
|
|
@@ -3376,48 +3289,133 @@
|
|
|
3376
3289
|
"multiple": false,
|
|
3377
3290
|
"type": "option"
|
|
3378
3291
|
},
|
|
3379
|
-
"
|
|
3380
|
-
"char": "
|
|
3381
|
-
"description": "
|
|
3382
|
-
"name": "
|
|
3292
|
+
"debug": {
|
|
3293
|
+
"char": "d",
|
|
3294
|
+
"description": "Activate debug mode (more logs)",
|
|
3295
|
+
"name": "debug",
|
|
3383
3296
|
"allowNo": false,
|
|
3384
3297
|
"type": "boolean"
|
|
3385
3298
|
},
|
|
3386
|
-
"
|
|
3387
|
-
"
|
|
3388
|
-
"
|
|
3389
|
-
"name": "wait",
|
|
3390
|
-
"default": 60,
|
|
3299
|
+
"websocket": {
|
|
3300
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
3301
|
+
"name": "websocket",
|
|
3391
3302
|
"hasDynamicHelp": false,
|
|
3392
3303
|
"multiple": false,
|
|
3393
3304
|
"type": "option"
|
|
3394
3305
|
},
|
|
3395
|
-
"
|
|
3396
|
-
"
|
|
3397
|
-
"
|
|
3398
|
-
"name": "ignorewarnings",
|
|
3306
|
+
"skipauth": {
|
|
3307
|
+
"description": "Skip authentication check when a default username is required",
|
|
3308
|
+
"name": "skipauth",
|
|
3399
3309
|
"allowNo": false,
|
|
3400
3310
|
"type": "boolean"
|
|
3401
3311
|
},
|
|
3402
|
-
"
|
|
3403
|
-
"
|
|
3404
|
-
|
|
3312
|
+
"target-dev-hub": {
|
|
3313
|
+
"aliases": [
|
|
3314
|
+
"targetdevhubusername"
|
|
3315
|
+
],
|
|
3316
|
+
"char": "v",
|
|
3317
|
+
"deprecateAliases": true,
|
|
3318
|
+
"name": "target-dev-hub",
|
|
3319
|
+
"noCacheDefault": true,
|
|
3320
|
+
"required": false,
|
|
3321
|
+
"summary": "Username or alias of the Dev Hub org.",
|
|
3322
|
+
"hasDynamicHelp": true,
|
|
3323
|
+
"multiple": false,
|
|
3324
|
+
"type": "option"
|
|
3325
|
+
},
|
|
3326
|
+
"target-org": {
|
|
3327
|
+
"aliases": [
|
|
3328
|
+
"targetusername",
|
|
3329
|
+
"u"
|
|
3330
|
+
],
|
|
3331
|
+
"char": "o",
|
|
3332
|
+
"deprecateAliases": true,
|
|
3333
|
+
"name": "target-org",
|
|
3334
|
+
"noCacheDefault": true,
|
|
3335
|
+
"summary": "Username or alias of the target org.",
|
|
3336
|
+
"hasDynamicHelp": true,
|
|
3337
|
+
"multiple": false,
|
|
3338
|
+
"type": "option"
|
|
3339
|
+
}
|
|
3340
|
+
},
|
|
3341
|
+
"hasDynamicHelp": true,
|
|
3342
|
+
"hiddenAliases": [],
|
|
3343
|
+
"id": "hardis:work:new",
|
|
3344
|
+
"pluginAlias": "sfdx-hardis",
|
|
3345
|
+
"pluginName": "sfdx-hardis",
|
|
3346
|
+
"pluginType": "core",
|
|
3347
|
+
"strict": true,
|
|
3348
|
+
"enableJsonFlag": true,
|
|
3349
|
+
"title": "New work task",
|
|
3350
|
+
"requiresProject": true,
|
|
3351
|
+
"isESM": true,
|
|
3352
|
+
"relativePath": [
|
|
3353
|
+
"lib",
|
|
3354
|
+
"commands",
|
|
3355
|
+
"hardis",
|
|
3356
|
+
"work",
|
|
3357
|
+
"new.js"
|
|
3358
|
+
],
|
|
3359
|
+
"aliasPermutations": [],
|
|
3360
|
+
"permutations": [
|
|
3361
|
+
"hardis:work:new",
|
|
3362
|
+
"work:hardis:new",
|
|
3363
|
+
"work:new:hardis",
|
|
3364
|
+
"hardis:new:work",
|
|
3365
|
+
"new:hardis:work",
|
|
3366
|
+
"new:work:hardis"
|
|
3367
|
+
]
|
|
3368
|
+
},
|
|
3369
|
+
"hardis:work:refresh": {
|
|
3370
|
+
"aliases": [],
|
|
3371
|
+
"args": {},
|
|
3372
|
+
"description": "Make my local branch and my scratch org up to date with the most recent sources",
|
|
3373
|
+
"examples": [
|
|
3374
|
+
"$ sf hardis:work:refresh"
|
|
3375
|
+
],
|
|
3376
|
+
"flags": {
|
|
3377
|
+
"json": {
|
|
3378
|
+
"description": "Format output as json.",
|
|
3379
|
+
"helpGroup": "GLOBAL",
|
|
3380
|
+
"name": "json",
|
|
3381
|
+
"allowNo": false,
|
|
3382
|
+
"type": "boolean"
|
|
3383
|
+
},
|
|
3384
|
+
"flags-dir": {
|
|
3385
|
+
"helpGroup": "GLOBAL",
|
|
3386
|
+
"name": "flags-dir",
|
|
3387
|
+
"summary": "Import flag values from a directory.",
|
|
3388
|
+
"hasDynamicHelp": false,
|
|
3389
|
+
"multiple": false,
|
|
3390
|
+
"type": "option"
|
|
3391
|
+
},
|
|
3392
|
+
"nopull": {
|
|
3393
|
+
"char": "n",
|
|
3394
|
+
"description": "No scratch pull before save (careful if you use that!)",
|
|
3395
|
+
"name": "nopull",
|
|
3405
3396
|
"allowNo": false,
|
|
3406
3397
|
"type": "boolean"
|
|
3407
3398
|
},
|
|
3408
3399
|
"debug": {
|
|
3409
|
-
"
|
|
3400
|
+
"char": "d",
|
|
3401
|
+
"description": "Activate debug mode (more logs)",
|
|
3410
3402
|
"name": "debug",
|
|
3411
3403
|
"allowNo": false,
|
|
3412
3404
|
"type": "boolean"
|
|
3413
3405
|
},
|
|
3414
3406
|
"websocket": {
|
|
3415
|
-
"description": "
|
|
3407
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
3416
3408
|
"name": "websocket",
|
|
3417
3409
|
"hasDynamicHelp": false,
|
|
3418
3410
|
"multiple": false,
|
|
3419
3411
|
"type": "option"
|
|
3420
3412
|
},
|
|
3413
|
+
"skipauth": {
|
|
3414
|
+
"description": "Skip authentication check when a default username is required",
|
|
3415
|
+
"name": "skipauth",
|
|
3416
|
+
"allowNo": false,
|
|
3417
|
+
"type": "boolean"
|
|
3418
|
+
},
|
|
3421
3419
|
"target-org": {
|
|
3422
3420
|
"aliases": [
|
|
3423
3421
|
"targetusername",
|
|
@@ -3436,36 +3434,127 @@
|
|
|
3436
3434
|
},
|
|
3437
3435
|
"hasDynamicHelp": true,
|
|
3438
3436
|
"hiddenAliases": [],
|
|
3439
|
-
"id": "hardis:
|
|
3437
|
+
"id": "hardis:work:refresh",
|
|
3440
3438
|
"pluginAlias": "sfdx-hardis",
|
|
3441
3439
|
"pluginName": "sfdx-hardis",
|
|
3442
3440
|
"pluginType": "core",
|
|
3443
3441
|
"strict": true,
|
|
3444
3442
|
"enableJsonFlag": true,
|
|
3443
|
+
"title": "Refresh work task",
|
|
3445
3444
|
"requiresProject": true,
|
|
3446
3445
|
"isESM": true,
|
|
3447
3446
|
"relativePath": [
|
|
3448
3447
|
"lib",
|
|
3449
3448
|
"commands",
|
|
3450
3449
|
"hardis",
|
|
3451
|
-
"
|
|
3452
|
-
"
|
|
3450
|
+
"work",
|
|
3451
|
+
"refresh.js"
|
|
3453
3452
|
],
|
|
3454
3453
|
"aliasPermutations": [],
|
|
3455
3454
|
"permutations": [
|
|
3456
|
-
"hardis:
|
|
3457
|
-
"
|
|
3458
|
-
"
|
|
3459
|
-
"hardis:
|
|
3460
|
-
"
|
|
3461
|
-
"
|
|
3455
|
+
"hardis:work:refresh",
|
|
3456
|
+
"work:hardis:refresh",
|
|
3457
|
+
"work:refresh:hardis",
|
|
3458
|
+
"hardis:refresh:work",
|
|
3459
|
+
"refresh:hardis:work",
|
|
3460
|
+
"refresh:work:hardis"
|
|
3461
|
+
]
|
|
3462
|
+
},
|
|
3463
|
+
"hardis:work:resetselection": {
|
|
3464
|
+
"aliases": [],
|
|
3465
|
+
"args": {},
|
|
3466
|
+
"description": "Resets the selection that we want to add in the merge request\n\nCalls a soft git reset behind the hood \n",
|
|
3467
|
+
"examples": [
|
|
3468
|
+
"$ sf hardis:work:resetsave"
|
|
3469
|
+
],
|
|
3470
|
+
"flags": {
|
|
3471
|
+
"json": {
|
|
3472
|
+
"description": "Format output as json.",
|
|
3473
|
+
"helpGroup": "GLOBAL",
|
|
3474
|
+
"name": "json",
|
|
3475
|
+
"allowNo": false,
|
|
3476
|
+
"type": "boolean"
|
|
3477
|
+
},
|
|
3478
|
+
"flags-dir": {
|
|
3479
|
+
"helpGroup": "GLOBAL",
|
|
3480
|
+
"name": "flags-dir",
|
|
3481
|
+
"summary": "Import flag values from a directory.",
|
|
3482
|
+
"hasDynamicHelp": false,
|
|
3483
|
+
"multiple": false,
|
|
3484
|
+
"type": "option"
|
|
3485
|
+
},
|
|
3486
|
+
"debug": {
|
|
3487
|
+
"char": "d",
|
|
3488
|
+
"description": "Activate debug mode (more logs)",
|
|
3489
|
+
"name": "debug",
|
|
3490
|
+
"allowNo": false,
|
|
3491
|
+
"type": "boolean"
|
|
3492
|
+
},
|
|
3493
|
+
"websocket": {
|
|
3494
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
3495
|
+
"name": "websocket",
|
|
3496
|
+
"hasDynamicHelp": false,
|
|
3497
|
+
"multiple": false,
|
|
3498
|
+
"type": "option"
|
|
3499
|
+
},
|
|
3500
|
+
"skipauth": {
|
|
3501
|
+
"description": "Skip authentication check when a default username is required",
|
|
3502
|
+
"name": "skipauth",
|
|
3503
|
+
"allowNo": false,
|
|
3504
|
+
"type": "boolean"
|
|
3505
|
+
},
|
|
3506
|
+
"target-org": {
|
|
3507
|
+
"aliases": [
|
|
3508
|
+
"targetusername",
|
|
3509
|
+
"u"
|
|
3510
|
+
],
|
|
3511
|
+
"char": "o",
|
|
3512
|
+
"deprecateAliases": true,
|
|
3513
|
+
"name": "target-org",
|
|
3514
|
+
"noCacheDefault": true,
|
|
3515
|
+
"required": true,
|
|
3516
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
3517
|
+
"hasDynamicHelp": true,
|
|
3518
|
+
"multiple": false,
|
|
3519
|
+
"type": "option"
|
|
3520
|
+
}
|
|
3521
|
+
},
|
|
3522
|
+
"hasDynamicHelp": true,
|
|
3523
|
+
"hiddenAliases": [],
|
|
3524
|
+
"id": "hardis:work:resetselection",
|
|
3525
|
+
"pluginAlias": "sfdx-hardis",
|
|
3526
|
+
"pluginName": "sfdx-hardis",
|
|
3527
|
+
"pluginType": "core",
|
|
3528
|
+
"strict": true,
|
|
3529
|
+
"enableJsonFlag": true,
|
|
3530
|
+
"title": "Select again",
|
|
3531
|
+
"requiresProject": true,
|
|
3532
|
+
"isESM": true,
|
|
3533
|
+
"relativePath": [
|
|
3534
|
+
"lib",
|
|
3535
|
+
"commands",
|
|
3536
|
+
"hardis",
|
|
3537
|
+
"work",
|
|
3538
|
+
"resetselection.js"
|
|
3539
|
+
],
|
|
3540
|
+
"aliasPermutations": [],
|
|
3541
|
+
"permutations": [
|
|
3542
|
+
"hardis:work:resetselection",
|
|
3543
|
+
"work:hardis:resetselection",
|
|
3544
|
+
"work:resetselection:hardis",
|
|
3545
|
+
"hardis:resetselection:work",
|
|
3546
|
+
"resetselection:hardis:work",
|
|
3547
|
+
"resetselection:work:hardis"
|
|
3462
3548
|
]
|
|
3463
3549
|
},
|
|
3464
|
-
"hardis:
|
|
3550
|
+
"hardis:work:save": {
|
|
3465
3551
|
"aliases": [],
|
|
3466
3552
|
"args": {},
|
|
3467
|
-
"description": "
|
|
3468
|
-
"examples": [
|
|
3553
|
+
"description": "When a work task is completed, guide user to create a merge request\n\nAdvanced instructions in [Publish a task](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/)\n\n- Generate package-xml diff using sfdx-git-delta\n- Automatically update `manifest/package.xml` and `manifest/destructiveChanges.xml` according to the committed updates\n- Automatically Clean XML files using `.sfdx-hardis.yml` properties\n - `autocleantypes`: List of auto-performed sources cleanings, available on command [hardis:project:clean:references](https://sfdx-hardis.cloudity.com/hardis/project/clean/references/)\n - `autoRemoveUserPermissions`: List of userPermission to automatically remove from profile metadatas\n\nExample:\n\n```yaml\nautoCleanTypes:\n - checkPermissions\n - destructivechanges\n - datadotcom\n - minimizeProfiles\n - listViewsMine\nautoRemoveUserPermissions:\n - EnableCommunityAppLauncher\n - FieldServiceAccess\n - OmnichannelInventorySync\n - SendExternalEmailAvailable\n - UseOmnichannelInventoryAPIs\n - ViewDataLeakageEvents\n - ViewMLModels\n - ViewPlatformEvents\n - WorkCalibrationUser\n```\n\n- Push commit to server\n ",
|
|
3554
|
+
"examples": [
|
|
3555
|
+
"$ sf hardis:work:task:save",
|
|
3556
|
+
"$ sf hardis:work:task:save --nopull --nogit --noclean"
|
|
3557
|
+
],
|
|
3469
3558
|
"flags": {
|
|
3470
3559
|
"json": {
|
|
3471
3560
|
"description": "Format output as json.",
|
|
@@ -3482,98 +3571,49 @@
|
|
|
3482
3571
|
"multiple": false,
|
|
3483
3572
|
"type": "option"
|
|
3484
3573
|
},
|
|
3485
|
-
"
|
|
3486
|
-
"char": "a",
|
|
3487
|
-
"description": "Override the api version used for api requests made by this command",
|
|
3488
|
-
"name": "apiversion",
|
|
3489
|
-
"hasDynamicHelp": false,
|
|
3490
|
-
"multiple": false,
|
|
3491
|
-
"type": "option"
|
|
3492
|
-
},
|
|
3493
|
-
"sourcepath": {
|
|
3494
|
-
"char": "p",
|
|
3495
|
-
"description": "sourcePath",
|
|
3496
|
-
"exclusive": [
|
|
3497
|
-
"manifest",
|
|
3498
|
-
"metadata"
|
|
3499
|
-
],
|
|
3500
|
-
"name": "sourcepath",
|
|
3501
|
-
"hasDynamicHelp": false,
|
|
3502
|
-
"multiple": true,
|
|
3503
|
-
"type": "option"
|
|
3504
|
-
},
|
|
3505
|
-
"wait": {
|
|
3506
|
-
"char": "w",
|
|
3507
|
-
"description": "wait",
|
|
3508
|
-
"name": "wait",
|
|
3509
|
-
"hasDynamicHelp": false,
|
|
3510
|
-
"multiple": false,
|
|
3511
|
-
"type": "option"
|
|
3512
|
-
},
|
|
3513
|
-
"manifest": {
|
|
3514
|
-
"char": "x",
|
|
3515
|
-
"description": "manifest",
|
|
3516
|
-
"exclusive": [
|
|
3517
|
-
"metadata",
|
|
3518
|
-
"sourcepath"
|
|
3519
|
-
],
|
|
3520
|
-
"name": "manifest",
|
|
3521
|
-
"hasDynamicHelp": false,
|
|
3522
|
-
"multiple": false,
|
|
3523
|
-
"type": "option"
|
|
3524
|
-
},
|
|
3525
|
-
"metadata": {
|
|
3526
|
-
"char": "m",
|
|
3527
|
-
"description": "metadata",
|
|
3528
|
-
"exclusive": [
|
|
3529
|
-
"manifest",
|
|
3530
|
-
"sourcepath"
|
|
3531
|
-
],
|
|
3532
|
-
"name": "metadata",
|
|
3533
|
-
"hasDynamicHelp": false,
|
|
3534
|
-
"multiple": true,
|
|
3535
|
-
"type": "option"
|
|
3536
|
-
},
|
|
3537
|
-
"packagenames": {
|
|
3574
|
+
"nopull": {
|
|
3538
3575
|
"char": "n",
|
|
3539
|
-
"description": "
|
|
3540
|
-
"name": "
|
|
3541
|
-
"
|
|
3542
|
-
"
|
|
3543
|
-
"type": "option"
|
|
3576
|
+
"description": "No scratch pull before save",
|
|
3577
|
+
"name": "nopull",
|
|
3578
|
+
"allowNo": false,
|
|
3579
|
+
"type": "boolean"
|
|
3544
3580
|
},
|
|
3545
|
-
"
|
|
3546
|
-
"char": "
|
|
3547
|
-
"description": "
|
|
3548
|
-
"name": "
|
|
3581
|
+
"nogit": {
|
|
3582
|
+
"char": "g",
|
|
3583
|
+
"description": "No automated git operations",
|
|
3584
|
+
"name": "nogit",
|
|
3549
3585
|
"allowNo": false,
|
|
3550
3586
|
"type": "boolean"
|
|
3551
3587
|
},
|
|
3552
|
-
"
|
|
3553
|
-
"char": "
|
|
3554
|
-
"
|
|
3555
|
-
|
|
3556
|
-
],
|
|
3557
|
-
"description": "forceoverwrite",
|
|
3558
|
-
"name": "forceoverwrite",
|
|
3588
|
+
"noclean": {
|
|
3589
|
+
"char": "c",
|
|
3590
|
+
"description": "No cleaning of local sources",
|
|
3591
|
+
"name": "noclean",
|
|
3559
3592
|
"allowNo": false,
|
|
3560
3593
|
"type": "boolean"
|
|
3561
3594
|
},
|
|
3562
|
-
"
|
|
3563
|
-
"description": "
|
|
3564
|
-
"name": "
|
|
3595
|
+
"auto": {
|
|
3596
|
+
"description": "No user prompts (when called from CI for example)",
|
|
3597
|
+
"name": "auto",
|
|
3565
3598
|
"allowNo": false,
|
|
3566
3599
|
"type": "boolean"
|
|
3567
3600
|
},
|
|
3601
|
+
"targetbranch": {
|
|
3602
|
+
"description": "Name of the Merge Request target branch. Will be guessed or prompted if not provided.",
|
|
3603
|
+
"name": "targetbranch",
|
|
3604
|
+
"hasDynamicHelp": false,
|
|
3605
|
+
"multiple": false,
|
|
3606
|
+
"type": "option"
|
|
3607
|
+
},
|
|
3568
3608
|
"debug": {
|
|
3569
3609
|
"char": "d",
|
|
3570
|
-
"description": "
|
|
3610
|
+
"description": "Activate debug mode (more logs)",
|
|
3571
3611
|
"name": "debug",
|
|
3572
3612
|
"allowNo": false,
|
|
3573
3613
|
"type": "boolean"
|
|
3574
3614
|
},
|
|
3575
3615
|
"websocket": {
|
|
3576
|
-
"description": "
|
|
3616
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
3577
3617
|
"name": "websocket",
|
|
3578
3618
|
"hasDynamicHelp": false,
|
|
3579
3619
|
"multiple": false,
|
|
@@ -3603,37 +3643,41 @@
|
|
|
3603
3643
|
},
|
|
3604
3644
|
"hasDynamicHelp": true,
|
|
3605
3645
|
"hiddenAliases": [],
|
|
3606
|
-
"id": "hardis:
|
|
3646
|
+
"id": "hardis:work:save",
|
|
3607
3647
|
"pluginAlias": "sfdx-hardis",
|
|
3608
3648
|
"pluginName": "sfdx-hardis",
|
|
3609
3649
|
"pluginType": "core",
|
|
3610
3650
|
"strict": true,
|
|
3611
3651
|
"enableJsonFlag": true,
|
|
3652
|
+
"title": "Save work task",
|
|
3612
3653
|
"requiresProject": true,
|
|
3654
|
+
"requiresSfdxPlugins": [
|
|
3655
|
+
"sfdx-git-delta"
|
|
3656
|
+
],
|
|
3613
3657
|
"isESM": true,
|
|
3614
3658
|
"relativePath": [
|
|
3615
3659
|
"lib",
|
|
3616
3660
|
"commands",
|
|
3617
3661
|
"hardis",
|
|
3618
|
-
"
|
|
3619
|
-
"
|
|
3662
|
+
"work",
|
|
3663
|
+
"save.js"
|
|
3620
3664
|
],
|
|
3621
3665
|
"aliasPermutations": [],
|
|
3622
3666
|
"permutations": [
|
|
3623
|
-
"hardis:
|
|
3624
|
-
"
|
|
3625
|
-
"
|
|
3626
|
-
"hardis:
|
|
3627
|
-
"
|
|
3628
|
-
"
|
|
3667
|
+
"hardis:work:save",
|
|
3668
|
+
"work:hardis:save",
|
|
3669
|
+
"work:save:hardis",
|
|
3670
|
+
"hardis:save:work",
|
|
3671
|
+
"save:hardis:work",
|
|
3672
|
+
"save:work:hardis"
|
|
3629
3673
|
]
|
|
3630
3674
|
},
|
|
3631
|
-
"hardis:work:
|
|
3675
|
+
"hardis:work:ws": {
|
|
3632
3676
|
"aliases": [],
|
|
3633
3677
|
"args": {},
|
|
3634
|
-
"description": "
|
|
3678
|
+
"description": "Technical calls to WebSocket functions",
|
|
3635
3679
|
"examples": [
|
|
3636
|
-
"$ sf hardis:work:
|
|
3680
|
+
"$ sf hardis:work:ws --event refreshStatus"
|
|
3637
3681
|
],
|
|
3638
3682
|
"flags": {
|
|
3639
3683
|
"json": {
|
|
@@ -3651,6 +3695,14 @@
|
|
|
3651
3695
|
"multiple": false,
|
|
3652
3696
|
"type": "option"
|
|
3653
3697
|
},
|
|
3698
|
+
"event": {
|
|
3699
|
+
"char": "e",
|
|
3700
|
+
"description": "WebSocket event",
|
|
3701
|
+
"name": "event",
|
|
3702
|
+
"hasDynamicHelp": false,
|
|
3703
|
+
"multiple": false,
|
|
3704
|
+
"type": "option"
|
|
3705
|
+
},
|
|
3654
3706
|
"debug": {
|
|
3655
3707
|
"char": "d",
|
|
3656
3708
|
"description": "Activate debug mode (more logs)",
|
|
@@ -3670,70 +3722,42 @@
|
|
|
3670
3722
|
"name": "skipauth",
|
|
3671
3723
|
"allowNo": false,
|
|
3672
3724
|
"type": "boolean"
|
|
3673
|
-
},
|
|
3674
|
-
"target-dev-hub": {
|
|
3675
|
-
"aliases": [
|
|
3676
|
-
"targetdevhubusername"
|
|
3677
|
-
],
|
|
3678
|
-
"char": "v",
|
|
3679
|
-
"deprecateAliases": true,
|
|
3680
|
-
"name": "target-dev-hub",
|
|
3681
|
-
"noCacheDefault": true,
|
|
3682
|
-
"required": false,
|
|
3683
|
-
"summary": "Username or alias of the Dev Hub org.",
|
|
3684
|
-
"hasDynamicHelp": true,
|
|
3685
|
-
"multiple": false,
|
|
3686
|
-
"type": "option"
|
|
3687
|
-
},
|
|
3688
|
-
"target-org": {
|
|
3689
|
-
"aliases": [
|
|
3690
|
-
"targetusername",
|
|
3691
|
-
"u"
|
|
3692
|
-
],
|
|
3693
|
-
"char": "o",
|
|
3694
|
-
"deprecateAliases": true,
|
|
3695
|
-
"name": "target-org",
|
|
3696
|
-
"noCacheDefault": true,
|
|
3697
|
-
"summary": "Username or alias of the target org.",
|
|
3698
|
-
"hasDynamicHelp": true,
|
|
3699
|
-
"multiple": false,
|
|
3700
|
-
"type": "option"
|
|
3701
3725
|
}
|
|
3702
3726
|
},
|
|
3703
|
-
"hasDynamicHelp":
|
|
3727
|
+
"hasDynamicHelp": false,
|
|
3704
3728
|
"hiddenAliases": [],
|
|
3705
|
-
"id": "hardis:work:
|
|
3729
|
+
"id": "hardis:work:ws",
|
|
3706
3730
|
"pluginAlias": "sfdx-hardis",
|
|
3707
3731
|
"pluginName": "sfdx-hardis",
|
|
3708
3732
|
"pluginType": "core",
|
|
3709
3733
|
"strict": true,
|
|
3710
3734
|
"enableJsonFlag": true,
|
|
3711
|
-
"title": "
|
|
3712
|
-
"requiresProject":
|
|
3735
|
+
"title": "WebSocket operations",
|
|
3736
|
+
"requiresProject": false,
|
|
3713
3737
|
"isESM": true,
|
|
3714
3738
|
"relativePath": [
|
|
3715
3739
|
"lib",
|
|
3716
3740
|
"commands",
|
|
3717
3741
|
"hardis",
|
|
3718
3742
|
"work",
|
|
3719
|
-
"
|
|
3743
|
+
"ws.js"
|
|
3720
3744
|
],
|
|
3721
3745
|
"aliasPermutations": [],
|
|
3722
3746
|
"permutations": [
|
|
3723
|
-
"hardis:work:
|
|
3724
|
-
"work:hardis:
|
|
3725
|
-
"work:
|
|
3726
|
-
"hardis:
|
|
3727
|
-
"
|
|
3728
|
-
"
|
|
3747
|
+
"hardis:work:ws",
|
|
3748
|
+
"work:hardis:ws",
|
|
3749
|
+
"work:ws:hardis",
|
|
3750
|
+
"hardis:ws:work",
|
|
3751
|
+
"ws:hardis:work",
|
|
3752
|
+
"ws:work:hardis"
|
|
3729
3753
|
]
|
|
3730
3754
|
},
|
|
3731
|
-
"hardis:
|
|
3755
|
+
"hardis:scratch:create": {
|
|
3732
3756
|
"aliases": [],
|
|
3733
3757
|
"args": {},
|
|
3734
|
-
"description": "
|
|
3758
|
+
"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 ",
|
|
3735
3759
|
"examples": [
|
|
3736
|
-
"$ sf hardis:
|
|
3760
|
+
"$ sf hardis:scratch:create"
|
|
3737
3761
|
],
|
|
3738
3762
|
"flags": {
|
|
3739
3763
|
"json": {
|
|
@@ -3751,10 +3775,16 @@
|
|
|
3751
3775
|
"multiple": false,
|
|
3752
3776
|
"type": "option"
|
|
3753
3777
|
},
|
|
3754
|
-
"
|
|
3778
|
+
"forcenew": {
|
|
3755
3779
|
"char": "n",
|
|
3756
|
-
"description": "
|
|
3757
|
-
"name": "
|
|
3780
|
+
"description": "If an existing scratch org exists, do not reuse it but create a new one",
|
|
3781
|
+
"name": "forcenew",
|
|
3782
|
+
"allowNo": false,
|
|
3783
|
+
"type": "boolean"
|
|
3784
|
+
},
|
|
3785
|
+
"pool": {
|
|
3786
|
+
"description": "Creates the scratch org for a scratch org pool",
|
|
3787
|
+
"name": "pool",
|
|
3758
3788
|
"allowNo": false,
|
|
3759
3789
|
"type": "boolean"
|
|
3760
3790
|
},
|
|
@@ -3778,17 +3808,16 @@
|
|
|
3778
3808
|
"allowNo": false,
|
|
3779
3809
|
"type": "boolean"
|
|
3780
3810
|
},
|
|
3781
|
-
"target-
|
|
3811
|
+
"target-dev-hub": {
|
|
3782
3812
|
"aliases": [
|
|
3783
|
-
"
|
|
3784
|
-
"u"
|
|
3813
|
+
"targetdevhubusername"
|
|
3785
3814
|
],
|
|
3786
|
-
"char": "
|
|
3815
|
+
"char": "v",
|
|
3787
3816
|
"deprecateAliases": true,
|
|
3788
|
-
"name": "target-
|
|
3817
|
+
"name": "target-dev-hub",
|
|
3789
3818
|
"noCacheDefault": true,
|
|
3790
3819
|
"required": true,
|
|
3791
|
-
"summary": "Username or alias of the
|
|
3820
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
3792
3821
|
"hasDynamicHelp": true,
|
|
3793
3822
|
"multiple": false,
|
|
3794
3823
|
"type": "option"
|
|
@@ -3796,38 +3825,42 @@
|
|
|
3796
3825
|
},
|
|
3797
3826
|
"hasDynamicHelp": true,
|
|
3798
3827
|
"hiddenAliases": [],
|
|
3799
|
-
"id": "hardis:
|
|
3828
|
+
"id": "hardis:scratch:create",
|
|
3800
3829
|
"pluginAlias": "sfdx-hardis",
|
|
3801
3830
|
"pluginName": "sfdx-hardis",
|
|
3802
3831
|
"pluginType": "core",
|
|
3803
3832
|
"strict": true,
|
|
3804
3833
|
"enableJsonFlag": true,
|
|
3805
|
-
"title": "
|
|
3834
|
+
"title": "Create and initialize scratch org",
|
|
3806
3835
|
"requiresProject": true,
|
|
3836
|
+
"requiresSfdxPlugins": [
|
|
3837
|
+
"sfdmu",
|
|
3838
|
+
"texei-sfdx-plugin"
|
|
3839
|
+
],
|
|
3807
3840
|
"isESM": true,
|
|
3808
3841
|
"relativePath": [
|
|
3809
3842
|
"lib",
|
|
3810
3843
|
"commands",
|
|
3811
3844
|
"hardis",
|
|
3812
|
-
"
|
|
3813
|
-
"
|
|
3845
|
+
"scratch",
|
|
3846
|
+
"create.js"
|
|
3814
3847
|
],
|
|
3815
3848
|
"aliasPermutations": [],
|
|
3816
3849
|
"permutations": [
|
|
3817
|
-
"hardis:
|
|
3818
|
-
"
|
|
3819
|
-
"
|
|
3820
|
-
"hardis:
|
|
3821
|
-
"
|
|
3822
|
-
"
|
|
3850
|
+
"hardis:scratch:create",
|
|
3851
|
+
"scratch:hardis:create",
|
|
3852
|
+
"scratch:create:hardis",
|
|
3853
|
+
"hardis:create:scratch",
|
|
3854
|
+
"create:hardis:scratch",
|
|
3855
|
+
"create:scratch:hardis"
|
|
3823
3856
|
]
|
|
3824
3857
|
},
|
|
3825
|
-
"hardis:
|
|
3858
|
+
"hardis:scratch:delete": {
|
|
3826
3859
|
"aliases": [],
|
|
3827
3860
|
"args": {},
|
|
3828
|
-
"description": "
|
|
3861
|
+
"description": "Assisted menu to delete scratch orgs associated to a DevHub",
|
|
3829
3862
|
"examples": [
|
|
3830
|
-
"$ sf hardis:
|
|
3863
|
+
"$ sf hardis:scratch:delete"
|
|
3831
3864
|
],
|
|
3832
3865
|
"flags": {
|
|
3833
3866
|
"json": {
|
|
@@ -3865,17 +3898,16 @@
|
|
|
3865
3898
|
"allowNo": false,
|
|
3866
3899
|
"type": "boolean"
|
|
3867
3900
|
},
|
|
3868
|
-
"target-
|
|
3901
|
+
"target-dev-hub": {
|
|
3869
3902
|
"aliases": [
|
|
3870
|
-
"
|
|
3871
|
-
"u"
|
|
3903
|
+
"targetdevhubusername"
|
|
3872
3904
|
],
|
|
3873
|
-
"char": "
|
|
3905
|
+
"char": "v",
|
|
3874
3906
|
"deprecateAliases": true,
|
|
3875
|
-
"name": "target-
|
|
3907
|
+
"name": "target-dev-hub",
|
|
3876
3908
|
"noCacheDefault": true,
|
|
3877
3909
|
"required": true,
|
|
3878
|
-
"summary": "Username or alias of the
|
|
3910
|
+
"summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
|
|
3879
3911
|
"hasDynamicHelp": true,
|
|
3880
3912
|
"multiple": false,
|
|
3881
3913
|
"type": "option"
|
|
@@ -3883,39 +3915,37 @@
|
|
|
3883
3915
|
},
|
|
3884
3916
|
"hasDynamicHelp": true,
|
|
3885
3917
|
"hiddenAliases": [],
|
|
3886
|
-
"id": "hardis:
|
|
3918
|
+
"id": "hardis:scratch:delete",
|
|
3887
3919
|
"pluginAlias": "sfdx-hardis",
|
|
3888
3920
|
"pluginName": "sfdx-hardis",
|
|
3889
3921
|
"pluginType": "core",
|
|
3890
3922
|
"strict": true,
|
|
3891
3923
|
"enableJsonFlag": true,
|
|
3892
|
-
"title": "
|
|
3893
|
-
"requiresProject": true,
|
|
3924
|
+
"title": "Delete scratch orgs(s)",
|
|
3894
3925
|
"isESM": true,
|
|
3895
3926
|
"relativePath": [
|
|
3896
3927
|
"lib",
|
|
3897
3928
|
"commands",
|
|
3898
3929
|
"hardis",
|
|
3899
|
-
"
|
|
3900
|
-
"
|
|
3930
|
+
"scratch",
|
|
3931
|
+
"delete.js"
|
|
3901
3932
|
],
|
|
3902
3933
|
"aliasPermutations": [],
|
|
3903
3934
|
"permutations": [
|
|
3904
|
-
"hardis:
|
|
3905
|
-
"
|
|
3906
|
-
"
|
|
3907
|
-
"hardis:
|
|
3908
|
-
"
|
|
3909
|
-
"
|
|
3935
|
+
"hardis:scratch:delete",
|
|
3936
|
+
"scratch:hardis:delete",
|
|
3937
|
+
"scratch:delete:hardis",
|
|
3938
|
+
"hardis:delete:scratch",
|
|
3939
|
+
"delete:hardis:scratch",
|
|
3940
|
+
"delete:scratch:hardis"
|
|
3910
3941
|
]
|
|
3911
3942
|
},
|
|
3912
|
-
"hardis:
|
|
3943
|
+
"hardis:scratch:pull": {
|
|
3913
3944
|
"aliases": [],
|
|
3914
3945
|
"args": {},
|
|
3915
|
-
"description": "
|
|
3946
|
+
"description": "This commands pulls the updates you performed in your scratch or sandbox org, into your local files\n\nThen, you probably want to stage and commit the files containing the updates you want to keep, as explained in this video.\n\n<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Ik6whtflmfY\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\n\n- Calls `sf project retrieve start` under the hood\n- If there are errors, proposes to automatically add erroneous item in `.forceignore`, then pull again\n- If you don't see your updated items in the results, you can manually retrieve [using SF Extension **Org Browser** or **Salesforce CLI**](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-publish-task/#retrieve-metadatas)\n- If you want to always retrieve sources like CustomApplication that are not always detected as updates by project:retrieve:start , you can define property **autoRetrieveWhenPull** in .sfdx-hardis.yml\n\nExample:\n```yaml\nautoRetrieveWhenPull:\n - CustomApplication:MyCustomApplication\n - CustomApplication:MyOtherCustomApplication\n - CustomApplication:MyThirdCustomApp\n```\n",
|
|
3916
3947
|
"examples": [
|
|
3917
|
-
"$ sf hardis:
|
|
3918
|
-
"$ sf hardis:work:task:save --nopull --nogit --noclean"
|
|
3948
|
+
"$ sf hardis:scratch:pull"
|
|
3919
3949
|
],
|
|
3920
3950
|
"flags": {
|
|
3921
3951
|
"json": {
|
|
@@ -3933,40 +3963,6 @@
|
|
|
3933
3963
|
"multiple": false,
|
|
3934
3964
|
"type": "option"
|
|
3935
3965
|
},
|
|
3936
|
-
"nopull": {
|
|
3937
|
-
"char": "n",
|
|
3938
|
-
"description": "No scratch pull before save",
|
|
3939
|
-
"name": "nopull",
|
|
3940
|
-
"allowNo": false,
|
|
3941
|
-
"type": "boolean"
|
|
3942
|
-
},
|
|
3943
|
-
"nogit": {
|
|
3944
|
-
"char": "g",
|
|
3945
|
-
"description": "No automated git operations",
|
|
3946
|
-
"name": "nogit",
|
|
3947
|
-
"allowNo": false,
|
|
3948
|
-
"type": "boolean"
|
|
3949
|
-
},
|
|
3950
|
-
"noclean": {
|
|
3951
|
-
"char": "c",
|
|
3952
|
-
"description": "No cleaning of local sources",
|
|
3953
|
-
"name": "noclean",
|
|
3954
|
-
"allowNo": false,
|
|
3955
|
-
"type": "boolean"
|
|
3956
|
-
},
|
|
3957
|
-
"auto": {
|
|
3958
|
-
"description": "No user prompts (when called from CI for example)",
|
|
3959
|
-
"name": "auto",
|
|
3960
|
-
"allowNo": false,
|
|
3961
|
-
"type": "boolean"
|
|
3962
|
-
},
|
|
3963
|
-
"targetbranch": {
|
|
3964
|
-
"description": "Name of the Merge Request target branch. Will be guessed or prompted if not provided.",
|
|
3965
|
-
"name": "targetbranch",
|
|
3966
|
-
"hasDynamicHelp": false,
|
|
3967
|
-
"multiple": false,
|
|
3968
|
-
"type": "option"
|
|
3969
|
-
},
|
|
3970
3966
|
"debug": {
|
|
3971
3967
|
"char": "d",
|
|
3972
3968
|
"description": "Activate debug mode (more logs)",
|
|
@@ -4005,41 +4001,38 @@
|
|
|
4005
4001
|
},
|
|
4006
4002
|
"hasDynamicHelp": true,
|
|
4007
4003
|
"hiddenAliases": [],
|
|
4008
|
-
"id": "hardis:
|
|
4004
|
+
"id": "hardis:scratch:pull",
|
|
4009
4005
|
"pluginAlias": "sfdx-hardis",
|
|
4010
4006
|
"pluginName": "sfdx-hardis",
|
|
4011
4007
|
"pluginType": "core",
|
|
4012
4008
|
"strict": true,
|
|
4013
4009
|
"enableJsonFlag": true,
|
|
4014
|
-
"title": "
|
|
4010
|
+
"title": "Scratch PULL",
|
|
4015
4011
|
"requiresProject": true,
|
|
4016
|
-
"requiresSfdxPlugins": [
|
|
4017
|
-
"sfdx-git-delta"
|
|
4018
|
-
],
|
|
4019
4012
|
"isESM": true,
|
|
4020
4013
|
"relativePath": [
|
|
4021
4014
|
"lib",
|
|
4022
4015
|
"commands",
|
|
4023
4016
|
"hardis",
|
|
4024
|
-
"
|
|
4025
|
-
"
|
|
4017
|
+
"scratch",
|
|
4018
|
+
"pull.js"
|
|
4026
4019
|
],
|
|
4027
4020
|
"aliasPermutations": [],
|
|
4028
4021
|
"permutations": [
|
|
4029
|
-
"hardis:
|
|
4030
|
-
"
|
|
4031
|
-
"
|
|
4032
|
-
"hardis:
|
|
4033
|
-
"
|
|
4034
|
-
"
|
|
4022
|
+
"hardis:scratch:pull",
|
|
4023
|
+
"scratch:hardis:pull",
|
|
4024
|
+
"scratch:pull:hardis",
|
|
4025
|
+
"hardis:pull:scratch",
|
|
4026
|
+
"pull:hardis:scratch",
|
|
4027
|
+
"pull:scratch:hardis"
|
|
4035
4028
|
]
|
|
4036
4029
|
},
|
|
4037
|
-
"hardis:
|
|
4030
|
+
"hardis:scratch:push": {
|
|
4038
4031
|
"aliases": [],
|
|
4039
4032
|
"args": {},
|
|
4040
|
-
"description": "
|
|
4033
|
+
"description": "Push local files to scratch org\n\nCalls `sf project deploy start` under the hood\n",
|
|
4041
4034
|
"examples": [
|
|
4042
|
-
"$ sf hardis:
|
|
4035
|
+
"$ sf hardis:scratch:push"
|
|
4043
4036
|
],
|
|
4044
4037
|
"flags": {
|
|
4045
4038
|
"json": {
|
|
@@ -4057,14 +4050,6 @@
|
|
|
4057
4050
|
"multiple": false,
|
|
4058
4051
|
"type": "option"
|
|
4059
4052
|
},
|
|
4060
|
-
"event": {
|
|
4061
|
-
"char": "e",
|
|
4062
|
-
"description": "WebSocket event",
|
|
4063
|
-
"name": "event",
|
|
4064
|
-
"hasDynamicHelp": false,
|
|
4065
|
-
"multiple": false,
|
|
4066
|
-
"type": "option"
|
|
4067
|
-
},
|
|
4068
4053
|
"debug": {
|
|
4069
4054
|
"char": "d",
|
|
4070
4055
|
"description": "Activate debug mode (more logs)",
|
|
@@ -4084,34 +4069,49 @@
|
|
|
4084
4069
|
"name": "skipauth",
|
|
4085
4070
|
"allowNo": false,
|
|
4086
4071
|
"type": "boolean"
|
|
4072
|
+
},
|
|
4073
|
+
"target-org": {
|
|
4074
|
+
"aliases": [
|
|
4075
|
+
"targetusername",
|
|
4076
|
+
"u"
|
|
4077
|
+
],
|
|
4078
|
+
"char": "o",
|
|
4079
|
+
"deprecateAliases": true,
|
|
4080
|
+
"name": "target-org",
|
|
4081
|
+
"noCacheDefault": true,
|
|
4082
|
+
"required": true,
|
|
4083
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
4084
|
+
"hasDynamicHelp": true,
|
|
4085
|
+
"multiple": false,
|
|
4086
|
+
"type": "option"
|
|
4087
4087
|
}
|
|
4088
4088
|
},
|
|
4089
|
-
"hasDynamicHelp":
|
|
4089
|
+
"hasDynamicHelp": true,
|
|
4090
4090
|
"hiddenAliases": [],
|
|
4091
|
-
"id": "hardis:
|
|
4091
|
+
"id": "hardis:scratch:push",
|
|
4092
4092
|
"pluginAlias": "sfdx-hardis",
|
|
4093
4093
|
"pluginName": "sfdx-hardis",
|
|
4094
4094
|
"pluginType": "core",
|
|
4095
4095
|
"strict": true,
|
|
4096
4096
|
"enableJsonFlag": true,
|
|
4097
|
-
"title": "
|
|
4098
|
-
"requiresProject":
|
|
4097
|
+
"title": "Scratch PUSH",
|
|
4098
|
+
"requiresProject": true,
|
|
4099
4099
|
"isESM": true,
|
|
4100
4100
|
"relativePath": [
|
|
4101
4101
|
"lib",
|
|
4102
4102
|
"commands",
|
|
4103
4103
|
"hardis",
|
|
4104
|
-
"
|
|
4105
|
-
"
|
|
4104
|
+
"scratch",
|
|
4105
|
+
"push.js"
|
|
4106
4106
|
],
|
|
4107
4107
|
"aliasPermutations": [],
|
|
4108
4108
|
"permutations": [
|
|
4109
|
-
"hardis:
|
|
4110
|
-
"
|
|
4111
|
-
"
|
|
4112
|
-
"hardis:
|
|
4113
|
-
"
|
|
4114
|
-
"
|
|
4109
|
+
"hardis:scratch:push",
|
|
4110
|
+
"scratch:hardis:push",
|
|
4111
|
+
"scratch:push:hardis",
|
|
4112
|
+
"hardis:push:scratch",
|
|
4113
|
+
"push:hardis:scratch",
|
|
4114
|
+
"push:scratch:hardis"
|
|
4115
4115
|
]
|
|
4116
4116
|
},
|
|
4117
4117
|
"hardis:doc:extract:permsetgroups": {
|
|
@@ -4202,115 +4202,23 @@
|
|
|
4202
4202
|
"hardis:doc:permsetgroups:extract",
|
|
4203
4203
|
"doc:hardis:permsetgroups:extract",
|
|
4204
4204
|
"doc:permsetgroups:hardis:extract",
|
|
4205
|
-
"doc:permsetgroups:extract:hardis",
|
|
4206
|
-
"hardis:permsetgroups:doc:extract",
|
|
4207
|
-
"permsetgroups:hardis:doc:extract",
|
|
4208
|
-
"permsetgroups:doc:hardis:extract",
|
|
4209
|
-
"permsetgroups:doc:extract:hardis",
|
|
4210
|
-
"hardis:permsetgroups:extract:doc",
|
|
4211
|
-
"permsetgroups:hardis:extract:doc",
|
|
4212
|
-
"permsetgroups:extract:hardis:doc",
|
|
4213
|
-
"permsetgroups:extract:doc:hardis"
|
|
4214
|
-
]
|
|
4215
|
-
},
|
|
4216
|
-
"hardis:doc:plugin:generate": {
|
|
4217
|
-
"aliases": [],
|
|
4218
|
-
"args": {},
|
|
4219
|
-
"description": "Generate Markdown documentation ready for HTML conversion with mkdocs\n\nAfter the first run, you need to update manually:\n\n- mkdocs.yml\n- .github/workflows/build-deploy-docs.yml\n- docs/javascripts/gtag.js , if you want Google Analytics tracking\n\nThen, activate Github pages, with \"gh_pages\" as target branch\n\nAt each merge into master/main branch, the GitHub Action build-deploy-docs will rebuild documentation and publish it in GitHub pages\n",
|
|
4220
|
-
"examples": [
|
|
4221
|
-
"$ sf hardis:doc:plugin:generate"
|
|
4222
|
-
],
|
|
4223
|
-
"flags": {
|
|
4224
|
-
"json": {
|
|
4225
|
-
"description": "Format output as json.",
|
|
4226
|
-
"helpGroup": "GLOBAL",
|
|
4227
|
-
"name": "json",
|
|
4228
|
-
"allowNo": false,
|
|
4229
|
-
"type": "boolean"
|
|
4230
|
-
},
|
|
4231
|
-
"flags-dir": {
|
|
4232
|
-
"helpGroup": "GLOBAL",
|
|
4233
|
-
"name": "flags-dir",
|
|
4234
|
-
"summary": "Import flag values from a directory.",
|
|
4235
|
-
"hasDynamicHelp": false,
|
|
4236
|
-
"multiple": false,
|
|
4237
|
-
"type": "option"
|
|
4238
|
-
},
|
|
4239
|
-
"debug": {
|
|
4240
|
-
"char": "d",
|
|
4241
|
-
"description": "Activate debug mode (more logs)",
|
|
4242
|
-
"name": "debug",
|
|
4243
|
-
"allowNo": false,
|
|
4244
|
-
"type": "boolean"
|
|
4245
|
-
},
|
|
4246
|
-
"websocket": {
|
|
4247
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4248
|
-
"name": "websocket",
|
|
4249
|
-
"hasDynamicHelp": false,
|
|
4250
|
-
"multiple": false,
|
|
4251
|
-
"type": "option"
|
|
4252
|
-
},
|
|
4253
|
-
"skipauth": {
|
|
4254
|
-
"description": "Skip authentication check when a default username is required",
|
|
4255
|
-
"name": "skipauth",
|
|
4256
|
-
"allowNo": false,
|
|
4257
|
-
"type": "boolean"
|
|
4258
|
-
}
|
|
4259
|
-
},
|
|
4260
|
-
"hasDynamicHelp": false,
|
|
4261
|
-
"hiddenAliases": [],
|
|
4262
|
-
"id": "hardis:doc:plugin:generate",
|
|
4263
|
-
"pluginAlias": "sfdx-hardis",
|
|
4264
|
-
"pluginName": "sfdx-hardis",
|
|
4265
|
-
"pluginType": "core",
|
|
4266
|
-
"strict": true,
|
|
4267
|
-
"enableJsonFlag": true,
|
|
4268
|
-
"title": "Generate SF Cli Plugin Documentation",
|
|
4269
|
-
"requiresProject": false,
|
|
4270
|
-
"isESM": true,
|
|
4271
|
-
"relativePath": [
|
|
4272
|
-
"lib",
|
|
4273
|
-
"commands",
|
|
4274
|
-
"hardis",
|
|
4275
|
-
"doc",
|
|
4276
|
-
"plugin",
|
|
4277
|
-
"generate.js"
|
|
4278
|
-
],
|
|
4279
|
-
"aliasPermutations": [],
|
|
4280
|
-
"permutations": [
|
|
4281
|
-
"hardis:doc:plugin:generate",
|
|
4282
|
-
"doc:hardis:plugin:generate",
|
|
4283
|
-
"doc:plugin:hardis:generate",
|
|
4284
|
-
"doc:plugin:generate:hardis",
|
|
4285
|
-
"hardis:plugin:doc:generate",
|
|
4286
|
-
"plugin:hardis:doc:generate",
|
|
4287
|
-
"plugin:doc:hardis:generate",
|
|
4288
|
-
"plugin:doc:generate:hardis",
|
|
4289
|
-
"hardis:plugin:generate:doc",
|
|
4290
|
-
"plugin:hardis:generate:doc",
|
|
4291
|
-
"plugin:generate:hardis:doc",
|
|
4292
|
-
"plugin:generate:doc:hardis",
|
|
4293
|
-
"hardis:doc:generate:plugin",
|
|
4294
|
-
"doc:hardis:generate:plugin",
|
|
4295
|
-
"doc:generate:hardis:plugin",
|
|
4296
|
-
"doc:generate:plugin:hardis",
|
|
4297
|
-
"hardis:generate:doc:plugin",
|
|
4298
|
-
"generate:hardis:doc:plugin",
|
|
4299
|
-
"generate:doc:hardis:plugin",
|
|
4300
|
-
"generate:doc:plugin:hardis",
|
|
4301
|
-
"hardis:generate:plugin:doc",
|
|
4302
|
-
"generate:hardis:plugin:doc",
|
|
4303
|
-
"generate:plugin:hardis:doc",
|
|
4304
|
-
"generate:plugin:doc:hardis"
|
|
4205
|
+
"doc:permsetgroups:extract:hardis",
|
|
4206
|
+
"hardis:permsetgroups:doc:extract",
|
|
4207
|
+
"permsetgroups:hardis:doc:extract",
|
|
4208
|
+
"permsetgroups:doc:hardis:extract",
|
|
4209
|
+
"permsetgroups:doc:extract:hardis",
|
|
4210
|
+
"hardis:permsetgroups:extract:doc",
|
|
4211
|
+
"permsetgroups:hardis:extract:doc",
|
|
4212
|
+
"permsetgroups:extract:hardis:doc",
|
|
4213
|
+
"permsetgroups:extract:doc:hardis"
|
|
4305
4214
|
]
|
|
4306
4215
|
},
|
|
4307
|
-
"hardis:
|
|
4216
|
+
"hardis:doc:plugin:generate": {
|
|
4308
4217
|
"aliases": [],
|
|
4309
4218
|
"args": {},
|
|
4310
|
-
"description": "
|
|
4219
|
+
"description": "Generate Markdown documentation ready for HTML conversion with mkdocs\n\nAfter the first run, you need to update manually:\n\n- mkdocs.yml\n- .github/workflows/build-deploy-docs.yml\n- docs/javascripts/gtag.js , if you want Google Analytics tracking\n\nThen, activate Github pages, with \"gh_pages\" as target branch\n\nAt each merge into master/main branch, the GitHub Action build-deploy-docs will rebuild documentation and publish it in GitHub pages\n",
|
|
4311
4220
|
"examples": [
|
|
4312
|
-
"$ sf hardis:
|
|
4313
|
-
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4221
|
+
"$ sf hardis:doc:plugin:generate"
|
|
4314
4222
|
],
|
|
4315
4223
|
"flags": {
|
|
4316
4224
|
"json": {
|
|
@@ -4328,43 +4236,6 @@
|
|
|
4328
4236
|
"multiple": false,
|
|
4329
4237
|
"type": "option"
|
|
4330
4238
|
},
|
|
4331
|
-
"target-branch": {
|
|
4332
|
-
"char": "t",
|
|
4333
|
-
"description": "Target branch of PRs",
|
|
4334
|
-
"name": "target-branch",
|
|
4335
|
-
"hasDynamicHelp": false,
|
|
4336
|
-
"multiple": false,
|
|
4337
|
-
"type": "option"
|
|
4338
|
-
},
|
|
4339
|
-
"status": {
|
|
4340
|
-
"char": "x",
|
|
4341
|
-
"description": "Status of the PR",
|
|
4342
|
-
"name": "status",
|
|
4343
|
-
"hasDynamicHelp": false,
|
|
4344
|
-
"multiple": false,
|
|
4345
|
-
"options": [
|
|
4346
|
-
"open",
|
|
4347
|
-
"merged",
|
|
4348
|
-
"abandoned"
|
|
4349
|
-
],
|
|
4350
|
-
"type": "option"
|
|
4351
|
-
},
|
|
4352
|
-
"min-date": {
|
|
4353
|
-
"char": "m",
|
|
4354
|
-
"description": "Minimum date for PR",
|
|
4355
|
-
"name": "min-date",
|
|
4356
|
-
"hasDynamicHelp": false,
|
|
4357
|
-
"multiple": false,
|
|
4358
|
-
"type": "option"
|
|
4359
|
-
},
|
|
4360
|
-
"outputfile": {
|
|
4361
|
-
"char": "f",
|
|
4362
|
-
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4363
|
-
"name": "outputfile",
|
|
4364
|
-
"hasDynamicHelp": false,
|
|
4365
|
-
"multiple": false,
|
|
4366
|
-
"type": "option"
|
|
4367
|
-
},
|
|
4368
4239
|
"debug": {
|
|
4369
4240
|
"char": "d",
|
|
4370
4241
|
"description": "Activate debug mode (more logs)",
|
|
@@ -4388,49 +4259,49 @@
|
|
|
4388
4259
|
},
|
|
4389
4260
|
"hasDynamicHelp": false,
|
|
4390
4261
|
"hiddenAliases": [],
|
|
4391
|
-
"id": "hardis:
|
|
4262
|
+
"id": "hardis:doc:plugin:generate",
|
|
4392
4263
|
"pluginAlias": "sfdx-hardis",
|
|
4393
4264
|
"pluginName": "sfdx-hardis",
|
|
4394
4265
|
"pluginType": "core",
|
|
4395
4266
|
"strict": true,
|
|
4396
4267
|
"enableJsonFlag": true,
|
|
4397
|
-
"title": "
|
|
4398
|
-
"requiresProject":
|
|
4268
|
+
"title": "Generate SF Cli Plugin Documentation",
|
|
4269
|
+
"requiresProject": false,
|
|
4399
4270
|
"isESM": true,
|
|
4400
4271
|
"relativePath": [
|
|
4401
4272
|
"lib",
|
|
4402
4273
|
"commands",
|
|
4403
4274
|
"hardis",
|
|
4404
|
-
"
|
|
4405
|
-
"
|
|
4406
|
-
"
|
|
4275
|
+
"doc",
|
|
4276
|
+
"plugin",
|
|
4277
|
+
"generate.js"
|
|
4407
4278
|
],
|
|
4408
4279
|
"aliasPermutations": [],
|
|
4409
4280
|
"permutations": [
|
|
4410
|
-
"hardis:
|
|
4411
|
-
"
|
|
4412
|
-
"
|
|
4413
|
-
"
|
|
4414
|
-
"hardis:
|
|
4415
|
-
"
|
|
4416
|
-
"
|
|
4417
|
-
"
|
|
4418
|
-
"hardis:
|
|
4419
|
-
"
|
|
4420
|
-
"
|
|
4421
|
-
"
|
|
4422
|
-
"hardis:
|
|
4423
|
-
"
|
|
4424
|
-
"
|
|
4425
|
-
"
|
|
4426
|
-
"hardis:
|
|
4427
|
-
"
|
|
4428
|
-
"
|
|
4429
|
-
"
|
|
4430
|
-
"hardis:
|
|
4431
|
-
"
|
|
4432
|
-
"
|
|
4433
|
-
"
|
|
4281
|
+
"hardis:doc:plugin:generate",
|
|
4282
|
+
"doc:hardis:plugin:generate",
|
|
4283
|
+
"doc:plugin:hardis:generate",
|
|
4284
|
+
"doc:plugin:generate:hardis",
|
|
4285
|
+
"hardis:plugin:doc:generate",
|
|
4286
|
+
"plugin:hardis:doc:generate",
|
|
4287
|
+
"plugin:doc:hardis:generate",
|
|
4288
|
+
"plugin:doc:generate:hardis",
|
|
4289
|
+
"hardis:plugin:generate:doc",
|
|
4290
|
+
"plugin:hardis:generate:doc",
|
|
4291
|
+
"plugin:generate:hardis:doc",
|
|
4292
|
+
"plugin:generate:doc:hardis",
|
|
4293
|
+
"hardis:doc:generate:plugin",
|
|
4294
|
+
"doc:hardis:generate:plugin",
|
|
4295
|
+
"doc:generate:hardis:plugin",
|
|
4296
|
+
"doc:generate:plugin:hardis",
|
|
4297
|
+
"hardis:generate:doc:plugin",
|
|
4298
|
+
"generate:hardis:doc:plugin",
|
|
4299
|
+
"generate:doc:hardis:plugin",
|
|
4300
|
+
"generate:doc:plugin:hardis",
|
|
4301
|
+
"hardis:generate:plugin:doc",
|
|
4302
|
+
"generate:hardis:plugin:doc",
|
|
4303
|
+
"generate:plugin:hardis:doc",
|
|
4304
|
+
"generate:plugin:doc:hardis"
|
|
4434
4305
|
]
|
|
4435
4306
|
},
|
|
4436
4307
|
"hardis:org:community:update": {
|
|
@@ -4744,17 +4615,164 @@
|
|
|
4744
4615
|
"allowNo": false,
|
|
4745
4616
|
"type": "boolean"
|
|
4746
4617
|
},
|
|
4747
|
-
"flags-dir": {
|
|
4748
|
-
"helpGroup": "GLOBAL",
|
|
4749
|
-
"name": "flags-dir",
|
|
4750
|
-
"summary": "Import flag values from a directory.",
|
|
4618
|
+
"flags-dir": {
|
|
4619
|
+
"helpGroup": "GLOBAL",
|
|
4620
|
+
"name": "flags-dir",
|
|
4621
|
+
"summary": "Import flag values from a directory.",
|
|
4622
|
+
"hasDynamicHelp": false,
|
|
4623
|
+
"multiple": false,
|
|
4624
|
+
"type": "option"
|
|
4625
|
+
},
|
|
4626
|
+
"orginstanceurl": {
|
|
4627
|
+
"description": "Org instance url (technical param, do not use manually)",
|
|
4628
|
+
"name": "orginstanceurl",
|
|
4629
|
+
"hasDynamicHelp": false,
|
|
4630
|
+
"multiple": false,
|
|
4631
|
+
"type": "option"
|
|
4632
|
+
},
|
|
4633
|
+
"debug": {
|
|
4634
|
+
"char": "d",
|
|
4635
|
+
"description": "Activate debug mode (more logs)",
|
|
4636
|
+
"name": "debug",
|
|
4637
|
+
"allowNo": false,
|
|
4638
|
+
"type": "boolean"
|
|
4639
|
+
},
|
|
4640
|
+
"websocket": {
|
|
4641
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
4642
|
+
"name": "websocket",
|
|
4643
|
+
"hasDynamicHelp": false,
|
|
4644
|
+
"multiple": false,
|
|
4645
|
+
"type": "option"
|
|
4646
|
+
},
|
|
4647
|
+
"skipauth": {
|
|
4648
|
+
"description": "Skip authentication check when a default username is required",
|
|
4649
|
+
"name": "skipauth",
|
|
4650
|
+
"allowNo": false,
|
|
4651
|
+
"type": "boolean"
|
|
4652
|
+
},
|
|
4653
|
+
"target-org": {
|
|
4654
|
+
"aliases": [
|
|
4655
|
+
"targetusername",
|
|
4656
|
+
"u"
|
|
4657
|
+
],
|
|
4658
|
+
"char": "o",
|
|
4659
|
+
"deprecateAliases": true,
|
|
4660
|
+
"name": "target-org",
|
|
4661
|
+
"noCacheDefault": true,
|
|
4662
|
+
"required": true,
|
|
4663
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
4664
|
+
"hasDynamicHelp": true,
|
|
4665
|
+
"multiple": false,
|
|
4666
|
+
"type": "option"
|
|
4667
|
+
}
|
|
4668
|
+
},
|
|
4669
|
+
"hasDynamicHelp": true,
|
|
4670
|
+
"hiddenAliases": [],
|
|
4671
|
+
"id": "hardis:org:configure:monitoring",
|
|
4672
|
+
"pluginAlias": "sfdx-hardis",
|
|
4673
|
+
"pluginName": "sfdx-hardis",
|
|
4674
|
+
"pluginType": "core",
|
|
4675
|
+
"strict": true,
|
|
4676
|
+
"enableJsonFlag": true,
|
|
4677
|
+
"title": "Configure org monitoring",
|
|
4678
|
+
"requiresProject": false,
|
|
4679
|
+
"requiresDependencies": [
|
|
4680
|
+
"openssl"
|
|
4681
|
+
],
|
|
4682
|
+
"isESM": true,
|
|
4683
|
+
"relativePath": [
|
|
4684
|
+
"lib",
|
|
4685
|
+
"commands",
|
|
4686
|
+
"hardis",
|
|
4687
|
+
"org",
|
|
4688
|
+
"configure",
|
|
4689
|
+
"monitoring.js"
|
|
4690
|
+
],
|
|
4691
|
+
"aliasPermutations": [],
|
|
4692
|
+
"permutations": [
|
|
4693
|
+
"hardis:org:configure:monitoring",
|
|
4694
|
+
"org:hardis:configure:monitoring",
|
|
4695
|
+
"org:configure:hardis:monitoring",
|
|
4696
|
+
"org:configure:monitoring:hardis",
|
|
4697
|
+
"hardis:configure:org:monitoring",
|
|
4698
|
+
"configure:hardis:org:monitoring",
|
|
4699
|
+
"configure:org:hardis:monitoring",
|
|
4700
|
+
"configure:org:monitoring:hardis",
|
|
4701
|
+
"hardis:configure:monitoring:org",
|
|
4702
|
+
"configure:hardis:monitoring:org",
|
|
4703
|
+
"configure:monitoring:hardis:org",
|
|
4704
|
+
"configure:monitoring:org:hardis",
|
|
4705
|
+
"hardis:org:monitoring:configure",
|
|
4706
|
+
"org:hardis:monitoring:configure",
|
|
4707
|
+
"org:monitoring:hardis:configure",
|
|
4708
|
+
"org:monitoring:configure:hardis",
|
|
4709
|
+
"hardis:monitoring:org:configure",
|
|
4710
|
+
"monitoring:hardis:org:configure",
|
|
4711
|
+
"monitoring:org:hardis:configure",
|
|
4712
|
+
"monitoring:org:configure:hardis",
|
|
4713
|
+
"hardis:monitoring:configure:org",
|
|
4714
|
+
"monitoring:hardis:configure:org",
|
|
4715
|
+
"monitoring:configure:hardis:org",
|
|
4716
|
+
"monitoring:configure:org:hardis"
|
|
4717
|
+
]
|
|
4718
|
+
},
|
|
4719
|
+
"hardis:git:pull-requests:extract": {
|
|
4720
|
+
"aliases": [],
|
|
4721
|
+
"args": {},
|
|
4722
|
+
"description": "Extract pull requests with filtering criteria",
|
|
4723
|
+
"examples": [
|
|
4724
|
+
"$ sf hardis:git:pull-requests:extract",
|
|
4725
|
+
"$ sf hardis:git:pull-requests:extract --target-branch main --status merged"
|
|
4726
|
+
],
|
|
4727
|
+
"flags": {
|
|
4728
|
+
"json": {
|
|
4729
|
+
"description": "Format output as json.",
|
|
4730
|
+
"helpGroup": "GLOBAL",
|
|
4731
|
+
"name": "json",
|
|
4732
|
+
"allowNo": false,
|
|
4733
|
+
"type": "boolean"
|
|
4734
|
+
},
|
|
4735
|
+
"flags-dir": {
|
|
4736
|
+
"helpGroup": "GLOBAL",
|
|
4737
|
+
"name": "flags-dir",
|
|
4738
|
+
"summary": "Import flag values from a directory.",
|
|
4739
|
+
"hasDynamicHelp": false,
|
|
4740
|
+
"multiple": false,
|
|
4741
|
+
"type": "option"
|
|
4742
|
+
},
|
|
4743
|
+
"target-branch": {
|
|
4744
|
+
"char": "t",
|
|
4745
|
+
"description": "Target branch of PRs",
|
|
4746
|
+
"name": "target-branch",
|
|
4747
|
+
"hasDynamicHelp": false,
|
|
4748
|
+
"multiple": false,
|
|
4749
|
+
"type": "option"
|
|
4750
|
+
},
|
|
4751
|
+
"status": {
|
|
4752
|
+
"char": "x",
|
|
4753
|
+
"description": "Status of the PR",
|
|
4754
|
+
"name": "status",
|
|
4755
|
+
"hasDynamicHelp": false,
|
|
4756
|
+
"multiple": false,
|
|
4757
|
+
"options": [
|
|
4758
|
+
"open",
|
|
4759
|
+
"merged",
|
|
4760
|
+
"abandoned"
|
|
4761
|
+
],
|
|
4762
|
+
"type": "option"
|
|
4763
|
+
},
|
|
4764
|
+
"min-date": {
|
|
4765
|
+
"char": "m",
|
|
4766
|
+
"description": "Minimum date for PR",
|
|
4767
|
+
"name": "min-date",
|
|
4751
4768
|
"hasDynamicHelp": false,
|
|
4752
4769
|
"multiple": false,
|
|
4753
4770
|
"type": "option"
|
|
4754
4771
|
},
|
|
4755
|
-
"
|
|
4756
|
-
"
|
|
4757
|
-
"
|
|
4772
|
+
"outputfile": {
|
|
4773
|
+
"char": "f",
|
|
4774
|
+
"description": "Force the path and name of output report file. Must end with .csv",
|
|
4775
|
+
"name": "outputfile",
|
|
4758
4776
|
"hasDynamicHelp": false,
|
|
4759
4777
|
"multiple": false,
|
|
4760
4778
|
"type": "option"
|
|
@@ -4778,71 +4796,53 @@
|
|
|
4778
4796
|
"name": "skipauth",
|
|
4779
4797
|
"allowNo": false,
|
|
4780
4798
|
"type": "boolean"
|
|
4781
|
-
},
|
|
4782
|
-
"target-org": {
|
|
4783
|
-
"aliases": [
|
|
4784
|
-
"targetusername",
|
|
4785
|
-
"u"
|
|
4786
|
-
],
|
|
4787
|
-
"char": "o",
|
|
4788
|
-
"deprecateAliases": true,
|
|
4789
|
-
"name": "target-org",
|
|
4790
|
-
"noCacheDefault": true,
|
|
4791
|
-
"required": true,
|
|
4792
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
4793
|
-
"hasDynamicHelp": true,
|
|
4794
|
-
"multiple": false,
|
|
4795
|
-
"type": "option"
|
|
4796
4799
|
}
|
|
4797
4800
|
},
|
|
4798
|
-
"hasDynamicHelp":
|
|
4801
|
+
"hasDynamicHelp": false,
|
|
4799
4802
|
"hiddenAliases": [],
|
|
4800
|
-
"id": "hardis:
|
|
4803
|
+
"id": "hardis:git:pull-requests:extract",
|
|
4801
4804
|
"pluginAlias": "sfdx-hardis",
|
|
4802
4805
|
"pluginName": "sfdx-hardis",
|
|
4803
4806
|
"pluginType": "core",
|
|
4804
4807
|
"strict": true,
|
|
4805
4808
|
"enableJsonFlag": true,
|
|
4806
|
-
"title": "
|
|
4807
|
-
"requiresProject":
|
|
4808
|
-
"requiresDependencies": [
|
|
4809
|
-
"openssl"
|
|
4810
|
-
],
|
|
4809
|
+
"title": "Extract pull requests",
|
|
4810
|
+
"requiresProject": true,
|
|
4811
4811
|
"isESM": true,
|
|
4812
4812
|
"relativePath": [
|
|
4813
4813
|
"lib",
|
|
4814
4814
|
"commands",
|
|
4815
4815
|
"hardis",
|
|
4816
|
-
"
|
|
4817
|
-
"
|
|
4818
|
-
"
|
|
4816
|
+
"git",
|
|
4817
|
+
"pull-requests",
|
|
4818
|
+
"extract.js"
|
|
4819
4819
|
],
|
|
4820
4820
|
"aliasPermutations": [],
|
|
4821
4821
|
"permutations": [
|
|
4822
|
-
"hardis:
|
|
4823
|
-
"
|
|
4824
|
-
"
|
|
4825
|
-
"
|
|
4826
|
-
"hardis:
|
|
4827
|
-
"
|
|
4828
|
-
"
|
|
4829
|
-
"
|
|
4830
|
-
"hardis:
|
|
4831
|
-
"
|
|
4832
|
-
"
|
|
4833
|
-
"
|
|
4834
|
-
"hardis:
|
|
4835
|
-
"
|
|
4836
|
-
"
|
|
4837
|
-
"
|
|
4838
|
-
"hardis:
|
|
4839
|
-
"
|
|
4840
|
-
"
|
|
4841
|
-
"
|
|
4842
|
-
"hardis:
|
|
4843
|
-
"
|
|
4844
|
-
"
|
|
4845
|
-
"
|
|
4822
|
+
"hardis:git:pull-requests:extract",
|
|
4823
|
+
"git:hardis:pull-requests:extract",
|
|
4824
|
+
"git:pull-requests:hardis:extract",
|
|
4825
|
+
"git:pull-requests:extract:hardis",
|
|
4826
|
+
"hardis:pull-requests:git:extract",
|
|
4827
|
+
"pull-requests:hardis:git:extract",
|
|
4828
|
+
"pull-requests:git:hardis:extract",
|
|
4829
|
+
"pull-requests:git:extract:hardis",
|
|
4830
|
+
"hardis:pull-requests:extract:git",
|
|
4831
|
+
"pull-requests:hardis:extract:git",
|
|
4832
|
+
"pull-requests:extract:hardis:git",
|
|
4833
|
+
"pull-requests:extract:git:hardis",
|
|
4834
|
+
"hardis:git:extract:pull-requests",
|
|
4835
|
+
"git:hardis:extract:pull-requests",
|
|
4836
|
+
"git:extract:hardis:pull-requests",
|
|
4837
|
+
"git:extract:pull-requests:hardis",
|
|
4838
|
+
"hardis:extract:git:pull-requests",
|
|
4839
|
+
"extract:hardis:git:pull-requests",
|
|
4840
|
+
"extract:git:hardis:pull-requests",
|
|
4841
|
+
"extract:git:pull-requests:hardis",
|
|
4842
|
+
"hardis:extract:pull-requests:git",
|
|
4843
|
+
"extract:hardis:pull-requests:git",
|
|
4844
|
+
"extract:pull-requests:hardis:git",
|
|
4845
|
+
"extract:pull-requests:git:hardis"
|
|
4846
4846
|
]
|
|
4847
4847
|
},
|
|
4848
4848
|
"hardis:org:data:delete": {
|
|
@@ -7039,7 +7039,7 @@
|
|
|
7039
7039
|
"hardis:org:monitor:backup": {
|
|
7040
7040
|
"aliases": [],
|
|
7041
7041
|
"args": {},
|
|
7042
|
-
"description": "Retrieve sfdx sources in the context of a monitoring backup\n\nThe command exists in 2 modes: filtered(default & recommended) and full.\n\n## Filtered mode (default, better performances)\n\nAutomatically skips metadatas from installed packages with namespace. \n\nYou can remove more metadata types from backup, especially in case you have too many metadatas and that provokes a crash, using:\n\n- Manual update of `manifest/package-skip-items.xml` config file (then commit & push in the same branch)\n\n- Environment variable MONITORING_BACKUP_SKIP_METADATA_TYPES (example: `MONITORING_BACKUP_SKIP_METADATA_TYPES=CustomLabel,StaticResource,Translation`): that will be applied to all monitoring branches.\n\n## Full mode\n\nActivate it with **--full** parameter, or variable MONITORING_BACKUP_MODE_FULL=true\n\nIgnores filters (namespaces items & manifest/package-skip-items.xml) to retrieve ALL metadatas, including those you might not care about (reports, translations...)\n\nAs we can retrieve only 10000 files by call, the list of all metadatas will be chunked to make multiple calls (and take more time than filtered mode)\n\n- if you use `--full-apply-filters` , manifest/package-skip-items.xml and MONITORING_BACKUP_SKIP_METADATA_TYPES filters will be applied anyway\n- if you use `--exclude-namespaces` , namespaced items will be ignored\n\n_With those both options, it's like if you are not using --full, but with chunked metadata download_\n\n## In CI/CD\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-metadata-backup/) and can output Grafana, Slack and MsTeams Notifications.\n\n## Documentation\n\n[Doc generation (including visual flows)](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) is triggered at the end of the command.\n\nIf you want to also upload HTML Documentation on your Salesforce Org as static resource, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_ORG=\"true\"**\n\nIf you want to also upload HTML Documentation on Cloudflare, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_CLOUDFLARE=\"true\"**\n\nIf Flow history doc always display a single state, you probably need to update your workflow configuration:\n\n- on Gitlab: Env variable [`GIT_FETCH_EXTRA_FLAGS: --depth 10000`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.gitlab-ci.yml#L11)\n- on GitHub: [`fetch-depth: 0`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.github/workflows/org-monitoring.yml#L58)\n- on Azure: [`fetchDepth: \"0\"`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/azure-pipelines.yml#L39)\n- on Bitbucket: [`step: clone: depth: full`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/bitbucket-pipelines.yml#L18)\n",
|
|
7042
|
+
"description": "Retrieve sfdx sources in the context of a monitoring backup\n\nThe command exists in 2 modes: filtered(default & recommended) and full.\n\n## Filtered mode (default, better performances)\n\nAutomatically skips metadatas from installed packages with namespace. \n\nYou can remove more metadata types from backup, especially in case you have too many metadatas and that provokes a crash, using:\n\n- Manual update of `manifest/package-skip-items.xml` config file (then commit & push in the same branch)\n\n - Works with full wildcard (`<members>*</members>`) , named metadata (`<members>Account.Name</members>`) or partial wildcards names (`<members>pi__*</members>` , `<members>*__dlm</members>` , or `<members>prefix*suffix</members>`)\n\n- Environment variable MONITORING_BACKUP_SKIP_METADATA_TYPES (example: `MONITORING_BACKUP_SKIP_METADATA_TYPES=CustomLabel,StaticResource,Translation`): that will be applied to all monitoring branches.\n\n## Full mode\n\nActivate it with **--full** parameter, or variable MONITORING_BACKUP_MODE_FULL=true\n\nIgnores filters (namespaces items & manifest/package-skip-items.xml) to retrieve ALL metadatas, including those you might not care about (reports, translations...)\n\nAs we can retrieve only 10000 files by call, the list of all metadatas will be chunked to make multiple calls (and take more time than filtered mode)\n\n- if you use `--full-apply-filters` , manifest/package-skip-items.xml and MONITORING_BACKUP_SKIP_METADATA_TYPES filters will be applied anyway\n- if you use `--exclude-namespaces` , namespaced items will be ignored\n\n_With those both options, it's like if you are not using --full, but with chunked metadata download_\n\n## In CI/CD\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-metadata-backup/) and can output Grafana, Slack and MsTeams Notifications.\n\n## Documentation\n\n[Doc generation (including visual flows)](https://sfdx-hardis.cloudity.com/hardis/doc/project2markdown/) is triggered at the end of the command.\n\nIf you want to also upload HTML Documentation on your Salesforce Org as static resource, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_ORG=\"true\"**\n\nIf you want to also upload HTML Documentation on Cloudflare, use variable **SFDX_HARDIS_DOC_DEPLOY_TO_CLOUDFLARE=\"true\"**\n\nIf Flow history doc always display a single state, you probably need to update your workflow configuration:\n\n- on Gitlab: Env variable [`GIT_FETCH_EXTRA_FLAGS: --depth 10000`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.gitlab-ci.yml#L11)\n- on GitHub: [`fetch-depth: 0`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/.github/workflows/org-monitoring.yml#L58)\n- on Azure: [`fetchDepth: \"0\"`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/azure-pipelines.yml#L39)\n- on Bitbucket: [`step: clone: depth: full`](https://github.com/hardisgroupcom/sfdx-hardis/blob/main/defaults/monitoring/bitbucket-pipelines.yml#L18)\n",
|
|
7043
7043
|
"examples": [
|
|
7044
7044
|
"$ sf hardis:org:monitor:backup",
|
|
7045
7045
|
"$ sf hardis:org:monitor:backup --full",
|
|
@@ -7572,12 +7572,13 @@
|
|
|
7572
7572
|
"flow:purge:org:hardis"
|
|
7573
7573
|
]
|
|
7574
7574
|
},
|
|
7575
|
-
"hardis:org:
|
|
7575
|
+
"hardis:org:retrieve:packageconfig": {
|
|
7576
7576
|
"aliases": [],
|
|
7577
7577
|
"args": {},
|
|
7578
|
-
"description": "
|
|
7578
|
+
"description": "Retrieve package configuration from an org",
|
|
7579
7579
|
"examples": [
|
|
7580
|
-
"$ sf hardis:org:
|
|
7580
|
+
"$ sf hardis:org:retrieve:packageconfig",
|
|
7581
|
+
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
7581
7582
|
],
|
|
7582
7583
|
"flags": {
|
|
7583
7584
|
"json": {
|
|
@@ -7595,21 +7596,6 @@
|
|
|
7595
7596
|
"multiple": false,
|
|
7596
7597
|
"type": "option"
|
|
7597
7598
|
},
|
|
7598
|
-
"testlevel": {
|
|
7599
|
-
"char": "l",
|
|
7600
|
-
"description": "Level of tests to apply to validate deployment",
|
|
7601
|
-
"name": "testlevel",
|
|
7602
|
-
"default": "RunLocalTests",
|
|
7603
|
-
"hasDynamicHelp": false,
|
|
7604
|
-
"multiple": false,
|
|
7605
|
-
"options": [
|
|
7606
|
-
"NoTestRun",
|
|
7607
|
-
"RunSpecifiedTests",
|
|
7608
|
-
"RunLocalTests",
|
|
7609
|
-
"RunAllTestsInOrg"
|
|
7610
|
-
],
|
|
7611
|
-
"type": "option"
|
|
7612
|
-
},
|
|
7613
7599
|
"debug": {
|
|
7614
7600
|
"char": "d",
|
|
7615
7601
|
"description": "Activate debug mode (more logs)",
|
|
@@ -7648,57 +7634,57 @@
|
|
|
7648
7634
|
},
|
|
7649
7635
|
"hasDynamicHelp": true,
|
|
7650
7636
|
"hiddenAliases": [],
|
|
7651
|
-
"id": "hardis:org:
|
|
7637
|
+
"id": "hardis:org:retrieve:packageconfig",
|
|
7652
7638
|
"pluginAlias": "sfdx-hardis",
|
|
7653
7639
|
"pluginName": "sfdx-hardis",
|
|
7654
7640
|
"pluginType": "core",
|
|
7655
7641
|
"strict": true,
|
|
7656
7642
|
"enableJsonFlag": true,
|
|
7657
|
-
"title": "
|
|
7643
|
+
"title": "Retrieve package configuration from an org",
|
|
7644
|
+
"requiresProject": false,
|
|
7658
7645
|
"isESM": true,
|
|
7659
7646
|
"relativePath": [
|
|
7660
7647
|
"lib",
|
|
7661
7648
|
"commands",
|
|
7662
7649
|
"hardis",
|
|
7663
7650
|
"org",
|
|
7664
|
-
"
|
|
7665
|
-
"
|
|
7651
|
+
"retrieve",
|
|
7652
|
+
"packageconfig.js"
|
|
7666
7653
|
],
|
|
7667
7654
|
"aliasPermutations": [],
|
|
7668
7655
|
"permutations": [
|
|
7669
|
-
"hardis:org:
|
|
7670
|
-
"org:hardis:
|
|
7671
|
-
"org:
|
|
7672
|
-
"org:
|
|
7673
|
-
"hardis:
|
|
7674
|
-
"
|
|
7675
|
-
"
|
|
7676
|
-
"
|
|
7677
|
-
"hardis:
|
|
7678
|
-
"
|
|
7679
|
-
"
|
|
7680
|
-
"
|
|
7681
|
-
"hardis:org:
|
|
7682
|
-
"org:hardis:
|
|
7683
|
-
"org:
|
|
7684
|
-
"org:
|
|
7685
|
-
"hardis:
|
|
7686
|
-
"
|
|
7687
|
-
"
|
|
7688
|
-
"
|
|
7689
|
-
"hardis:
|
|
7690
|
-
"
|
|
7691
|
-
"
|
|
7692
|
-
"
|
|
7656
|
+
"hardis:org:retrieve:packageconfig",
|
|
7657
|
+
"org:hardis:retrieve:packageconfig",
|
|
7658
|
+
"org:retrieve:hardis:packageconfig",
|
|
7659
|
+
"org:retrieve:packageconfig:hardis",
|
|
7660
|
+
"hardis:retrieve:org:packageconfig",
|
|
7661
|
+
"retrieve:hardis:org:packageconfig",
|
|
7662
|
+
"retrieve:org:hardis:packageconfig",
|
|
7663
|
+
"retrieve:org:packageconfig:hardis",
|
|
7664
|
+
"hardis:retrieve:packageconfig:org",
|
|
7665
|
+
"retrieve:hardis:packageconfig:org",
|
|
7666
|
+
"retrieve:packageconfig:hardis:org",
|
|
7667
|
+
"retrieve:packageconfig:org:hardis",
|
|
7668
|
+
"hardis:org:packageconfig:retrieve",
|
|
7669
|
+
"org:hardis:packageconfig:retrieve",
|
|
7670
|
+
"org:packageconfig:hardis:retrieve",
|
|
7671
|
+
"org:packageconfig:retrieve:hardis",
|
|
7672
|
+
"hardis:packageconfig:org:retrieve",
|
|
7673
|
+
"packageconfig:hardis:org:retrieve",
|
|
7674
|
+
"packageconfig:org:hardis:retrieve",
|
|
7675
|
+
"packageconfig:org:retrieve:hardis",
|
|
7676
|
+
"hardis:packageconfig:retrieve:org",
|
|
7677
|
+
"packageconfig:hardis:retrieve:org",
|
|
7678
|
+
"packageconfig:retrieve:hardis:org",
|
|
7679
|
+
"packageconfig:retrieve:org:hardis"
|
|
7693
7680
|
]
|
|
7694
7681
|
},
|
|
7695
|
-
"hardis:org:
|
|
7682
|
+
"hardis:org:test:apex": {
|
|
7696
7683
|
"aliases": [],
|
|
7697
7684
|
"args": {},
|
|
7698
|
-
"description": "
|
|
7685
|
+
"description": "Run apex tests in Salesforce org\n\nIf following configuration is defined, it will fail if apex coverage target is not reached:\n\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n- Env `APEX_TESTS_MIN_COVERAGE_ORG_WIDE` or `.sfdx-hardis` property `apexTestsMinCoverageOrgWide`\n\nYou can override env var SFDX_TEST_WAIT_MINUTES to wait more than 60 minutes.\n\nThis command is part of [sfdx-hardis Monitoring](https://sfdx-hardis.cloudity.com/salesforce-monitoring-apex-tests/) and can output Grafana, Slack and MsTeams Notifications.\n",
|
|
7699
7686
|
"examples": [
|
|
7700
|
-
"$ sf hardis:org:
|
|
7701
|
-
"sf hardis:org:retrieve:packageconfig -u myOrg"
|
|
7687
|
+
"$ sf hardis:org:test:apex"
|
|
7702
7688
|
],
|
|
7703
7689
|
"flags": {
|
|
7704
7690
|
"json": {
|
|
@@ -7716,6 +7702,21 @@
|
|
|
7716
7702
|
"multiple": false,
|
|
7717
7703
|
"type": "option"
|
|
7718
7704
|
},
|
|
7705
|
+
"testlevel": {
|
|
7706
|
+
"char": "l",
|
|
7707
|
+
"description": "Level of tests to apply to validate deployment",
|
|
7708
|
+
"name": "testlevel",
|
|
7709
|
+
"default": "RunLocalTests",
|
|
7710
|
+
"hasDynamicHelp": false,
|
|
7711
|
+
"multiple": false,
|
|
7712
|
+
"options": [
|
|
7713
|
+
"NoTestRun",
|
|
7714
|
+
"RunSpecifiedTests",
|
|
7715
|
+
"RunLocalTests",
|
|
7716
|
+
"RunAllTestsInOrg"
|
|
7717
|
+
],
|
|
7718
|
+
"type": "option"
|
|
7719
|
+
},
|
|
7719
7720
|
"debug": {
|
|
7720
7721
|
"char": "d",
|
|
7721
7722
|
"description": "Activate debug mode (more logs)",
|
|
@@ -7754,49 +7755,48 @@
|
|
|
7754
7755
|
},
|
|
7755
7756
|
"hasDynamicHelp": true,
|
|
7756
7757
|
"hiddenAliases": [],
|
|
7757
|
-
"id": "hardis:org:
|
|
7758
|
+
"id": "hardis:org:test:apex",
|
|
7758
7759
|
"pluginAlias": "sfdx-hardis",
|
|
7759
7760
|
"pluginName": "sfdx-hardis",
|
|
7760
7761
|
"pluginType": "core",
|
|
7761
7762
|
"strict": true,
|
|
7762
7763
|
"enableJsonFlag": true,
|
|
7763
|
-
"title": "
|
|
7764
|
-
"requiresProject": false,
|
|
7764
|
+
"title": "Run apex tests",
|
|
7765
7765
|
"isESM": true,
|
|
7766
7766
|
"relativePath": [
|
|
7767
7767
|
"lib",
|
|
7768
7768
|
"commands",
|
|
7769
7769
|
"hardis",
|
|
7770
7770
|
"org",
|
|
7771
|
-
"
|
|
7772
|
-
"
|
|
7771
|
+
"test",
|
|
7772
|
+
"apex.js"
|
|
7773
7773
|
],
|
|
7774
7774
|
"aliasPermutations": [],
|
|
7775
7775
|
"permutations": [
|
|
7776
|
-
"hardis:org:
|
|
7777
|
-
"org:hardis:
|
|
7778
|
-
"org:
|
|
7779
|
-
"org:
|
|
7780
|
-
"hardis:
|
|
7781
|
-
"
|
|
7782
|
-
"
|
|
7783
|
-
"
|
|
7784
|
-
"hardis:
|
|
7785
|
-
"
|
|
7786
|
-
"
|
|
7787
|
-
"
|
|
7788
|
-
"hardis:org:
|
|
7789
|
-
"org:hardis:
|
|
7790
|
-
"org:
|
|
7791
|
-
"org:
|
|
7792
|
-
"hardis:
|
|
7793
|
-
"
|
|
7794
|
-
"
|
|
7795
|
-
"
|
|
7796
|
-
"hardis:
|
|
7797
|
-
"
|
|
7798
|
-
"
|
|
7799
|
-
"
|
|
7776
|
+
"hardis:org:test:apex",
|
|
7777
|
+
"org:hardis:test:apex",
|
|
7778
|
+
"org:test:hardis:apex",
|
|
7779
|
+
"org:test:apex:hardis",
|
|
7780
|
+
"hardis:test:org:apex",
|
|
7781
|
+
"test:hardis:org:apex",
|
|
7782
|
+
"test:org:hardis:apex",
|
|
7783
|
+
"test:org:apex:hardis",
|
|
7784
|
+
"hardis:test:apex:org",
|
|
7785
|
+
"test:hardis:apex:org",
|
|
7786
|
+
"test:apex:hardis:org",
|
|
7787
|
+
"test:apex:org:hardis",
|
|
7788
|
+
"hardis:org:apex:test",
|
|
7789
|
+
"org:hardis:apex:test",
|
|
7790
|
+
"org:apex:hardis:test",
|
|
7791
|
+
"org:apex:test:hardis",
|
|
7792
|
+
"hardis:apex:org:test",
|
|
7793
|
+
"apex:hardis:org:test",
|
|
7794
|
+
"apex:org:hardis:test",
|
|
7795
|
+
"apex:org:test:hardis",
|
|
7796
|
+
"hardis:apex:test:org",
|
|
7797
|
+
"apex:hardis:test:org",
|
|
7798
|
+
"apex:test:hardis:org",
|
|
7799
|
+
"apex:test:org:hardis"
|
|
7800
7800
|
]
|
|
7801
7801
|
},
|
|
7802
7802
|
"hardis:org:user:activateinvalid": {
|
|
@@ -14517,5 +14517,5 @@
|
|
|
14517
14517
|
]
|
|
14518
14518
|
}
|
|
14519
14519
|
},
|
|
14520
|
-
"version": "5.
|
|
14520
|
+
"version": "5.26.0"
|
|
14521
14521
|
}
|