sfdx-hardis 5.34.0 → 5.34.1
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 +4 -0
- package/lib/commands/hardis/doc/project2markdown.js +2 -2
- package/lib/commands/hardis/doc/project2markdown.js.map +1 -1
- package/lib/common/aiProvider/promptTemplates.js +1 -1
- package/lib/common/aiProvider/promptTemplates.js.map +1 -1
- package/oclif.manifest.json +893 -893
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -57,13 +57,12 @@
|
|
|
57
57
|
"world:hello"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"hardis:
|
|
60
|
+
"hardis:cache:clear": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
|
-
"description": "
|
|
63
|
+
"description": "Clear cache generated by sfdx-hardis",
|
|
64
64
|
"examples": [
|
|
65
|
-
"$ sf hardis:
|
|
66
|
-
"CI=true sf hardis:auth:login"
|
|
65
|
+
"$ sf hardis:cache:clear"
|
|
67
66
|
],
|
|
68
67
|
"flags": {
|
|
69
68
|
"json": {
|
|
@@ -81,28 +80,6 @@
|
|
|
81
80
|
"multiple": false,
|
|
82
81
|
"type": "option"
|
|
83
82
|
},
|
|
84
|
-
"instanceurl": {
|
|
85
|
-
"char": "r",
|
|
86
|
-
"description": "URL of org instance",
|
|
87
|
-
"name": "instanceurl",
|
|
88
|
-
"hasDynamicHelp": false,
|
|
89
|
-
"multiple": false,
|
|
90
|
-
"type": "option"
|
|
91
|
-
},
|
|
92
|
-
"devhub": {
|
|
93
|
-
"char": "h",
|
|
94
|
-
"description": "Also connect associated DevHub",
|
|
95
|
-
"name": "devhub",
|
|
96
|
-
"allowNo": false,
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
},
|
|
99
|
-
"scratchorg": {
|
|
100
|
-
"char": "s",
|
|
101
|
-
"description": "Scratch org",
|
|
102
|
-
"name": "scratchorg",
|
|
103
|
-
"allowNo": false,
|
|
104
|
-
"type": "boolean"
|
|
105
|
-
},
|
|
106
83
|
"debug": {
|
|
107
84
|
"char": "d",
|
|
108
85
|
"description": "Activate debug mode (more logs)",
|
|
@@ -126,38 +103,39 @@
|
|
|
126
103
|
},
|
|
127
104
|
"hasDynamicHelp": false,
|
|
128
105
|
"hiddenAliases": [],
|
|
129
|
-
"id": "hardis:
|
|
106
|
+
"id": "hardis:cache:clear",
|
|
130
107
|
"pluginAlias": "sfdx-hardis",
|
|
131
108
|
"pluginName": "sfdx-hardis",
|
|
132
109
|
"pluginType": "core",
|
|
133
110
|
"strict": true,
|
|
134
111
|
"enableJsonFlag": true,
|
|
135
|
-
"title": "
|
|
112
|
+
"title": "Clear sfdx-hardis cache",
|
|
136
113
|
"requiresProject": false,
|
|
137
114
|
"isESM": true,
|
|
138
115
|
"relativePath": [
|
|
139
116
|
"lib",
|
|
140
117
|
"commands",
|
|
141
118
|
"hardis",
|
|
142
|
-
"
|
|
143
|
-
"
|
|
119
|
+
"cache",
|
|
120
|
+
"clear.js"
|
|
144
121
|
],
|
|
145
122
|
"aliasPermutations": [],
|
|
146
123
|
"permutations": [
|
|
147
|
-
"hardis:
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"hardis:
|
|
151
|
-
"
|
|
152
|
-
"
|
|
124
|
+
"hardis:cache:clear",
|
|
125
|
+
"cache:hardis:clear",
|
|
126
|
+
"cache:clear:hardis",
|
|
127
|
+
"hardis:clear:cache",
|
|
128
|
+
"clear:hardis:cache",
|
|
129
|
+
"clear:cache:hardis"
|
|
153
130
|
]
|
|
154
131
|
},
|
|
155
|
-
"hardis:
|
|
132
|
+
"hardis:auth:login": {
|
|
156
133
|
"aliases": [],
|
|
157
134
|
"args": {},
|
|
158
|
-
"description": "
|
|
135
|
+
"description": "Login to salesforce org",
|
|
159
136
|
"examples": [
|
|
160
|
-
"$ sf hardis:
|
|
137
|
+
"$ sf hardis:auth:login",
|
|
138
|
+
"CI=true sf hardis:auth:login"
|
|
161
139
|
],
|
|
162
140
|
"flags": {
|
|
163
141
|
"json": {
|
|
@@ -175,6 +153,28 @@
|
|
|
175
153
|
"multiple": false,
|
|
176
154
|
"type": "option"
|
|
177
155
|
},
|
|
156
|
+
"instanceurl": {
|
|
157
|
+
"char": "r",
|
|
158
|
+
"description": "URL of org instance",
|
|
159
|
+
"name": "instanceurl",
|
|
160
|
+
"hasDynamicHelp": false,
|
|
161
|
+
"multiple": false,
|
|
162
|
+
"type": "option"
|
|
163
|
+
},
|
|
164
|
+
"devhub": {
|
|
165
|
+
"char": "h",
|
|
166
|
+
"description": "Also connect associated DevHub",
|
|
167
|
+
"name": "devhub",
|
|
168
|
+
"allowNo": false,
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"scratchorg": {
|
|
172
|
+
"char": "s",
|
|
173
|
+
"description": "Scratch org",
|
|
174
|
+
"name": "scratchorg",
|
|
175
|
+
"allowNo": false,
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
178
178
|
"debug": {
|
|
179
179
|
"char": "d",
|
|
180
180
|
"description": "Activate debug mode (more logs)",
|
|
@@ -198,30 +198,30 @@
|
|
|
198
198
|
},
|
|
199
199
|
"hasDynamicHelp": false,
|
|
200
200
|
"hiddenAliases": [],
|
|
201
|
-
"id": "hardis:
|
|
201
|
+
"id": "hardis:auth:login",
|
|
202
202
|
"pluginAlias": "sfdx-hardis",
|
|
203
203
|
"pluginName": "sfdx-hardis",
|
|
204
204
|
"pluginType": "core",
|
|
205
205
|
"strict": true,
|
|
206
206
|
"enableJsonFlag": true,
|
|
207
|
-
"title": "
|
|
207
|
+
"title": "Login",
|
|
208
208
|
"requiresProject": false,
|
|
209
209
|
"isESM": true,
|
|
210
210
|
"relativePath": [
|
|
211
211
|
"lib",
|
|
212
212
|
"commands",
|
|
213
213
|
"hardis",
|
|
214
|
-
"
|
|
215
|
-
"
|
|
214
|
+
"auth",
|
|
215
|
+
"login.js"
|
|
216
216
|
],
|
|
217
217
|
"aliasPermutations": [],
|
|
218
218
|
"permutations": [
|
|
219
|
-
"hardis:
|
|
220
|
-
"
|
|
221
|
-
"
|
|
222
|
-
"hardis:
|
|
223
|
-
"
|
|
224
|
-
"
|
|
219
|
+
"hardis:auth:login",
|
|
220
|
+
"auth:hardis:login",
|
|
221
|
+
"auth:login:hardis",
|
|
222
|
+
"hardis:login:auth",
|
|
223
|
+
"login:hardis:auth",
|
|
224
|
+
"login:auth:hardis"
|
|
225
225
|
]
|
|
226
226
|
},
|
|
227
227
|
"hardis:config:get": {
|
|
@@ -10772,14 +10772,12 @@
|
|
|
10772
10772
|
"profilestopermsets:convert:project:hardis"
|
|
10773
10773
|
]
|
|
10774
10774
|
},
|
|
10775
|
-
"hardis:project:
|
|
10775
|
+
"hardis:project:fix:profiletabs": {
|
|
10776
10776
|
"aliases": [],
|
|
10777
10777
|
"args": {},
|
|
10778
|
-
"description": "
|
|
10778
|
+
"description": "Interactive prompts to add tab visibilities that are not retrieved by project retrieve start",
|
|
10779
10779
|
"examples": [
|
|
10780
|
-
"$ sf hardis:project:
|
|
10781
|
-
"$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
|
|
10782
|
-
"$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
|
|
10780
|
+
"$ sf hardis:project:fix:profiletabs"
|
|
10783
10781
|
],
|
|
10784
10782
|
"flags": {
|
|
10785
10783
|
"json": {
|
|
@@ -10797,32 +10795,11 @@
|
|
|
10797
10795
|
"multiple": false,
|
|
10798
10796
|
"type": "option"
|
|
10799
10797
|
},
|
|
10800
|
-
"
|
|
10801
|
-
"char": "
|
|
10802
|
-
"description": "
|
|
10803
|
-
"name": "
|
|
10804
|
-
"
|
|
10805
|
-
"type": "boolean"
|
|
10806
|
-
},
|
|
10807
|
-
"deploy-status": {
|
|
10808
|
-
"char": "s",
|
|
10809
|
-
"description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
|
|
10810
|
-
"name": "deploy-status",
|
|
10811
|
-
"default": "unknown",
|
|
10812
|
-
"hasDynamicHelp": false,
|
|
10813
|
-
"multiple": false,
|
|
10814
|
-
"options": [
|
|
10815
|
-
"valid",
|
|
10816
|
-
"invalid",
|
|
10817
|
-
"unknown"
|
|
10818
|
-
],
|
|
10819
|
-
"type": "option"
|
|
10820
|
-
},
|
|
10821
|
-
"message": {
|
|
10822
|
-
"char": "m",
|
|
10823
|
-
"description": "Custom message that you want to be added in notifications (string or markdown format)",
|
|
10824
|
-
"name": "message",
|
|
10825
|
-
"default": "",
|
|
10798
|
+
"path": {
|
|
10799
|
+
"char": "p",
|
|
10800
|
+
"description": "Root folder",
|
|
10801
|
+
"name": "path",
|
|
10802
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
10826
10803
|
"hasDynamicHelp": false,
|
|
10827
10804
|
"multiple": false,
|
|
10828
10805
|
"type": "option"
|
|
@@ -10865,13 +10842,13 @@
|
|
|
10865
10842
|
},
|
|
10866
10843
|
"hasDynamicHelp": true,
|
|
10867
10844
|
"hiddenAliases": [],
|
|
10868
|
-
"id": "hardis:project:
|
|
10845
|
+
"id": "hardis:project:fix:profiletabs",
|
|
10869
10846
|
"pluginAlias": "sfdx-hardis",
|
|
10870
10847
|
"pluginName": "sfdx-hardis",
|
|
10871
10848
|
"pluginType": "core",
|
|
10872
10849
|
"strict": true,
|
|
10873
10850
|
"enableJsonFlag": true,
|
|
10874
|
-
"title": "
|
|
10851
|
+
"title": "Fix profiles to add tabs that are not retrieved by SF CLI",
|
|
10875
10852
|
"requiresProject": true,
|
|
10876
10853
|
"isESM": true,
|
|
10877
10854
|
"relativePath": [
|
|
@@ -10879,43 +10856,44 @@
|
|
|
10879
10856
|
"commands",
|
|
10880
10857
|
"hardis",
|
|
10881
10858
|
"project",
|
|
10882
|
-
"
|
|
10883
|
-
"
|
|
10859
|
+
"fix",
|
|
10860
|
+
"profiletabs.js"
|
|
10884
10861
|
],
|
|
10885
10862
|
"aliasPermutations": [],
|
|
10886
10863
|
"permutations": [
|
|
10887
|
-
"hardis:project:
|
|
10888
|
-
"project:hardis:
|
|
10889
|
-
"project:
|
|
10890
|
-
"project:
|
|
10891
|
-
"hardis:
|
|
10892
|
-
"
|
|
10893
|
-
"
|
|
10894
|
-
"
|
|
10895
|
-
"hardis:
|
|
10896
|
-
"
|
|
10897
|
-
"
|
|
10898
|
-
"
|
|
10899
|
-
"hardis:project:
|
|
10900
|
-
"project:hardis:
|
|
10901
|
-
"project:
|
|
10902
|
-
"project:
|
|
10903
|
-
"hardis:
|
|
10904
|
-
"
|
|
10905
|
-
"
|
|
10906
|
-
"
|
|
10907
|
-
"hardis:
|
|
10908
|
-
"
|
|
10909
|
-
"
|
|
10910
|
-
"
|
|
10864
|
+
"hardis:project:fix:profiletabs",
|
|
10865
|
+
"project:hardis:fix:profiletabs",
|
|
10866
|
+
"project:fix:hardis:profiletabs",
|
|
10867
|
+
"project:fix:profiletabs:hardis",
|
|
10868
|
+
"hardis:fix:project:profiletabs",
|
|
10869
|
+
"fix:hardis:project:profiletabs",
|
|
10870
|
+
"fix:project:hardis:profiletabs",
|
|
10871
|
+
"fix:project:profiletabs:hardis",
|
|
10872
|
+
"hardis:fix:profiletabs:project",
|
|
10873
|
+
"fix:hardis:profiletabs:project",
|
|
10874
|
+
"fix:profiletabs:hardis:project",
|
|
10875
|
+
"fix:profiletabs:project:hardis",
|
|
10876
|
+
"hardis:project:profiletabs:fix",
|
|
10877
|
+
"project:hardis:profiletabs:fix",
|
|
10878
|
+
"project:profiletabs:hardis:fix",
|
|
10879
|
+
"project:profiletabs:fix:hardis",
|
|
10880
|
+
"hardis:profiletabs:project:fix",
|
|
10881
|
+
"profiletabs:hardis:project:fix",
|
|
10882
|
+
"profiletabs:project:hardis:fix",
|
|
10883
|
+
"profiletabs:project:fix:hardis",
|
|
10884
|
+
"hardis:profiletabs:fix:project",
|
|
10885
|
+
"profiletabs:hardis:fix:project",
|
|
10886
|
+
"profiletabs:fix:hardis:project",
|
|
10887
|
+
"profiletabs:fix:project:hardis"
|
|
10911
10888
|
]
|
|
10912
10889
|
},
|
|
10913
|
-
"hardis:project:
|
|
10914
|
-
"aliases": [
|
|
10915
|
-
"hardis:deploy:quick"
|
|
10916
|
-
],
|
|
10890
|
+
"hardis:project:fix:v53flexipages": {
|
|
10891
|
+
"aliases": [],
|
|
10917
10892
|
"args": {},
|
|
10918
|
-
"description": "
|
|
10893
|
+
"description": "Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json",
|
|
10894
|
+
"examples": [
|
|
10895
|
+
"$ sf hardis:project:fix:v53flexipages"
|
|
10896
|
+
],
|
|
10919
10897
|
"flags": {
|
|
10920
10898
|
"json": {
|
|
10921
10899
|
"description": "Format output as json.",
|
|
@@ -10932,82 +10910,45 @@
|
|
|
10932
10910
|
"multiple": false,
|
|
10933
10911
|
"type": "option"
|
|
10934
10912
|
},
|
|
10935
|
-
"
|
|
10936
|
-
"char": "
|
|
10937
|
-
"description": "
|
|
10938
|
-
"name": "
|
|
10913
|
+
"path": {
|
|
10914
|
+
"char": "p",
|
|
10915
|
+
"description": "Root folder",
|
|
10916
|
+
"name": "path",
|
|
10917
|
+
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
10939
10918
|
"hasDynamicHelp": false,
|
|
10940
10919
|
"multiple": false,
|
|
10941
10920
|
"type": "option"
|
|
10942
10921
|
},
|
|
10943
|
-
"
|
|
10944
|
-
"
|
|
10945
|
-
"
|
|
10946
|
-
|
|
10947
|
-
],
|
|
10948
|
-
"name": "async",
|
|
10922
|
+
"debug": {
|
|
10923
|
+
"char": "d",
|
|
10924
|
+
"description": "Activate debug mode (more logs)",
|
|
10925
|
+
"name": "debug",
|
|
10949
10926
|
"allowNo": false,
|
|
10950
10927
|
"type": "boolean"
|
|
10951
10928
|
},
|
|
10952
|
-
"
|
|
10953
|
-
"
|
|
10954
|
-
"name": "
|
|
10955
|
-
"noCacheDefault": true,
|
|
10956
|
-
"required": true,
|
|
10957
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
10958
|
-
"hasDynamicHelp": true,
|
|
10959
|
-
"multiple": false,
|
|
10960
|
-
"type": "option"
|
|
10961
|
-
},
|
|
10962
|
-
"tests": {
|
|
10963
|
-
"description": "tests",
|
|
10964
|
-
"name": "tests",
|
|
10965
|
-
"hasDynamicHelp": false,
|
|
10966
|
-
"multiple": false,
|
|
10967
|
-
"type": "option"
|
|
10968
|
-
},
|
|
10969
|
-
"--job-id": {
|
|
10970
|
-
"char": "i",
|
|
10971
|
-
"description": "job-id",
|
|
10972
|
-
"name": "--job-id",
|
|
10929
|
+
"websocket": {
|
|
10930
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
10931
|
+
"name": "websocket",
|
|
10973
10932
|
"hasDynamicHelp": false,
|
|
10974
10933
|
"multiple": false,
|
|
10975
10934
|
"type": "option"
|
|
10976
10935
|
},
|
|
10977
|
-
"
|
|
10978
|
-
"
|
|
10979
|
-
"
|
|
10980
|
-
"name": "--use-most-recent",
|
|
10981
|
-
"allowNo": false,
|
|
10982
|
-
"type": "boolean"
|
|
10983
|
-
},
|
|
10984
|
-
"wait": {
|
|
10985
|
-
"char": "w",
|
|
10986
|
-
"description": "wait",
|
|
10987
|
-
"exclusive": [
|
|
10988
|
-
"async"
|
|
10989
|
-
],
|
|
10990
|
-
"name": "wait",
|
|
10991
|
-
"default": 33,
|
|
10992
|
-
"hasDynamicHelp": false,
|
|
10993
|
-
"multiple": false,
|
|
10994
|
-
"type": "option"
|
|
10995
|
-
},
|
|
10996
|
-
"debug": {
|
|
10997
|
-
"description": "debug",
|
|
10998
|
-
"name": "debug",
|
|
10936
|
+
"skipauth": {
|
|
10937
|
+
"description": "Skip authentication check when a default username is required",
|
|
10938
|
+
"name": "skipauth",
|
|
10999
10939
|
"allowNo": false,
|
|
11000
10940
|
"type": "boolean"
|
|
11001
10941
|
}
|
|
11002
10942
|
},
|
|
11003
|
-
"hasDynamicHelp":
|
|
10943
|
+
"hasDynamicHelp": false,
|
|
11004
10944
|
"hiddenAliases": [],
|
|
11005
|
-
"id": "hardis:project:
|
|
10945
|
+
"id": "hardis:project:fix:v53flexipages",
|
|
11006
10946
|
"pluginAlias": "sfdx-hardis",
|
|
11007
10947
|
"pluginName": "sfdx-hardis",
|
|
11008
10948
|
"pluginType": "core",
|
|
11009
10949
|
"strict": true,
|
|
11010
10950
|
"enableJsonFlag": true,
|
|
10951
|
+
"title": "Fix flexipages for v53",
|
|
11011
10952
|
"requiresProject": true,
|
|
11012
10953
|
"isESM": true,
|
|
11013
10954
|
"relativePath": [
|
|
@@ -11015,50 +10956,45 @@
|
|
|
11015
10956
|
"commands",
|
|
11016
10957
|
"hardis",
|
|
11017
10958
|
"project",
|
|
11018
|
-
"
|
|
11019
|
-
"
|
|
11020
|
-
],
|
|
11021
|
-
"aliasPermutations": [
|
|
11022
|
-
"hardis:deploy:quick",
|
|
11023
|
-
"deploy:hardis:quick",
|
|
11024
|
-
"deploy:quick:hardis",
|
|
11025
|
-
"hardis:quick:deploy",
|
|
11026
|
-
"quick:hardis:deploy",
|
|
11027
|
-
"quick:deploy:hardis"
|
|
10959
|
+
"fix",
|
|
10960
|
+
"v53flexipages.js"
|
|
11028
10961
|
],
|
|
10962
|
+
"aliasPermutations": [],
|
|
11029
10963
|
"permutations": [
|
|
11030
|
-
"hardis:project:
|
|
11031
|
-
"project:hardis:
|
|
11032
|
-
"project:
|
|
11033
|
-
"project:
|
|
11034
|
-
"hardis:
|
|
11035
|
-
"
|
|
11036
|
-
"
|
|
11037
|
-
"
|
|
11038
|
-
"hardis:
|
|
11039
|
-
"
|
|
11040
|
-
"
|
|
11041
|
-
"
|
|
11042
|
-
"hardis:project:
|
|
11043
|
-
"project:hardis:
|
|
11044
|
-
"project:
|
|
11045
|
-
"project:
|
|
11046
|
-
"hardis:
|
|
11047
|
-
"
|
|
11048
|
-
"
|
|
11049
|
-
"
|
|
11050
|
-
"hardis:
|
|
11051
|
-
"
|
|
11052
|
-
"
|
|
11053
|
-
"
|
|
10964
|
+
"hardis:project:fix:v53flexipages",
|
|
10965
|
+
"project:hardis:fix:v53flexipages",
|
|
10966
|
+
"project:fix:hardis:v53flexipages",
|
|
10967
|
+
"project:fix:v53flexipages:hardis",
|
|
10968
|
+
"hardis:fix:project:v53flexipages",
|
|
10969
|
+
"fix:hardis:project:v53flexipages",
|
|
10970
|
+
"fix:project:hardis:v53flexipages",
|
|
10971
|
+
"fix:project:v53flexipages:hardis",
|
|
10972
|
+
"hardis:fix:v53flexipages:project",
|
|
10973
|
+
"fix:hardis:v53flexipages:project",
|
|
10974
|
+
"fix:v53flexipages:hardis:project",
|
|
10975
|
+
"fix:v53flexipages:project:hardis",
|
|
10976
|
+
"hardis:project:v53flexipages:fix",
|
|
10977
|
+
"project:hardis:v53flexipages:fix",
|
|
10978
|
+
"project:v53flexipages:hardis:fix",
|
|
10979
|
+
"project:v53flexipages:fix:hardis",
|
|
10980
|
+
"hardis:v53flexipages:project:fix",
|
|
10981
|
+
"v53flexipages:hardis:project:fix",
|
|
10982
|
+
"v53flexipages:project:hardis:fix",
|
|
10983
|
+
"v53flexipages:project:fix:hardis",
|
|
10984
|
+
"hardis:v53flexipages:fix:project",
|
|
10985
|
+
"v53flexipages:hardis:fix:project",
|
|
10986
|
+
"v53flexipages:fix:hardis:project",
|
|
10987
|
+
"v53flexipages:fix:project:hardis"
|
|
11054
10988
|
]
|
|
11055
10989
|
},
|
|
11056
|
-
"hardis:project:deploy:
|
|
10990
|
+
"hardis:project:deploy:notify": {
|
|
11057
10991
|
"aliases": [],
|
|
11058
10992
|
"args": {},
|
|
11059
|
-
"description": "
|
|
10993
|
+
"description": "Post notifications related to:\n\n- **Deployment simulation** _(use with --check-only)_\n\n- **Deployment process** _(to call only if your deployment is successful)_\n\n### Integrations\n\nAccording to the [integrations you configured](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integrations-home/), notifications can contain deployment information and [Flow Visual Git Diff](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-home/#flow-visual-git-diff)\n\n - GitHub, Gitlab, Azure DevOps, Bitbucket comments on Pull Requests (including Flows Visual Git Diff)\n\n - Slack, Microsoft Teams, Email deployment summary after a successful deployment\n\n - JIRA tags and comments on tickets that just has been deployed\n\n\n\n\n\n### Flows Visual Git Diff\n\n- Visually show you the differences on a diagram\n\n- Display the update details without having to open any XML !\n\n🟩 = added\n\n🟥 = removed\n\n🟧 = updated\n\n\n\n\n\n### In custom CI/CD workflow\n\nExample of usage in a custom CI/CD pipeline:\n\n```bash\n# Disable exit-on-error temporarily\nset +e\n\n# Run the deploy command\nsf project deploy start [....]\nRET_CODE=$?\n\n# Re-enable exit-on-error\nset -e\n\n# Determine MYSTATUS based on return code\nif [ $RET_CODE -eq 0 ]; then\n MYSTATUS=\"valid\"\nelse\n MYSTATUS=\"invalid\"\nfi\n\n# Run the notify command with MYSTATUS\nsf hardis:project:deploy:notify --check-only --deploy-status \"$MYSTATUS\"\n```\n\n### Other usages\n\nThis command is for custom SF Cli pipelines, if you are a sfdx-hardis user, it is already embedded in sf hardis:deploy:smart.\n\nYou can also use [sfdx-hardis wrapper commands of SF deployment commands](https://sfdx-hardis.cloudity.com/salesforce-deployment-assistant-setup/#using-custom-cicd-pipeline)\n",
|
|
11060
10994
|
"examples": [
|
|
11061
|
-
"$ sf hardis:project:deploy:
|
|
10995
|
+
"$ sf hardis:project:deploy:notify --check-only --deploy-status valid --message \"This deployment check is valid\\n\\nYahooo !!\"",
|
|
10996
|
+
"$ sf hardis:project:deploy:notify --check-only --deploy-status invalid --message \"This deployment check has failed !\\n\\Oh no !!\"",
|
|
10997
|
+
"$ sf hardis:project:deploy:notify --deploy-status valid --message \"This deployment has been processed !\\n\\nYahooo !!\""
|
|
11062
10998
|
],
|
|
11063
10999
|
"flags": {
|
|
11064
11000
|
"json": {
|
|
@@ -11076,13 +11012,34 @@
|
|
|
11076
11012
|
"multiple": false,
|
|
11077
11013
|
"type": "option"
|
|
11078
11014
|
},
|
|
11079
|
-
"
|
|
11080
|
-
"char": "
|
|
11081
|
-
"description": "
|
|
11082
|
-
"name": "
|
|
11083
|
-
"
|
|
11015
|
+
"check-only": {
|
|
11016
|
+
"char": "c",
|
|
11017
|
+
"description": "Use this option to send notifications from a Deployment simulation job",
|
|
11018
|
+
"name": "check-only",
|
|
11019
|
+
"allowNo": false,
|
|
11020
|
+
"type": "boolean"
|
|
11021
|
+
},
|
|
11022
|
+
"deploy-status": {
|
|
11023
|
+
"char": "s",
|
|
11024
|
+
"description": "Send success, failure or unknown (default) to indicate if the deployment or deployment simulation is in success or not",
|
|
11025
|
+
"name": "deploy-status",
|
|
11026
|
+
"default": "unknown",
|
|
11084
11027
|
"hasDynamicHelp": false,
|
|
11085
|
-
"multiple":
|
|
11028
|
+
"multiple": false,
|
|
11029
|
+
"options": [
|
|
11030
|
+
"valid",
|
|
11031
|
+
"invalid",
|
|
11032
|
+
"unknown"
|
|
11033
|
+
],
|
|
11034
|
+
"type": "option"
|
|
11035
|
+
},
|
|
11036
|
+
"message": {
|
|
11037
|
+
"char": "m",
|
|
11038
|
+
"description": "Custom message that you want to be added in notifications (string or markdown format)",
|
|
11039
|
+
"name": "message",
|
|
11040
|
+
"default": "",
|
|
11041
|
+
"hasDynamicHelp": false,
|
|
11042
|
+
"multiple": false,
|
|
11086
11043
|
"type": "option"
|
|
11087
11044
|
},
|
|
11088
11045
|
"debug": {
|
|
@@ -11123,13 +11080,13 @@
|
|
|
11123
11080
|
},
|
|
11124
11081
|
"hasDynamicHelp": true,
|
|
11125
11082
|
"hiddenAliases": [],
|
|
11126
|
-
"id": "hardis:project:deploy:
|
|
11083
|
+
"id": "hardis:project:deploy:notify",
|
|
11127
11084
|
"pluginAlias": "sfdx-hardis",
|
|
11128
11085
|
"pluginName": "sfdx-hardis",
|
|
11129
11086
|
"pluginType": "core",
|
|
11130
11087
|
"strict": true,
|
|
11131
11088
|
"enableJsonFlag": true,
|
|
11132
|
-
"title": "
|
|
11089
|
+
"title": "Deployment Notifications",
|
|
11133
11090
|
"requiresProject": true,
|
|
11134
11091
|
"isESM": true,
|
|
11135
11092
|
"relativePath": [
|
|
@@ -11138,54 +11095,42 @@
|
|
|
11138
11095
|
"hardis",
|
|
11139
11096
|
"project",
|
|
11140
11097
|
"deploy",
|
|
11141
|
-
"
|
|
11098
|
+
"notify.js"
|
|
11142
11099
|
],
|
|
11143
11100
|
"aliasPermutations": [],
|
|
11144
11101
|
"permutations": [
|
|
11145
|
-
"hardis:project:deploy:
|
|
11146
|
-
"project:hardis:deploy:
|
|
11147
|
-
"project:deploy:hardis:
|
|
11148
|
-
"project:deploy:
|
|
11149
|
-
"hardis:deploy:project:
|
|
11150
|
-
"deploy:hardis:project:
|
|
11151
|
-
"deploy:project:hardis:
|
|
11152
|
-
"deploy:project:
|
|
11153
|
-
"hardis:deploy:
|
|
11154
|
-
"deploy:hardis:
|
|
11155
|
-
"deploy:
|
|
11156
|
-
"deploy:
|
|
11157
|
-
"hardis:project:
|
|
11158
|
-
"project:hardis:
|
|
11159
|
-
"project:
|
|
11160
|
-
"project:
|
|
11161
|
-
"hardis:
|
|
11162
|
-
"
|
|
11163
|
-
"
|
|
11164
|
-
"
|
|
11165
|
-
"hardis:
|
|
11166
|
-
"
|
|
11167
|
-
"
|
|
11168
|
-
"
|
|
11102
|
+
"hardis:project:deploy:notify",
|
|
11103
|
+
"project:hardis:deploy:notify",
|
|
11104
|
+
"project:deploy:hardis:notify",
|
|
11105
|
+
"project:deploy:notify:hardis",
|
|
11106
|
+
"hardis:deploy:project:notify",
|
|
11107
|
+
"deploy:hardis:project:notify",
|
|
11108
|
+
"deploy:project:hardis:notify",
|
|
11109
|
+
"deploy:project:notify:hardis",
|
|
11110
|
+
"hardis:deploy:notify:project",
|
|
11111
|
+
"deploy:hardis:notify:project",
|
|
11112
|
+
"deploy:notify:hardis:project",
|
|
11113
|
+
"deploy:notify:project:hardis",
|
|
11114
|
+
"hardis:project:notify:deploy",
|
|
11115
|
+
"project:hardis:notify:deploy",
|
|
11116
|
+
"project:notify:hardis:deploy",
|
|
11117
|
+
"project:notify:deploy:hardis",
|
|
11118
|
+
"hardis:notify:project:deploy",
|
|
11119
|
+
"notify:hardis:project:deploy",
|
|
11120
|
+
"notify:project:hardis:deploy",
|
|
11121
|
+
"notify:project:deploy:hardis",
|
|
11122
|
+
"hardis:notify:deploy:project",
|
|
11123
|
+
"notify:hardis:deploy:project",
|
|
11124
|
+
"notify:deploy:hardis:project",
|
|
11125
|
+
"notify:deploy:project:hardis"
|
|
11169
11126
|
]
|
|
11170
11127
|
},
|
|
11171
|
-
"hardis:project:deploy:
|
|
11128
|
+
"hardis:project:deploy:quick": {
|
|
11172
11129
|
"aliases": [
|
|
11173
|
-
"hardis:
|
|
11130
|
+
"hardis:deploy:quick"
|
|
11174
11131
|
],
|
|
11175
11132
|
"args": {},
|
|
11176
|
-
"description": "
|
|
11177
|
-
"examples": [
|
|
11178
|
-
"$ sf hardis:project:deploy:smart",
|
|
11179
|
-
"$ sf hardis:project:deploy:smart --check",
|
|
11180
|
-
"$ sf hardis:project:deploy:smart --check --testlevel RunRepositoryTests",
|
|
11181
|
-
"$ sf hardis:project:deploy:smart --check --testlevel RunRepositoryTests --runtests '^(?!FLI|MyPrefix).*'",
|
|
11182
|
-
"$ sf hardis:project:deploy:smart --check --testlevel RunRepositoryTestsExceptSeeAllData",
|
|
11183
|
-
"$ sf hardis:project:deploy:smart",
|
|
11184
|
-
"$ FORCE_TARGET_BRANCH=preprod NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org nicolas.vuillamy@myclient.com.preprod",
|
|
11185
|
-
"$ SYSTEM_ACCESSTOKEN=xxxxxx SYSTEM_COLLECTIONURI=https://dev.azure.com/xxxxxxx/ SYSTEM_TEAMPROJECT=\"xxxxxxx\" BUILD_REPOSITORY_ID=xxxxx SYSTEM_PULLREQUEST_PULLREQUESTID=1418 FORCE_TARGET_BRANCH=uat NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org my.salesforce@org.com",
|
|
11186
|
-
"$ CI_SFDX_HARDIS_BITBUCKET_TOKEN=xxxxxx BITBUCKET_WORKSPACE=sfdxhardis-demo BITBUCKET_REPO_SLUG=test BITBUCKET_BUILD_NUMBER=1 BITBUCKET_BRANCH=uat BITBUCKET_PR_ID=2 FORCE_TARGET_BRANCH=uat NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org my-salesforce-org@client.com",
|
|
11187
|
-
"$ GITHUB_TOKEN=xxxx GITHUB_REPOSITORY=my-user/my-repo FORCE_TARGET_BRANCH=uat NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org my-salesforce-org@client.com"
|
|
11188
|
-
],
|
|
11133
|
+
"description": "sfdx-hardis wrapper for **sf project deploy quick** that displays tips to solve deployment errors.\n\nNote: Use **--json** argument to have better results\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_project_commands_unified.htm#cli_reference_project_deploy_quick_unified)\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",
|
|
11189
11134
|
"flags": {
|
|
11190
11135
|
"json": {
|
|
11191
11136
|
"description": "Format output as json.",
|
|
@@ -11202,96 +11147,82 @@
|
|
|
11202
11147
|
"multiple": false,
|
|
11203
11148
|
"type": "option"
|
|
11204
11149
|
},
|
|
11205
|
-
"
|
|
11206
|
-
"char": "
|
|
11207
|
-
"description": "
|
|
11208
|
-
"name": "
|
|
11150
|
+
"api-version": {
|
|
11151
|
+
"char": "a",
|
|
11152
|
+
"description": "api-version",
|
|
11153
|
+
"name": "api-version",
|
|
11154
|
+
"hasDynamicHelp": false,
|
|
11155
|
+
"multiple": false,
|
|
11156
|
+
"type": "option"
|
|
11157
|
+
},
|
|
11158
|
+
"async": {
|
|
11159
|
+
"description": "async",
|
|
11160
|
+
"exclusive": [
|
|
11161
|
+
"wait"
|
|
11162
|
+
],
|
|
11163
|
+
"name": "async",
|
|
11209
11164
|
"allowNo": false,
|
|
11210
11165
|
"type": "boolean"
|
|
11211
11166
|
},
|
|
11212
|
-
"
|
|
11213
|
-
"char": "
|
|
11214
|
-
"
|
|
11215
|
-
"
|
|
11216
|
-
"
|
|
11167
|
+
"target-org": {
|
|
11168
|
+
"char": "o",
|
|
11169
|
+
"name": "target-org",
|
|
11170
|
+
"noCacheDefault": true,
|
|
11171
|
+
"required": true,
|
|
11172
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
11173
|
+
"hasDynamicHelp": true,
|
|
11217
11174
|
"multiple": false,
|
|
11218
|
-
"options": [
|
|
11219
|
-
"NoTestRun",
|
|
11220
|
-
"RunSpecifiedTests",
|
|
11221
|
-
"RunRepositoryTests",
|
|
11222
|
-
"RunRepositoryTestsExceptSeeAllData",
|
|
11223
|
-
"RunLocalTests",
|
|
11224
|
-
"RunAllTestsInOrg"
|
|
11225
|
-
],
|
|
11226
11175
|
"type": "option"
|
|
11227
11176
|
},
|
|
11228
|
-
"
|
|
11229
|
-
"
|
|
11230
|
-
"
|
|
11231
|
-
"name": "runtests",
|
|
11177
|
+
"tests": {
|
|
11178
|
+
"description": "tests",
|
|
11179
|
+
"name": "tests",
|
|
11232
11180
|
"hasDynamicHelp": false,
|
|
11233
11181
|
"multiple": false,
|
|
11234
11182
|
"type": "option"
|
|
11235
11183
|
},
|
|
11236
|
-
"
|
|
11237
|
-
"char": "
|
|
11238
|
-
"description": "
|
|
11239
|
-
"name": "
|
|
11184
|
+
"--job-id": {
|
|
11185
|
+
"char": "i",
|
|
11186
|
+
"description": "job-id",
|
|
11187
|
+
"name": "--job-id",
|
|
11240
11188
|
"hasDynamicHelp": false,
|
|
11241
11189
|
"multiple": false,
|
|
11242
11190
|
"type": "option"
|
|
11243
11191
|
},
|
|
11244
|
-
"
|
|
11245
|
-
"
|
|
11246
|
-
"
|
|
11192
|
+
"--use-most-recent": {
|
|
11193
|
+
"char": "r",
|
|
11194
|
+
"description": "use-most-recent",
|
|
11195
|
+
"name": "--use-most-recent",
|
|
11247
11196
|
"allowNo": false,
|
|
11248
11197
|
"type": "boolean"
|
|
11249
11198
|
},
|
|
11250
|
-
"
|
|
11251
|
-
"char": "
|
|
11252
|
-
"description": "
|
|
11253
|
-
"
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11259
|
-
"name": "websocket",
|
|
11199
|
+
"wait": {
|
|
11200
|
+
"char": "w",
|
|
11201
|
+
"description": "wait",
|
|
11202
|
+
"exclusive": [
|
|
11203
|
+
"async"
|
|
11204
|
+
],
|
|
11205
|
+
"name": "wait",
|
|
11206
|
+
"default": 33,
|
|
11260
11207
|
"hasDynamicHelp": false,
|
|
11261
11208
|
"multiple": false,
|
|
11262
11209
|
"type": "option"
|
|
11263
11210
|
},
|
|
11264
|
-
"
|
|
11265
|
-
"description": "
|
|
11266
|
-
"name": "
|
|
11211
|
+
"debug": {
|
|
11212
|
+
"description": "debug",
|
|
11213
|
+
"name": "debug",
|
|
11267
11214
|
"allowNo": false,
|
|
11268
11215
|
"type": "boolean"
|
|
11269
|
-
},
|
|
11270
|
-
"target-org": {
|
|
11271
|
-
"aliases": [
|
|
11272
|
-
"targetusername",
|
|
11273
|
-
"u"
|
|
11274
|
-
],
|
|
11275
|
-
"char": "o",
|
|
11276
|
-
"deprecateAliases": true,
|
|
11277
|
-
"name": "target-org",
|
|
11278
|
-
"noCacheDefault": true,
|
|
11279
|
-
"required": true,
|
|
11280
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
11281
|
-
"hasDynamicHelp": true,
|
|
11282
|
-
"multiple": false,
|
|
11283
|
-
"type": "option"
|
|
11284
11216
|
}
|
|
11285
11217
|
},
|
|
11286
11218
|
"hasDynamicHelp": true,
|
|
11287
11219
|
"hiddenAliases": [],
|
|
11288
|
-
"id": "hardis:project:deploy:
|
|
11220
|
+
"id": "hardis:project:deploy:quick",
|
|
11289
11221
|
"pluginAlias": "sfdx-hardis",
|
|
11290
11222
|
"pluginName": "sfdx-hardis",
|
|
11291
11223
|
"pluginType": "core",
|
|
11292
11224
|
"strict": true,
|
|
11293
11225
|
"enableJsonFlag": true,
|
|
11294
|
-
"title": "Smart Deploy sfdx sources to org",
|
|
11295
11226
|
"requiresProject": true,
|
|
11296
11227
|
"isESM": true,
|
|
11297
11228
|
"relativePath": [
|
|
@@ -11300,163 +11231,50 @@
|
|
|
11300
11231
|
"hardis",
|
|
11301
11232
|
"project",
|
|
11302
11233
|
"deploy",
|
|
11303
|
-
"
|
|
11234
|
+
"quick.js"
|
|
11304
11235
|
],
|
|
11305
11236
|
"aliasPermutations": [
|
|
11306
|
-
"hardis:
|
|
11307
|
-
"
|
|
11308
|
-
"
|
|
11309
|
-
"
|
|
11310
|
-
"
|
|
11311
|
-
"
|
|
11312
|
-
"deploy:hardis:project:sources:dx",
|
|
11313
|
-
"deploy:project:hardis:sources:dx",
|
|
11314
|
-
"deploy:project:sources:hardis:dx",
|
|
11315
|
-
"deploy:project:sources:dx:hardis",
|
|
11316
|
-
"hardis:deploy:sources:project:dx",
|
|
11317
|
-
"deploy:hardis:sources:project:dx",
|
|
11318
|
-
"deploy:sources:hardis:project:dx",
|
|
11319
|
-
"deploy:sources:project:hardis:dx",
|
|
11320
|
-
"deploy:sources:project:dx:hardis",
|
|
11321
|
-
"hardis:deploy:sources:dx:project",
|
|
11322
|
-
"deploy:hardis:sources:dx:project",
|
|
11323
|
-
"deploy:sources:hardis:dx:project",
|
|
11324
|
-
"deploy:sources:dx:hardis:project",
|
|
11325
|
-
"deploy:sources:dx:project:hardis",
|
|
11326
|
-
"hardis:project:sources:deploy:dx",
|
|
11327
|
-
"project:hardis:sources:deploy:dx",
|
|
11328
|
-
"project:sources:hardis:deploy:dx",
|
|
11329
|
-
"project:sources:deploy:hardis:dx",
|
|
11330
|
-
"project:sources:deploy:dx:hardis",
|
|
11331
|
-
"hardis:sources:project:deploy:dx",
|
|
11332
|
-
"sources:hardis:project:deploy:dx",
|
|
11333
|
-
"sources:project:hardis:deploy:dx",
|
|
11334
|
-
"sources:project:deploy:hardis:dx",
|
|
11335
|
-
"sources:project:deploy:dx:hardis",
|
|
11336
|
-
"hardis:sources:deploy:project:dx",
|
|
11337
|
-
"sources:hardis:deploy:project:dx",
|
|
11338
|
-
"sources:deploy:hardis:project:dx",
|
|
11339
|
-
"sources:deploy:project:hardis:dx",
|
|
11340
|
-
"sources:deploy:project:dx:hardis",
|
|
11341
|
-
"hardis:sources:deploy:dx:project",
|
|
11342
|
-
"sources:hardis:deploy:dx:project",
|
|
11343
|
-
"sources:deploy:hardis:dx:project",
|
|
11344
|
-
"sources:deploy:dx:hardis:project",
|
|
11345
|
-
"sources:deploy:dx:project:hardis",
|
|
11346
|
-
"hardis:project:sources:dx:deploy",
|
|
11347
|
-
"project:hardis:sources:dx:deploy",
|
|
11348
|
-
"project:sources:hardis:dx:deploy",
|
|
11349
|
-
"project:sources:dx:hardis:deploy",
|
|
11350
|
-
"project:sources:dx:deploy:hardis",
|
|
11351
|
-
"hardis:sources:project:dx:deploy",
|
|
11352
|
-
"sources:hardis:project:dx:deploy",
|
|
11353
|
-
"sources:project:hardis:dx:deploy",
|
|
11354
|
-
"sources:project:dx:hardis:deploy",
|
|
11355
|
-
"sources:project:dx:deploy:hardis",
|
|
11356
|
-
"hardis:sources:dx:project:deploy",
|
|
11357
|
-
"sources:hardis:dx:project:deploy",
|
|
11358
|
-
"sources:dx:hardis:project:deploy",
|
|
11359
|
-
"sources:dx:project:hardis:deploy",
|
|
11360
|
-
"sources:dx:project:deploy:hardis",
|
|
11361
|
-
"hardis:sources:dx:deploy:project",
|
|
11362
|
-
"sources:hardis:dx:deploy:project",
|
|
11363
|
-
"sources:dx:hardis:deploy:project",
|
|
11364
|
-
"sources:dx:deploy:hardis:project",
|
|
11365
|
-
"sources:dx:deploy:project:hardis",
|
|
11366
|
-
"hardis:project:deploy:dx:sources",
|
|
11367
|
-
"project:hardis:deploy:dx:sources",
|
|
11368
|
-
"project:deploy:hardis:dx:sources",
|
|
11369
|
-
"project:deploy:dx:hardis:sources",
|
|
11370
|
-
"project:deploy:dx:sources:hardis",
|
|
11371
|
-
"hardis:deploy:project:dx:sources",
|
|
11372
|
-
"deploy:hardis:project:dx:sources",
|
|
11373
|
-
"deploy:project:hardis:dx:sources",
|
|
11374
|
-
"deploy:project:dx:hardis:sources",
|
|
11375
|
-
"deploy:project:dx:sources:hardis",
|
|
11376
|
-
"hardis:deploy:dx:project:sources",
|
|
11377
|
-
"deploy:hardis:dx:project:sources",
|
|
11378
|
-
"deploy:dx:hardis:project:sources",
|
|
11379
|
-
"deploy:dx:project:hardis:sources",
|
|
11380
|
-
"deploy:dx:project:sources:hardis",
|
|
11381
|
-
"hardis:deploy:dx:sources:project",
|
|
11382
|
-
"deploy:hardis:dx:sources:project",
|
|
11383
|
-
"deploy:dx:hardis:sources:project",
|
|
11384
|
-
"deploy:dx:sources:hardis:project",
|
|
11385
|
-
"deploy:dx:sources:project:hardis",
|
|
11386
|
-
"hardis:project:dx:deploy:sources",
|
|
11387
|
-
"project:hardis:dx:deploy:sources",
|
|
11388
|
-
"project:dx:hardis:deploy:sources",
|
|
11389
|
-
"project:dx:deploy:hardis:sources",
|
|
11390
|
-
"project:dx:deploy:sources:hardis",
|
|
11391
|
-
"hardis:dx:project:deploy:sources",
|
|
11392
|
-
"dx:hardis:project:deploy:sources",
|
|
11393
|
-
"dx:project:hardis:deploy:sources",
|
|
11394
|
-
"dx:project:deploy:hardis:sources",
|
|
11395
|
-
"dx:project:deploy:sources:hardis",
|
|
11396
|
-
"hardis:dx:deploy:project:sources",
|
|
11397
|
-
"dx:hardis:deploy:project:sources",
|
|
11398
|
-
"dx:deploy:hardis:project:sources",
|
|
11399
|
-
"dx:deploy:project:hardis:sources",
|
|
11400
|
-
"dx:deploy:project:sources:hardis",
|
|
11401
|
-
"hardis:dx:deploy:sources:project",
|
|
11402
|
-
"dx:hardis:deploy:sources:project",
|
|
11403
|
-
"dx:deploy:hardis:sources:project",
|
|
11404
|
-
"dx:deploy:sources:hardis:project",
|
|
11405
|
-
"dx:deploy:sources:project:hardis",
|
|
11406
|
-
"hardis:project:dx:sources:deploy",
|
|
11407
|
-
"project:hardis:dx:sources:deploy",
|
|
11408
|
-
"project:dx:hardis:sources:deploy",
|
|
11409
|
-
"project:dx:sources:hardis:deploy",
|
|
11410
|
-
"project:dx:sources:deploy:hardis",
|
|
11411
|
-
"hardis:dx:project:sources:deploy",
|
|
11412
|
-
"dx:hardis:project:sources:deploy",
|
|
11413
|
-
"dx:project:hardis:sources:deploy",
|
|
11414
|
-
"dx:project:sources:hardis:deploy",
|
|
11415
|
-
"dx:project:sources:deploy:hardis",
|
|
11416
|
-
"hardis:dx:sources:project:deploy",
|
|
11417
|
-
"dx:hardis:sources:project:deploy",
|
|
11418
|
-
"dx:sources:hardis:project:deploy",
|
|
11419
|
-
"dx:sources:project:hardis:deploy",
|
|
11420
|
-
"dx:sources:project:deploy:hardis",
|
|
11421
|
-
"hardis:dx:sources:deploy:project",
|
|
11422
|
-
"dx:hardis:sources:deploy:project",
|
|
11423
|
-
"dx:sources:hardis:deploy:project",
|
|
11424
|
-
"dx:sources:deploy:hardis:project",
|
|
11425
|
-
"dx:sources:deploy:project:hardis"
|
|
11237
|
+
"hardis:deploy:quick",
|
|
11238
|
+
"deploy:hardis:quick",
|
|
11239
|
+
"deploy:quick:hardis",
|
|
11240
|
+
"hardis:quick:deploy",
|
|
11241
|
+
"quick:hardis:deploy",
|
|
11242
|
+
"quick:deploy:hardis"
|
|
11426
11243
|
],
|
|
11427
11244
|
"permutations": [
|
|
11428
|
-
"hardis:project:deploy:
|
|
11429
|
-
"project:hardis:deploy:
|
|
11430
|
-
"project:deploy:hardis:
|
|
11431
|
-
"project:deploy:
|
|
11432
|
-
"hardis:deploy:project:
|
|
11433
|
-
"deploy:hardis:project:
|
|
11434
|
-
"deploy:project:hardis:
|
|
11435
|
-
"deploy:project:
|
|
11436
|
-
"hardis:deploy:
|
|
11437
|
-
"deploy:hardis:
|
|
11438
|
-
"deploy:
|
|
11439
|
-
"deploy:
|
|
11440
|
-
"hardis:project:
|
|
11441
|
-
"project:hardis:
|
|
11442
|
-
"project:
|
|
11443
|
-
"project:
|
|
11444
|
-
"hardis:
|
|
11445
|
-
"
|
|
11446
|
-
"
|
|
11447
|
-
"
|
|
11448
|
-
"hardis:
|
|
11449
|
-
"
|
|
11450
|
-
"
|
|
11451
|
-
"
|
|
11245
|
+
"hardis:project:deploy:quick",
|
|
11246
|
+
"project:hardis:deploy:quick",
|
|
11247
|
+
"project:deploy:hardis:quick",
|
|
11248
|
+
"project:deploy:quick:hardis",
|
|
11249
|
+
"hardis:deploy:project:quick",
|
|
11250
|
+
"deploy:hardis:project:quick",
|
|
11251
|
+
"deploy:project:hardis:quick",
|
|
11252
|
+
"deploy:project:quick:hardis",
|
|
11253
|
+
"hardis:deploy:quick:project",
|
|
11254
|
+
"deploy:hardis:quick:project",
|
|
11255
|
+
"deploy:quick:hardis:project",
|
|
11256
|
+
"deploy:quick:project:hardis",
|
|
11257
|
+
"hardis:project:quick:deploy",
|
|
11258
|
+
"project:hardis:quick:deploy",
|
|
11259
|
+
"project:quick:hardis:deploy",
|
|
11260
|
+
"project:quick:deploy:hardis",
|
|
11261
|
+
"hardis:quick:project:deploy",
|
|
11262
|
+
"quick:hardis:project:deploy",
|
|
11263
|
+
"quick:project:hardis:deploy",
|
|
11264
|
+
"quick:project:deploy:hardis",
|
|
11265
|
+
"hardis:quick:deploy:project",
|
|
11266
|
+
"quick:hardis:deploy:project",
|
|
11267
|
+
"quick:deploy:hardis:project",
|
|
11268
|
+
"quick:deploy:project:hardis"
|
|
11452
11269
|
]
|
|
11453
11270
|
},
|
|
11454
|
-
"hardis:project:deploy:
|
|
11455
|
-
"aliases": [
|
|
11456
|
-
"hardis:deploy:start"
|
|
11457
|
-
],
|
|
11271
|
+
"hardis:project:deploy:simulate": {
|
|
11272
|
+
"aliases": [],
|
|
11458
11273
|
"args": {},
|
|
11459
|
-
"description": "
|
|
11274
|
+
"description": "Simulate the deployment of a metadata in an org prompted to the user\n \nFor example, helps to solve the issue in a Permission Set without having to run a CI/CD job.\n\nUsed by VsCode Extension",
|
|
11275
|
+
"examples": [
|
|
11276
|
+
"$ sf hardis:project:deploy:simulate --source-dir force-app/defaut/main/permissionset/PS_Admin.permissionset-meta.xml"
|
|
11277
|
+
],
|
|
11460
11278
|
"flags": {
|
|
11461
11279
|
"json": {
|
|
11462
11280
|
"description": "Format output as json.",
|
|
@@ -11473,92 +11291,42 @@
|
|
|
11473
11291
|
"multiple": false,
|
|
11474
11292
|
"type": "option"
|
|
11475
11293
|
},
|
|
11476
|
-
"
|
|
11477
|
-
"char": "
|
|
11478
|
-
"description": "
|
|
11479
|
-
"name": "
|
|
11294
|
+
"source-dir": {
|
|
11295
|
+
"char": "f",
|
|
11296
|
+
"description": "Source file or directory to simulate the deployment",
|
|
11297
|
+
"name": "source-dir",
|
|
11298
|
+
"required": true,
|
|
11480
11299
|
"hasDynamicHelp": false,
|
|
11481
|
-
"multiple":
|
|
11300
|
+
"multiple": true,
|
|
11482
11301
|
"type": "option"
|
|
11483
11302
|
},
|
|
11484
|
-
"
|
|
11485
|
-
"
|
|
11486
|
-
"
|
|
11487
|
-
|
|
11488
|
-
],
|
|
11489
|
-
"name": "async",
|
|
11490
|
-
"allowNo": false,
|
|
11491
|
-
"type": "boolean"
|
|
11492
|
-
},
|
|
11493
|
-
"dry-run": {
|
|
11494
|
-
"description": "dry-run",
|
|
11495
|
-
"name": "dry-run",
|
|
11303
|
+
"debug": {
|
|
11304
|
+
"char": "d",
|
|
11305
|
+
"description": "Activate debug mode (more logs)",
|
|
11306
|
+
"name": "debug",
|
|
11496
11307
|
"allowNo": false,
|
|
11497
11308
|
"type": "boolean"
|
|
11498
11309
|
},
|
|
11499
|
-
"
|
|
11500
|
-
"
|
|
11501
|
-
"
|
|
11502
|
-
"name": "ignore-conflicts",
|
|
11503
|
-
"allowNo": false,
|
|
11504
|
-
"type": "boolean"
|
|
11505
|
-
},
|
|
11506
|
-
"ignore-errors": {
|
|
11507
|
-
"char": "r",
|
|
11508
|
-
"description": "ignore-errors",
|
|
11509
|
-
"name": "ignore-errors",
|
|
11510
|
-
"allowNo": false,
|
|
11511
|
-
"type": "boolean"
|
|
11512
|
-
},
|
|
11513
|
-
"ignore-warnings": {
|
|
11514
|
-
"char": "g",
|
|
11515
|
-
"description": "ignore-warnings",
|
|
11516
|
-
"name": "ignore-warnings",
|
|
11517
|
-
"allowNo": false,
|
|
11518
|
-
"type": "boolean"
|
|
11519
|
-
},
|
|
11520
|
-
"manifest": {
|
|
11521
|
-
"char": "x",
|
|
11522
|
-
"description": "manifest",
|
|
11523
|
-
"name": "manifest",
|
|
11524
|
-
"hasDynamicHelp": false,
|
|
11525
|
-
"multiple": false,
|
|
11526
|
-
"type": "option"
|
|
11527
|
-
},
|
|
11528
|
-
"metadata": {
|
|
11529
|
-
"char": "m",
|
|
11530
|
-
"description": "metadata",
|
|
11531
|
-
"name": "metadata",
|
|
11532
|
-
"hasDynamicHelp": false,
|
|
11533
|
-
"multiple": true,
|
|
11534
|
-
"type": "option"
|
|
11535
|
-
},
|
|
11536
|
-
"metadata-dir": {
|
|
11537
|
-
"description": "metadata-dir",
|
|
11538
|
-
"name": "metadata-dir",
|
|
11310
|
+
"websocket": {
|
|
11311
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11312
|
+
"name": "websocket",
|
|
11539
11313
|
"hasDynamicHelp": false,
|
|
11540
11314
|
"multiple": false,
|
|
11541
11315
|
"type": "option"
|
|
11542
11316
|
},
|
|
11543
|
-
"
|
|
11544
|
-
"
|
|
11545
|
-
|
|
11546
|
-
],
|
|
11547
|
-
"description": "single-package",
|
|
11548
|
-
"name": "single-package",
|
|
11317
|
+
"skipauth": {
|
|
11318
|
+
"description": "Skip authentication check when a default username is required",
|
|
11319
|
+
"name": "skipauth",
|
|
11549
11320
|
"allowNo": false,
|
|
11550
11321
|
"type": "boolean"
|
|
11551
11322
|
},
|
|
11552
|
-
"source-dir": {
|
|
11553
|
-
"char": "d",
|
|
11554
|
-
"description": "source-dir",
|
|
11555
|
-
"name": "source-dir",
|
|
11556
|
-
"hasDynamicHelp": false,
|
|
11557
|
-
"multiple": true,
|
|
11558
|
-
"type": "option"
|
|
11559
|
-
},
|
|
11560
11323
|
"target-org": {
|
|
11324
|
+
"aliases": [
|
|
11325
|
+
"targetusername",
|
|
11326
|
+
"u"
|
|
11327
|
+
],
|
|
11561
11328
|
"char": "o",
|
|
11329
|
+
"deprecateAliases": true,
|
|
11562
11330
|
"name": "target-org",
|
|
11563
11331
|
"noCacheDefault": true,
|
|
11564
11332
|
"required": true,
|
|
@@ -11566,94 +11334,179 @@
|
|
|
11566
11334
|
"hasDynamicHelp": true,
|
|
11567
11335
|
"multiple": false,
|
|
11568
11336
|
"type": "option"
|
|
11337
|
+
}
|
|
11338
|
+
},
|
|
11339
|
+
"hasDynamicHelp": true,
|
|
11340
|
+
"hiddenAliases": [],
|
|
11341
|
+
"id": "hardis:project:deploy:simulate",
|
|
11342
|
+
"pluginAlias": "sfdx-hardis",
|
|
11343
|
+
"pluginName": "sfdx-hardis",
|
|
11344
|
+
"pluginType": "core",
|
|
11345
|
+
"strict": true,
|
|
11346
|
+
"enableJsonFlag": true,
|
|
11347
|
+
"title": "Simulate the deployment of a metadata in an org prompted to the user\nUsed by VsCode Extension",
|
|
11348
|
+
"requiresProject": true,
|
|
11349
|
+
"isESM": true,
|
|
11350
|
+
"relativePath": [
|
|
11351
|
+
"lib",
|
|
11352
|
+
"commands",
|
|
11353
|
+
"hardis",
|
|
11354
|
+
"project",
|
|
11355
|
+
"deploy",
|
|
11356
|
+
"simulate.js"
|
|
11357
|
+
],
|
|
11358
|
+
"aliasPermutations": [],
|
|
11359
|
+
"permutations": [
|
|
11360
|
+
"hardis:project:deploy:simulate",
|
|
11361
|
+
"project:hardis:deploy:simulate",
|
|
11362
|
+
"project:deploy:hardis:simulate",
|
|
11363
|
+
"project:deploy:simulate:hardis",
|
|
11364
|
+
"hardis:deploy:project:simulate",
|
|
11365
|
+
"deploy:hardis:project:simulate",
|
|
11366
|
+
"deploy:project:hardis:simulate",
|
|
11367
|
+
"deploy:project:simulate:hardis",
|
|
11368
|
+
"hardis:deploy:simulate:project",
|
|
11369
|
+
"deploy:hardis:simulate:project",
|
|
11370
|
+
"deploy:simulate:hardis:project",
|
|
11371
|
+
"deploy:simulate:project:hardis",
|
|
11372
|
+
"hardis:project:simulate:deploy",
|
|
11373
|
+
"project:hardis:simulate:deploy",
|
|
11374
|
+
"project:simulate:hardis:deploy",
|
|
11375
|
+
"project:simulate:deploy:hardis",
|
|
11376
|
+
"hardis:simulate:project:deploy",
|
|
11377
|
+
"simulate:hardis:project:deploy",
|
|
11378
|
+
"simulate:project:hardis:deploy",
|
|
11379
|
+
"simulate:project:deploy:hardis",
|
|
11380
|
+
"hardis:simulate:deploy:project",
|
|
11381
|
+
"simulate:hardis:deploy:project",
|
|
11382
|
+
"simulate:deploy:hardis:project",
|
|
11383
|
+
"simulate:deploy:project:hardis"
|
|
11384
|
+
]
|
|
11385
|
+
},
|
|
11386
|
+
"hardis:project:deploy:smart": {
|
|
11387
|
+
"aliases": [
|
|
11388
|
+
"hardis:project:deploy:sources:dx"
|
|
11389
|
+
],
|
|
11390
|
+
"args": {},
|
|
11391
|
+
"description": "Smart deploy of SFDX sources to target org, with many useful options.\n\nIn case of errors, [tips to fix them](https://sfdx-hardis.cloudity.com/deployTips/) will be included within the error messages.\n\n### Quick Deploy\n\nIn case Pull Request comments are configured on the project, Quick Deploy will try to be used (equivalent to button Quick Deploy)\n\nIf you do not want to use QuickDeploy, define variable `SFDX_HARDIS_QUICK_DEPLOY=false`\n\n- [GitHub Pull Requests comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-github/)\n- [Gitlab Merge requests notes config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-gitlab/)\n- [Azure Pull Requests comments config](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-setup-integration-azure/)\n\n### Delta deployments\n\nTo activate delta deployments, define property `useDeltaDeployment: true` in `config/.sfdx-hardis.yml`.\n\nThis will activate delta deployments only between minor and major branches (major to major remains full deployment mode)\n\nIf you want to force the delta deployment into major orgs (ex: preprod to prod), this is not recommended but you can use env variable ALWAYS_ENABLE_DELTA_DEPLOYMENT=true\n\n### Smart Deployments Tests\n\nNot all metadata updates can break test classes, use Smart Deployment Tests to skip running test classes if ALL the following conditions are met:\n\n- Delta deployment is activated and applicable to the source and target branches\n- Delta deployed metadatas are all matching the list of **NOT_IMPACTING_METADATA_TYPES** (see below)\n- Target org is not a production org\n\nActivate Smart Deployment tests with:\n\n- env variable `USE_SMART_DEPLOYMENT_TESTS=true`\n- .sfdx-hardis.yml config property `useSmartDeploymentTests: true`\n\nDefaut list for **NOT_IMPACTING_METADATA_TYPES** (can be overridden with comma-separated list on env var NOT_IMPACTING_METADATA_TYPES)\n\n- Audience\n- AuraDefinitionBundle\n- Bot\n- BotVersion\n- ContentAsset\n- CustomObjectTranslation\n- CustomSite\n- CustomTab\n- Dashboard\n- ExperienceBundle\n- Flexipage\n- GlobalValueSetTranslation\n- Layout\n- LightningComponentBundle\n- NavigationMenu\n- ReportType\n- Report\n- SiteDotCom\n- StandardValueSetTranslation\n- StaticResource\n- Translations\n\nNote: if you want to disable Smart test classes for a PR, add **nosmart** in the text of the latest commit.\n\n### Dynamic deployment items / Overwrite management\n\nIf necessary,you can define the following files (that supports wildcards <members>*</members>):\n\n- `manifest/package-no-overwrite.xml`: Every element defined in this file will be deployed only if it is not existing yet in the target org (can be useful with ListView for example, if the client wants to update them directly in production org).\n - Can be overridden for a branch using .sfdx-hardis.yml property **packageNoOverwritePath** or environment variable PACKAGE_NO_OVERWRITE_PATH (for example, define: `packageNoOverwritePath: manifest/package-no-overwrite-main.xml` in config file `config/.sfdx-hardis.main.yml`)\n- `manifest/packageXmlOnChange.xml`: Every element defined in this file will not be deployed if it already has a similar definition in target org (can be useful for SharingRules for example)\n\nSee [Overwrite management documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-config-overwrite/)\n\n### Deployment plan\n\nIf you need to deploy in multiple steps, you can define a property `deploymentPlan` in `.sfdx-hardis.yml`.\n\n- If a file `manifest/package.xml` is found, it will be placed with order 0 in the deployment plan\n\n- If a file `manifest/destructiveChanges.xml` is found, it will be executed as --postdestructivechanges\n\n- If env var `SFDX_HARDIS_DEPLOY_IGNORE_SPLIT_PACKAGES` is defined as `false` , split of package.xml will be applied\n\nExample:\n\n```yaml\ndeploymentPlan:\n packages:\n - label: Deploy Flow-Workflow\n packageXmlFile: manifest/splits/packageXmlFlowWorkflow.xml\n order: 6\n - label: Deploy SharingRules - Case\n packageXmlFile: manifest/splits/packageXmlSharingRulesCase.xml\n order: 30\n waitAfter: 30\n```\n\n### Packages installation\n\nYou can define a list of package to install during deployments using property `installedPackages`\n\n- If `INSTALL_PACKAGES_DURING_CHECK_DEPLOY` is defined as `true` (or `installPackagesDuringCheckDeploy: true` in `.sfdx-hardis.yml`), packages will be installed even if the command is called with `--check` mode\n- You can automatically update this property by listing all packages installed on an org using command `sf hardis:org:retrieve:packageconfig`\n\nExample:\n\n```yaml\ninstalledPackages:\n - Id: 0A35r0000009EtECAU\n SubscriberPackageId: 033i0000000LVMYAA4\n SubscriberPackageName: Marketing Cloud\n SubscriberPackageNamespace: et4ae5\n SubscriberPackageVersionId: 04t6S000000l11iQAA\n SubscriberPackageVersionName: Marketing Cloud\n SubscriberPackageVersionNumber: 236.0.0.2\n installOnScratchOrgs: true // true or false depending you want to install this package when creating a new scratch org\n installDuringDeployments: true // set as true to install package during a deployment using sf hardis:project:deploy:smart\n installationkey: xxxxxxxxxxxxxxxxxxxx // if the package has a password, write it in this property\n - Id: 0A35r0000009F9CCAU\n SubscriberPackageId: 033b0000000Pf2AAAS\n SubscriberPackageName: Declarative Lookup Rollup Summaries Tool\n SubscriberPackageNamespace: dlrs\n SubscriberPackageVersionId: 04t5p000001BmLvAAK\n SubscriberPackageVersionName: Release\n SubscriberPackageVersionNumber: 2.15.0.9\n installOnScratchOrgs: true\n installDuringDeployments: true\n```\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\n### Automated fixes post deployments\n\n#### List view with scope Mine\n\nIf you defined a property **listViewsToSetToMine** in your .sfdx-hardis.yml, related ListViews will be set to Mine ( see command <https://sfdx-hardis.cloudity.com/hardis/org/fix/listviewmine/> )\n\nExample:\n\n```yaml\nlistViewsToSetToMine:\n - \"Operation__c:MyCurrentOperations\"\n - \"Operation__c:MyFinalizedOperations\"\n - \"Opportunity:Default_Opportunity_Pipeline\"\n - \"Opportunity:MyCurrentSubscriptions\"\n - \"Opportunity:MySubscriptions\"\n - \"Account:MyActivePartners\"\n```\n\nTroubleshooting: if you need to fix ListViews with mine from an alpine-linux based docker image, use this workaround in your dockerfile:\n\n```dockerfile\n# Do not use puppeteer embedded chromium\nRUN apk add --update --no-cache chromium\nENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=\"true\"\nENV CHROMIUM_PATH=\"/usr/bin/chromium-browser\"\nENV PUPPETEER_EXECUTABLE_PATH=\"$\\{CHROMIUM_PATH}\" // remove \\ before {\n```\n\nIf you need to increase the deployment waiting time (sf project deploy start --wait arg), you can define env variable SFDX_DEPLOY_WAIT_MINUTES (default: 120)\n\nIf you need notifications to be sent using the current Pull Request and not the one just merged ([see use case](https://github.com/hardisgroupcom/sfdx-hardis/issues/637#issuecomment-2230798904)), define env variable SFDX_HARDIS_DEPLOY_BEFORE_MERGE=true\n\nIf you want to disable the calculation and display of Flow Visual Git Diff in Pull Request comments, define variable **SFDX_DISABLE_FLOW_DIFF=true**\n",
|
|
11392
|
+
"examples": [
|
|
11393
|
+
"$ sf hardis:project:deploy:smart",
|
|
11394
|
+
"$ sf hardis:project:deploy:smart --check",
|
|
11395
|
+
"$ sf hardis:project:deploy:smart --check --testlevel RunRepositoryTests",
|
|
11396
|
+
"$ sf hardis:project:deploy:smart --check --testlevel RunRepositoryTests --runtests '^(?!FLI|MyPrefix).*'",
|
|
11397
|
+
"$ sf hardis:project:deploy:smart --check --testlevel RunRepositoryTestsExceptSeeAllData",
|
|
11398
|
+
"$ sf hardis:project:deploy:smart",
|
|
11399
|
+
"$ FORCE_TARGET_BRANCH=preprod NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org nicolas.vuillamy@myclient.com.preprod",
|
|
11400
|
+
"$ SYSTEM_ACCESSTOKEN=xxxxxx SYSTEM_COLLECTIONURI=https://dev.azure.com/xxxxxxx/ SYSTEM_TEAMPROJECT=\"xxxxxxx\" BUILD_REPOSITORY_ID=xxxxx SYSTEM_PULLREQUEST_PULLREQUESTID=1418 FORCE_TARGET_BRANCH=uat NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org my.salesforce@org.com",
|
|
11401
|
+
"$ CI_SFDX_HARDIS_BITBUCKET_TOKEN=xxxxxx BITBUCKET_WORKSPACE=sfdxhardis-demo BITBUCKET_REPO_SLUG=test BITBUCKET_BUILD_NUMBER=1 BITBUCKET_BRANCH=uat BITBUCKET_PR_ID=2 FORCE_TARGET_BRANCH=uat NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org my-salesforce-org@client.com",
|
|
11402
|
+
"$ GITHUB_TOKEN=xxxx GITHUB_REPOSITORY=my-user/my-repo FORCE_TARGET_BRANCH=uat NODE_OPTIONS=--inspect-brk sf hardis:project:deploy:smart --check --websocket localhost:2702 --skipauth --target-org my-salesforce-org@client.com"
|
|
11403
|
+
],
|
|
11404
|
+
"flags": {
|
|
11405
|
+
"json": {
|
|
11406
|
+
"description": "Format output as json.",
|
|
11407
|
+
"helpGroup": "GLOBAL",
|
|
11408
|
+
"name": "json",
|
|
11409
|
+
"allowNo": false,
|
|
11410
|
+
"type": "boolean"
|
|
11569
11411
|
},
|
|
11570
|
-
"
|
|
11571
|
-
"
|
|
11572
|
-
"name": "
|
|
11573
|
-
"
|
|
11574
|
-
"multiple": false,
|
|
11575
|
-
"type": "option"
|
|
11576
|
-
},
|
|
11577
|
-
"test-level": {
|
|
11578
|
-
"description": "test-level",
|
|
11579
|
-
"name": "test-level",
|
|
11580
|
-
"hasDynamicHelp": false,
|
|
11581
|
-
"multiple": false,
|
|
11582
|
-
"type": "option"
|
|
11583
|
-
},
|
|
11584
|
-
"wait": {
|
|
11585
|
-
"char": "w",
|
|
11586
|
-
"description": "wait",
|
|
11587
|
-
"exclusive": [
|
|
11588
|
-
"async"
|
|
11589
|
-
],
|
|
11590
|
-
"name": "wait",
|
|
11591
|
-
"default": 33,
|
|
11412
|
+
"flags-dir": {
|
|
11413
|
+
"helpGroup": "GLOBAL",
|
|
11414
|
+
"name": "flags-dir",
|
|
11415
|
+
"summary": "Import flag values from a directory.",
|
|
11592
11416
|
"hasDynamicHelp": false,
|
|
11593
11417
|
"multiple": false,
|
|
11594
11418
|
"type": "option"
|
|
11595
11419
|
},
|
|
11596
|
-
"
|
|
11597
|
-
"
|
|
11598
|
-
"
|
|
11420
|
+
"check": {
|
|
11421
|
+
"char": "c",
|
|
11422
|
+
"description": "Only checks the deployment, there is no impact on target org",
|
|
11423
|
+
"name": "check",
|
|
11599
11424
|
"allowNo": false,
|
|
11600
11425
|
"type": "boolean"
|
|
11601
11426
|
},
|
|
11602
|
-
"
|
|
11603
|
-
"
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
"description": "pre-destructive-changes",
|
|
11607
|
-
"name": "pre-destructive-changes",
|
|
11427
|
+
"testlevel": {
|
|
11428
|
+
"char": "l",
|
|
11429
|
+
"description": "Level of tests to validate deployment. RunRepositoryTests auto-detect and run all repository test classes",
|
|
11430
|
+
"name": "testlevel",
|
|
11608
11431
|
"hasDynamicHelp": false,
|
|
11609
11432
|
"multiple": false,
|
|
11433
|
+
"options": [
|
|
11434
|
+
"NoTestRun",
|
|
11435
|
+
"RunSpecifiedTests",
|
|
11436
|
+
"RunRepositoryTests",
|
|
11437
|
+
"RunRepositoryTestsExceptSeeAllData",
|
|
11438
|
+
"RunLocalTests",
|
|
11439
|
+
"RunAllTestsInOrg"
|
|
11440
|
+
],
|
|
11610
11441
|
"type": "option"
|
|
11611
11442
|
},
|
|
11612
|
-
"
|
|
11613
|
-
"
|
|
11614
|
-
|
|
11615
|
-
|
|
11616
|
-
"description": "post-destructive-changes",
|
|
11617
|
-
"name": "post-destructive-changes",
|
|
11443
|
+
"runtests": {
|
|
11444
|
+
"char": "r",
|
|
11445
|
+
"description": "If testlevel=RunSpecifiedTests, please provide a list of classes.\nIf testlevel=RunRepositoryTests, can contain a regular expression to keep only class names matching it. If not set, will run all test classes found in the repo.",
|
|
11446
|
+
"name": "runtests",
|
|
11618
11447
|
"hasDynamicHelp": false,
|
|
11619
11448
|
"multiple": false,
|
|
11620
11449
|
"type": "option"
|
|
11621
11450
|
},
|
|
11622
|
-
"
|
|
11623
|
-
"
|
|
11624
|
-
"
|
|
11451
|
+
"packagexml": {
|
|
11452
|
+
"char": "p",
|
|
11453
|
+
"description": "Path to package.xml containing what you want to deploy in target org",
|
|
11454
|
+
"name": "packagexml",
|
|
11625
11455
|
"hasDynamicHelp": false,
|
|
11626
11456
|
"multiple": false,
|
|
11627
11457
|
"type": "option"
|
|
11628
11458
|
},
|
|
11629
|
-
"
|
|
11630
|
-
"description": "
|
|
11631
|
-
"name": "
|
|
11459
|
+
"delta": {
|
|
11460
|
+
"description": "Applies sfdx-git-delta to package.xml before other deployment processes",
|
|
11461
|
+
"name": "delta",
|
|
11632
11462
|
"allowNo": false,
|
|
11633
11463
|
"type": "boolean"
|
|
11634
11464
|
},
|
|
11635
|
-
"
|
|
11636
|
-
"
|
|
11637
|
-
"
|
|
11465
|
+
"debug": {
|
|
11466
|
+
"char": "d",
|
|
11467
|
+
"description": "Activate debug mode (more logs)",
|
|
11468
|
+
"name": "debug",
|
|
11469
|
+
"allowNo": false,
|
|
11470
|
+
"type": "boolean"
|
|
11471
|
+
},
|
|
11472
|
+
"websocket": {
|
|
11473
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
11474
|
+
"name": "websocket",
|
|
11638
11475
|
"hasDynamicHelp": false,
|
|
11639
11476
|
"multiple": false,
|
|
11640
11477
|
"type": "option"
|
|
11641
11478
|
},
|
|
11642
|
-
"
|
|
11643
|
-
"description": "
|
|
11644
|
-
"name": "
|
|
11479
|
+
"skipauth": {
|
|
11480
|
+
"description": "Skip authentication check when a default username is required",
|
|
11481
|
+
"name": "skipauth",
|
|
11645
11482
|
"allowNo": false,
|
|
11646
11483
|
"type": "boolean"
|
|
11484
|
+
},
|
|
11485
|
+
"target-org": {
|
|
11486
|
+
"aliases": [
|
|
11487
|
+
"targetusername",
|
|
11488
|
+
"u"
|
|
11489
|
+
],
|
|
11490
|
+
"char": "o",
|
|
11491
|
+
"deprecateAliases": true,
|
|
11492
|
+
"name": "target-org",
|
|
11493
|
+
"noCacheDefault": true,
|
|
11494
|
+
"required": true,
|
|
11495
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
11496
|
+
"hasDynamicHelp": true,
|
|
11497
|
+
"multiple": false,
|
|
11498
|
+
"type": "option"
|
|
11647
11499
|
}
|
|
11648
11500
|
},
|
|
11649
11501
|
"hasDynamicHelp": true,
|
|
11650
11502
|
"hiddenAliases": [],
|
|
11651
|
-
"id": "hardis:project:deploy:
|
|
11503
|
+
"id": "hardis:project:deploy:smart",
|
|
11652
11504
|
"pluginAlias": "sfdx-hardis",
|
|
11653
11505
|
"pluginName": "sfdx-hardis",
|
|
11654
11506
|
"pluginType": "core",
|
|
11655
11507
|
"strict": true,
|
|
11656
11508
|
"enableJsonFlag": true,
|
|
11509
|
+
"title": "Smart Deploy sfdx sources to org",
|
|
11657
11510
|
"requiresProject": true,
|
|
11658
11511
|
"isESM": true,
|
|
11659
11512
|
"relativePath": [
|
|
@@ -11662,49 +11515,163 @@
|
|
|
11662
11515
|
"hardis",
|
|
11663
11516
|
"project",
|
|
11664
11517
|
"deploy",
|
|
11665
|
-
"
|
|
11518
|
+
"smart.js"
|
|
11666
11519
|
],
|
|
11667
11520
|
"aliasPermutations": [
|
|
11668
|
-
"hardis:deploy:
|
|
11669
|
-
"
|
|
11670
|
-
"deploy:
|
|
11671
|
-
"hardis:
|
|
11672
|
-
"
|
|
11673
|
-
"
|
|
11521
|
+
"hardis:project:deploy:sources:dx",
|
|
11522
|
+
"project:hardis:deploy:sources:dx",
|
|
11523
|
+
"project:deploy:hardis:sources:dx",
|
|
11524
|
+
"project:deploy:sources:hardis:dx",
|
|
11525
|
+
"project:deploy:sources:dx:hardis",
|
|
11526
|
+
"hardis:deploy:project:sources:dx",
|
|
11527
|
+
"deploy:hardis:project:sources:dx",
|
|
11528
|
+
"deploy:project:hardis:sources:dx",
|
|
11529
|
+
"deploy:project:sources:hardis:dx",
|
|
11530
|
+
"deploy:project:sources:dx:hardis",
|
|
11531
|
+
"hardis:deploy:sources:project:dx",
|
|
11532
|
+
"deploy:hardis:sources:project:dx",
|
|
11533
|
+
"deploy:sources:hardis:project:dx",
|
|
11534
|
+
"deploy:sources:project:hardis:dx",
|
|
11535
|
+
"deploy:sources:project:dx:hardis",
|
|
11536
|
+
"hardis:deploy:sources:dx:project",
|
|
11537
|
+
"deploy:hardis:sources:dx:project",
|
|
11538
|
+
"deploy:sources:hardis:dx:project",
|
|
11539
|
+
"deploy:sources:dx:hardis:project",
|
|
11540
|
+
"deploy:sources:dx:project:hardis",
|
|
11541
|
+
"hardis:project:sources:deploy:dx",
|
|
11542
|
+
"project:hardis:sources:deploy:dx",
|
|
11543
|
+
"project:sources:hardis:deploy:dx",
|
|
11544
|
+
"project:sources:deploy:hardis:dx",
|
|
11545
|
+
"project:sources:deploy:dx:hardis",
|
|
11546
|
+
"hardis:sources:project:deploy:dx",
|
|
11547
|
+
"sources:hardis:project:deploy:dx",
|
|
11548
|
+
"sources:project:hardis:deploy:dx",
|
|
11549
|
+
"sources:project:deploy:hardis:dx",
|
|
11550
|
+
"sources:project:deploy:dx:hardis",
|
|
11551
|
+
"hardis:sources:deploy:project:dx",
|
|
11552
|
+
"sources:hardis:deploy:project:dx",
|
|
11553
|
+
"sources:deploy:hardis:project:dx",
|
|
11554
|
+
"sources:deploy:project:hardis:dx",
|
|
11555
|
+
"sources:deploy:project:dx:hardis",
|
|
11556
|
+
"hardis:sources:deploy:dx:project",
|
|
11557
|
+
"sources:hardis:deploy:dx:project",
|
|
11558
|
+
"sources:deploy:hardis:dx:project",
|
|
11559
|
+
"sources:deploy:dx:hardis:project",
|
|
11560
|
+
"sources:deploy:dx:project:hardis",
|
|
11561
|
+
"hardis:project:sources:dx:deploy",
|
|
11562
|
+
"project:hardis:sources:dx:deploy",
|
|
11563
|
+
"project:sources:hardis:dx:deploy",
|
|
11564
|
+
"project:sources:dx:hardis:deploy",
|
|
11565
|
+
"project:sources:dx:deploy:hardis",
|
|
11566
|
+
"hardis:sources:project:dx:deploy",
|
|
11567
|
+
"sources:hardis:project:dx:deploy",
|
|
11568
|
+
"sources:project:hardis:dx:deploy",
|
|
11569
|
+
"sources:project:dx:hardis:deploy",
|
|
11570
|
+
"sources:project:dx:deploy:hardis",
|
|
11571
|
+
"hardis:sources:dx:project:deploy",
|
|
11572
|
+
"sources:hardis:dx:project:deploy",
|
|
11573
|
+
"sources:dx:hardis:project:deploy",
|
|
11574
|
+
"sources:dx:project:hardis:deploy",
|
|
11575
|
+
"sources:dx:project:deploy:hardis",
|
|
11576
|
+
"hardis:sources:dx:deploy:project",
|
|
11577
|
+
"sources:hardis:dx:deploy:project",
|
|
11578
|
+
"sources:dx:hardis:deploy:project",
|
|
11579
|
+
"sources:dx:deploy:hardis:project",
|
|
11580
|
+
"sources:dx:deploy:project:hardis",
|
|
11581
|
+
"hardis:project:deploy:dx:sources",
|
|
11582
|
+
"project:hardis:deploy:dx:sources",
|
|
11583
|
+
"project:deploy:hardis:dx:sources",
|
|
11584
|
+
"project:deploy:dx:hardis:sources",
|
|
11585
|
+
"project:deploy:dx:sources:hardis",
|
|
11586
|
+
"hardis:deploy:project:dx:sources",
|
|
11587
|
+
"deploy:hardis:project:dx:sources",
|
|
11588
|
+
"deploy:project:hardis:dx:sources",
|
|
11589
|
+
"deploy:project:dx:hardis:sources",
|
|
11590
|
+
"deploy:project:dx:sources:hardis",
|
|
11591
|
+
"hardis:deploy:dx:project:sources",
|
|
11592
|
+
"deploy:hardis:dx:project:sources",
|
|
11593
|
+
"deploy:dx:hardis:project:sources",
|
|
11594
|
+
"deploy:dx:project:hardis:sources",
|
|
11595
|
+
"deploy:dx:project:sources:hardis",
|
|
11596
|
+
"hardis:deploy:dx:sources:project",
|
|
11597
|
+
"deploy:hardis:dx:sources:project",
|
|
11598
|
+
"deploy:dx:hardis:sources:project",
|
|
11599
|
+
"deploy:dx:sources:hardis:project",
|
|
11600
|
+
"deploy:dx:sources:project:hardis",
|
|
11601
|
+
"hardis:project:dx:deploy:sources",
|
|
11602
|
+
"project:hardis:dx:deploy:sources",
|
|
11603
|
+
"project:dx:hardis:deploy:sources",
|
|
11604
|
+
"project:dx:deploy:hardis:sources",
|
|
11605
|
+
"project:dx:deploy:sources:hardis",
|
|
11606
|
+
"hardis:dx:project:deploy:sources",
|
|
11607
|
+
"dx:hardis:project:deploy:sources",
|
|
11608
|
+
"dx:project:hardis:deploy:sources",
|
|
11609
|
+
"dx:project:deploy:hardis:sources",
|
|
11610
|
+
"dx:project:deploy:sources:hardis",
|
|
11611
|
+
"hardis:dx:deploy:project:sources",
|
|
11612
|
+
"dx:hardis:deploy:project:sources",
|
|
11613
|
+
"dx:deploy:hardis:project:sources",
|
|
11614
|
+
"dx:deploy:project:hardis:sources",
|
|
11615
|
+
"dx:deploy:project:sources:hardis",
|
|
11616
|
+
"hardis:dx:deploy:sources:project",
|
|
11617
|
+
"dx:hardis:deploy:sources:project",
|
|
11618
|
+
"dx:deploy:hardis:sources:project",
|
|
11619
|
+
"dx:deploy:sources:hardis:project",
|
|
11620
|
+
"dx:deploy:sources:project:hardis",
|
|
11621
|
+
"hardis:project:dx:sources:deploy",
|
|
11622
|
+
"project:hardis:dx:sources:deploy",
|
|
11623
|
+
"project:dx:hardis:sources:deploy",
|
|
11624
|
+
"project:dx:sources:hardis:deploy",
|
|
11625
|
+
"project:dx:sources:deploy:hardis",
|
|
11626
|
+
"hardis:dx:project:sources:deploy",
|
|
11627
|
+
"dx:hardis:project:sources:deploy",
|
|
11628
|
+
"dx:project:hardis:sources:deploy",
|
|
11629
|
+
"dx:project:sources:hardis:deploy",
|
|
11630
|
+
"dx:project:sources:deploy:hardis",
|
|
11631
|
+
"hardis:dx:sources:project:deploy",
|
|
11632
|
+
"dx:hardis:sources:project:deploy",
|
|
11633
|
+
"dx:sources:hardis:project:deploy",
|
|
11634
|
+
"dx:sources:project:hardis:deploy",
|
|
11635
|
+
"dx:sources:project:deploy:hardis",
|
|
11636
|
+
"hardis:dx:sources:deploy:project",
|
|
11637
|
+
"dx:hardis:sources:deploy:project",
|
|
11638
|
+
"dx:sources:hardis:deploy:project",
|
|
11639
|
+
"dx:sources:deploy:hardis:project",
|
|
11640
|
+
"dx:sources:deploy:project:hardis"
|
|
11674
11641
|
],
|
|
11675
11642
|
"permutations": [
|
|
11676
|
-
"hardis:project:deploy:
|
|
11677
|
-
"project:hardis:deploy:
|
|
11678
|
-
"project:deploy:hardis:
|
|
11679
|
-
"project:deploy:
|
|
11680
|
-
"hardis:deploy:project:
|
|
11681
|
-
"deploy:hardis:project:
|
|
11682
|
-
"deploy:project:hardis:
|
|
11683
|
-
"deploy:project:
|
|
11684
|
-
"hardis:deploy:
|
|
11685
|
-
"deploy:hardis:
|
|
11686
|
-
"deploy:
|
|
11687
|
-
"deploy:
|
|
11688
|
-
"hardis:project:
|
|
11689
|
-
"project:hardis:
|
|
11690
|
-
"project:
|
|
11691
|
-
"project:
|
|
11692
|
-
"hardis:
|
|
11693
|
-
"
|
|
11694
|
-
"
|
|
11695
|
-
"
|
|
11696
|
-
"hardis:
|
|
11697
|
-
"
|
|
11698
|
-
"
|
|
11699
|
-
"
|
|
11643
|
+
"hardis:project:deploy:smart",
|
|
11644
|
+
"project:hardis:deploy:smart",
|
|
11645
|
+
"project:deploy:hardis:smart",
|
|
11646
|
+
"project:deploy:smart:hardis",
|
|
11647
|
+
"hardis:deploy:project:smart",
|
|
11648
|
+
"deploy:hardis:project:smart",
|
|
11649
|
+
"deploy:project:hardis:smart",
|
|
11650
|
+
"deploy:project:smart:hardis",
|
|
11651
|
+
"hardis:deploy:smart:project",
|
|
11652
|
+
"deploy:hardis:smart:project",
|
|
11653
|
+
"deploy:smart:hardis:project",
|
|
11654
|
+
"deploy:smart:project:hardis",
|
|
11655
|
+
"hardis:project:smart:deploy",
|
|
11656
|
+
"project:hardis:smart:deploy",
|
|
11657
|
+
"project:smart:hardis:deploy",
|
|
11658
|
+
"project:smart:deploy:hardis",
|
|
11659
|
+
"hardis:smart:project:deploy",
|
|
11660
|
+
"smart:hardis:project:deploy",
|
|
11661
|
+
"smart:project:hardis:deploy",
|
|
11662
|
+
"smart:project:deploy:hardis",
|
|
11663
|
+
"hardis:smart:deploy:project",
|
|
11664
|
+
"smart:hardis:deploy:project",
|
|
11665
|
+
"smart:deploy:hardis:project",
|
|
11666
|
+
"smart:deploy:project:hardis"
|
|
11700
11667
|
]
|
|
11701
11668
|
},
|
|
11702
|
-
"hardis:project:deploy:
|
|
11669
|
+
"hardis:project:deploy:start": {
|
|
11703
11670
|
"aliases": [
|
|
11704
|
-
"hardis:deploy:
|
|
11671
|
+
"hardis:deploy:start"
|
|
11705
11672
|
],
|
|
11706
11673
|
"args": {},
|
|
11707
|
-
"description": "sfdx-hardis wrapper for **sf project deploy
|
|
11674
|
+
"description": "sfdx-hardis wrapper for **sf project deploy start** that displays tips to solve deployment errors.\n\nNote: Use **--json** argument to have better results\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_project_commands_unified.htm#cli_reference_project_deploy_start_unified)\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",
|
|
11708
11675
|
"flags": {
|
|
11709
11676
|
"json": {
|
|
11710
11677
|
"description": "Format output as json.",
|
|
@@ -11896,7 +11863,7 @@
|
|
|
11896
11863
|
},
|
|
11897
11864
|
"hasDynamicHelp": true,
|
|
11898
11865
|
"hiddenAliases": [],
|
|
11899
|
-
"id": "hardis:project:deploy:
|
|
11866
|
+
"id": "hardis:project:deploy:start",
|
|
11900
11867
|
"pluginAlias": "sfdx-hardis",
|
|
11901
11868
|
"pluginName": "sfdx-hardis",
|
|
11902
11869
|
"pluginType": "core",
|
|
@@ -11910,50 +11877,49 @@
|
|
|
11910
11877
|
"hardis",
|
|
11911
11878
|
"project",
|
|
11912
11879
|
"deploy",
|
|
11913
|
-
"
|
|
11880
|
+
"start.js"
|
|
11914
11881
|
],
|
|
11915
11882
|
"aliasPermutations": [
|
|
11916
|
-
"hardis:deploy:
|
|
11917
|
-
"deploy:hardis:
|
|
11918
|
-
"deploy:
|
|
11919
|
-
"hardis:
|
|
11920
|
-
"
|
|
11921
|
-
"
|
|
11883
|
+
"hardis:deploy:start",
|
|
11884
|
+
"deploy:hardis:start",
|
|
11885
|
+
"deploy:start:hardis",
|
|
11886
|
+
"hardis:start:deploy",
|
|
11887
|
+
"start:hardis:deploy",
|
|
11888
|
+
"start:deploy:hardis"
|
|
11922
11889
|
],
|
|
11923
11890
|
"permutations": [
|
|
11924
|
-
"hardis:project:deploy:
|
|
11925
|
-
"project:hardis:deploy:
|
|
11926
|
-
"project:deploy:hardis:
|
|
11927
|
-
"project:deploy:
|
|
11928
|
-
"hardis:deploy:project:
|
|
11929
|
-
"deploy:hardis:project:
|
|
11930
|
-
"deploy:project:hardis:
|
|
11931
|
-
"deploy:project:
|
|
11932
|
-
"hardis:deploy:
|
|
11933
|
-
"deploy:hardis:
|
|
11934
|
-
"deploy:
|
|
11935
|
-
"deploy:
|
|
11936
|
-
"hardis:project:
|
|
11937
|
-
"project:hardis:
|
|
11938
|
-
"project:
|
|
11939
|
-
"project:
|
|
11940
|
-
"hardis:
|
|
11941
|
-
"
|
|
11942
|
-
"
|
|
11943
|
-
"
|
|
11944
|
-
"hardis:
|
|
11945
|
-
"
|
|
11946
|
-
"
|
|
11947
|
-
"
|
|
11891
|
+
"hardis:project:deploy:start",
|
|
11892
|
+
"project:hardis:deploy:start",
|
|
11893
|
+
"project:deploy:hardis:start",
|
|
11894
|
+
"project:deploy:start:hardis",
|
|
11895
|
+
"hardis:deploy:project:start",
|
|
11896
|
+
"deploy:hardis:project:start",
|
|
11897
|
+
"deploy:project:hardis:start",
|
|
11898
|
+
"deploy:project:start:hardis",
|
|
11899
|
+
"hardis:deploy:start:project",
|
|
11900
|
+
"deploy:hardis:start:project",
|
|
11901
|
+
"deploy:start:hardis:project",
|
|
11902
|
+
"deploy:start:project:hardis",
|
|
11903
|
+
"hardis:project:start:deploy",
|
|
11904
|
+
"project:hardis:start:deploy",
|
|
11905
|
+
"project:start:hardis:deploy",
|
|
11906
|
+
"project:start:deploy:hardis",
|
|
11907
|
+
"hardis:start:project:deploy",
|
|
11908
|
+
"start:hardis:project:deploy",
|
|
11909
|
+
"start:project:hardis:deploy",
|
|
11910
|
+
"start:project:deploy:hardis",
|
|
11911
|
+
"hardis:start:deploy:project",
|
|
11912
|
+
"start:hardis:deploy:project",
|
|
11913
|
+
"start:deploy:hardis:project",
|
|
11914
|
+
"start:deploy:project:hardis"
|
|
11948
11915
|
]
|
|
11949
11916
|
},
|
|
11950
|
-
"hardis:project:
|
|
11951
|
-
"aliases": [
|
|
11952
|
-
|
|
11953
|
-
"description": "Interactive prompts to add tab visibilities that are not retrieved by project retrieve start",
|
|
11954
|
-
"examples": [
|
|
11955
|
-
"$ sf hardis:project:fix:profiletabs"
|
|
11917
|
+
"hardis:project:deploy:validate": {
|
|
11918
|
+
"aliases": [
|
|
11919
|
+
"hardis:deploy:validate"
|
|
11956
11920
|
],
|
|
11921
|
+
"args": {},
|
|
11922
|
+
"description": "sfdx-hardis wrapper for **sf project deploy validate** that displays tips to solve deployment errors.\n\nNote: Use **--json** argument to have better results\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_project_commands_unified.htm#cli_reference_project_deploy_validate_unified)\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",
|
|
11957
11923
|
"flags": {
|
|
11958
11924
|
"json": {
|
|
11959
11925
|
"description": "Format output as json.",
|
|
@@ -11970,42 +11936,92 @@
|
|
|
11970
11936
|
"multiple": false,
|
|
11971
11937
|
"type": "option"
|
|
11972
11938
|
},
|
|
11973
|
-
"
|
|
11974
|
-
"char": "
|
|
11975
|
-
"description": "
|
|
11976
|
-
"name": "
|
|
11977
|
-
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
11939
|
+
"api-version": {
|
|
11940
|
+
"char": "a",
|
|
11941
|
+
"description": "api-version",
|
|
11942
|
+
"name": "api-version",
|
|
11978
11943
|
"hasDynamicHelp": false,
|
|
11979
11944
|
"multiple": false,
|
|
11980
11945
|
"type": "option"
|
|
11981
11946
|
},
|
|
11982
|
-
"
|
|
11983
|
-
"
|
|
11984
|
-
"
|
|
11985
|
-
|
|
11947
|
+
"async": {
|
|
11948
|
+
"description": "async",
|
|
11949
|
+
"exclusive": [
|
|
11950
|
+
"wait"
|
|
11951
|
+
],
|
|
11952
|
+
"name": "async",
|
|
11986
11953
|
"allowNo": false,
|
|
11987
11954
|
"type": "boolean"
|
|
11988
11955
|
},
|
|
11989
|
-
"
|
|
11990
|
-
"description": "
|
|
11991
|
-
"name": "
|
|
11956
|
+
"dry-run": {
|
|
11957
|
+
"description": "dry-run",
|
|
11958
|
+
"name": "dry-run",
|
|
11959
|
+
"allowNo": false,
|
|
11960
|
+
"type": "boolean"
|
|
11961
|
+
},
|
|
11962
|
+
"ignore-conflicts": {
|
|
11963
|
+
"char": "c",
|
|
11964
|
+
"description": "ignore-conflicts",
|
|
11965
|
+
"name": "ignore-conflicts",
|
|
11966
|
+
"allowNo": false,
|
|
11967
|
+
"type": "boolean"
|
|
11968
|
+
},
|
|
11969
|
+
"ignore-errors": {
|
|
11970
|
+
"char": "r",
|
|
11971
|
+
"description": "ignore-errors",
|
|
11972
|
+
"name": "ignore-errors",
|
|
11973
|
+
"allowNo": false,
|
|
11974
|
+
"type": "boolean"
|
|
11975
|
+
},
|
|
11976
|
+
"ignore-warnings": {
|
|
11977
|
+
"char": "g",
|
|
11978
|
+
"description": "ignore-warnings",
|
|
11979
|
+
"name": "ignore-warnings",
|
|
11980
|
+
"allowNo": false,
|
|
11981
|
+
"type": "boolean"
|
|
11982
|
+
},
|
|
11983
|
+
"manifest": {
|
|
11984
|
+
"char": "x",
|
|
11985
|
+
"description": "manifest",
|
|
11986
|
+
"name": "manifest",
|
|
11992
11987
|
"hasDynamicHelp": false,
|
|
11993
11988
|
"multiple": false,
|
|
11994
11989
|
"type": "option"
|
|
11995
11990
|
},
|
|
11996
|
-
"
|
|
11997
|
-
"
|
|
11998
|
-
"
|
|
11991
|
+
"metadata": {
|
|
11992
|
+
"char": "m",
|
|
11993
|
+
"description": "metadata",
|
|
11994
|
+
"name": "metadata",
|
|
11995
|
+
"hasDynamicHelp": false,
|
|
11996
|
+
"multiple": true,
|
|
11997
|
+
"type": "option"
|
|
11998
|
+
},
|
|
11999
|
+
"metadata-dir": {
|
|
12000
|
+
"description": "metadata-dir",
|
|
12001
|
+
"name": "metadata-dir",
|
|
12002
|
+
"hasDynamicHelp": false,
|
|
12003
|
+
"multiple": false,
|
|
12004
|
+
"type": "option"
|
|
12005
|
+
},
|
|
12006
|
+
"single-package": {
|
|
12007
|
+
"dependsOn": [
|
|
12008
|
+
"metadata-dir"
|
|
12009
|
+
],
|
|
12010
|
+
"description": "single-package",
|
|
12011
|
+
"name": "single-package",
|
|
11999
12012
|
"allowNo": false,
|
|
12000
12013
|
"type": "boolean"
|
|
12001
12014
|
},
|
|
12015
|
+
"source-dir": {
|
|
12016
|
+
"char": "d",
|
|
12017
|
+
"description": "source-dir",
|
|
12018
|
+
"name": "source-dir",
|
|
12019
|
+
"hasDynamicHelp": false,
|
|
12020
|
+
"multiple": true,
|
|
12021
|
+
"type": "option"
|
|
12022
|
+
},
|
|
12002
12023
|
"target-org": {
|
|
12003
|
-
"aliases": [
|
|
12004
|
-
"targetusername",
|
|
12005
|
-
"u"
|
|
12006
|
-
],
|
|
12007
12024
|
"char": "o",
|
|
12008
|
-
"deprecateAliases": true,
|
|
12009
12025
|
"name": "target-org",
|
|
12010
12026
|
"noCacheDefault": true,
|
|
12011
12027
|
"required": true,
|
|
@@ -12013,230 +12029,94 @@
|
|
|
12013
12029
|
"hasDynamicHelp": true,
|
|
12014
12030
|
"multiple": false,
|
|
12015
12031
|
"type": "option"
|
|
12016
|
-
}
|
|
12017
|
-
},
|
|
12018
|
-
"hasDynamicHelp": true,
|
|
12019
|
-
"hiddenAliases": [],
|
|
12020
|
-
"id": "hardis:project:fix:profiletabs",
|
|
12021
|
-
"pluginAlias": "sfdx-hardis",
|
|
12022
|
-
"pluginName": "sfdx-hardis",
|
|
12023
|
-
"pluginType": "core",
|
|
12024
|
-
"strict": true,
|
|
12025
|
-
"enableJsonFlag": true,
|
|
12026
|
-
"title": "Fix profiles to add tabs that are not retrieved by SF CLI",
|
|
12027
|
-
"requiresProject": true,
|
|
12028
|
-
"isESM": true,
|
|
12029
|
-
"relativePath": [
|
|
12030
|
-
"lib",
|
|
12031
|
-
"commands",
|
|
12032
|
-
"hardis",
|
|
12033
|
-
"project",
|
|
12034
|
-
"fix",
|
|
12035
|
-
"profiletabs.js"
|
|
12036
|
-
],
|
|
12037
|
-
"aliasPermutations": [],
|
|
12038
|
-
"permutations": [
|
|
12039
|
-
"hardis:project:fix:profiletabs",
|
|
12040
|
-
"project:hardis:fix:profiletabs",
|
|
12041
|
-
"project:fix:hardis:profiletabs",
|
|
12042
|
-
"project:fix:profiletabs:hardis",
|
|
12043
|
-
"hardis:fix:project:profiletabs",
|
|
12044
|
-
"fix:hardis:project:profiletabs",
|
|
12045
|
-
"fix:project:hardis:profiletabs",
|
|
12046
|
-
"fix:project:profiletabs:hardis",
|
|
12047
|
-
"hardis:fix:profiletabs:project",
|
|
12048
|
-
"fix:hardis:profiletabs:project",
|
|
12049
|
-
"fix:profiletabs:hardis:project",
|
|
12050
|
-
"fix:profiletabs:project:hardis",
|
|
12051
|
-
"hardis:project:profiletabs:fix",
|
|
12052
|
-
"project:hardis:profiletabs:fix",
|
|
12053
|
-
"project:profiletabs:hardis:fix",
|
|
12054
|
-
"project:profiletabs:fix:hardis",
|
|
12055
|
-
"hardis:profiletabs:project:fix",
|
|
12056
|
-
"profiletabs:hardis:project:fix",
|
|
12057
|
-
"profiletabs:project:hardis:fix",
|
|
12058
|
-
"profiletabs:project:fix:hardis",
|
|
12059
|
-
"hardis:profiletabs:fix:project",
|
|
12060
|
-
"profiletabs:hardis:fix:project",
|
|
12061
|
-
"profiletabs:fix:hardis:project",
|
|
12062
|
-
"profiletabs:fix:project:hardis"
|
|
12063
|
-
]
|
|
12064
|
-
},
|
|
12065
|
-
"hardis:project:fix:v53flexipages": {
|
|
12066
|
-
"aliases": [],
|
|
12067
|
-
"args": {},
|
|
12068
|
-
"description": "Fix flexipages for apiVersion v53 (Winter22).\n\nNote: Update api version to 53.0 in package.xml and sfdx-project.json",
|
|
12069
|
-
"examples": [
|
|
12070
|
-
"$ sf hardis:project:fix:v53flexipages"
|
|
12071
|
-
],
|
|
12072
|
-
"flags": {
|
|
12073
|
-
"json": {
|
|
12074
|
-
"description": "Format output as json.",
|
|
12075
|
-
"helpGroup": "GLOBAL",
|
|
12076
|
-
"name": "json",
|
|
12077
|
-
"allowNo": false,
|
|
12078
|
-
"type": "boolean"
|
|
12079
|
-
},
|
|
12080
|
-
"flags-dir": {
|
|
12081
|
-
"helpGroup": "GLOBAL",
|
|
12082
|
-
"name": "flags-dir",
|
|
12083
|
-
"summary": "Import flag values from a directory.",
|
|
12084
|
-
"hasDynamicHelp": false,
|
|
12085
|
-
"multiple": false,
|
|
12086
|
-
"type": "option"
|
|
12087
12032
|
},
|
|
12088
|
-
"
|
|
12089
|
-
"
|
|
12090
|
-
"
|
|
12091
|
-
"name": "path",
|
|
12092
|
-
"default": "/home/runner/work/sfdx-hardis/sfdx-hardis",
|
|
12033
|
+
"tests": {
|
|
12034
|
+
"description": "tests",
|
|
12035
|
+
"name": "tests",
|
|
12093
12036
|
"hasDynamicHelp": false,
|
|
12094
12037
|
"multiple": false,
|
|
12095
12038
|
"type": "option"
|
|
12096
12039
|
},
|
|
12097
|
-
"
|
|
12098
|
-
"
|
|
12099
|
-
"
|
|
12100
|
-
"name": "debug",
|
|
12101
|
-
"allowNo": false,
|
|
12102
|
-
"type": "boolean"
|
|
12103
|
-
},
|
|
12104
|
-
"websocket": {
|
|
12105
|
-
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12106
|
-
"name": "websocket",
|
|
12040
|
+
"test-level": {
|
|
12041
|
+
"description": "test-level",
|
|
12042
|
+
"name": "test-level",
|
|
12107
12043
|
"hasDynamicHelp": false,
|
|
12108
12044
|
"multiple": false,
|
|
12109
12045
|
"type": "option"
|
|
12110
12046
|
},
|
|
12111
|
-
"
|
|
12112
|
-
"
|
|
12113
|
-
"
|
|
12114
|
-
"
|
|
12115
|
-
|
|
12116
|
-
|
|
12117
|
-
|
|
12118
|
-
|
|
12119
|
-
|
|
12120
|
-
|
|
12121
|
-
|
|
12122
|
-
|
|
12123
|
-
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
"title": "Fix flexipages for v53",
|
|
12127
|
-
"requiresProject": true,
|
|
12128
|
-
"isESM": true,
|
|
12129
|
-
"relativePath": [
|
|
12130
|
-
"lib",
|
|
12131
|
-
"commands",
|
|
12132
|
-
"hardis",
|
|
12133
|
-
"project",
|
|
12134
|
-
"fix",
|
|
12135
|
-
"v53flexipages.js"
|
|
12136
|
-
],
|
|
12137
|
-
"aliasPermutations": [],
|
|
12138
|
-
"permutations": [
|
|
12139
|
-
"hardis:project:fix:v53flexipages",
|
|
12140
|
-
"project:hardis:fix:v53flexipages",
|
|
12141
|
-
"project:fix:hardis:v53flexipages",
|
|
12142
|
-
"project:fix:v53flexipages:hardis",
|
|
12143
|
-
"hardis:fix:project:v53flexipages",
|
|
12144
|
-
"fix:hardis:project:v53flexipages",
|
|
12145
|
-
"fix:project:hardis:v53flexipages",
|
|
12146
|
-
"fix:project:v53flexipages:hardis",
|
|
12147
|
-
"hardis:fix:v53flexipages:project",
|
|
12148
|
-
"fix:hardis:v53flexipages:project",
|
|
12149
|
-
"fix:v53flexipages:hardis:project",
|
|
12150
|
-
"fix:v53flexipages:project:hardis",
|
|
12151
|
-
"hardis:project:v53flexipages:fix",
|
|
12152
|
-
"project:hardis:v53flexipages:fix",
|
|
12153
|
-
"project:v53flexipages:hardis:fix",
|
|
12154
|
-
"project:v53flexipages:fix:hardis",
|
|
12155
|
-
"hardis:v53flexipages:project:fix",
|
|
12156
|
-
"v53flexipages:hardis:project:fix",
|
|
12157
|
-
"v53flexipages:project:hardis:fix",
|
|
12158
|
-
"v53flexipages:project:fix:hardis",
|
|
12159
|
-
"hardis:v53flexipages:fix:project",
|
|
12160
|
-
"v53flexipages:hardis:fix:project",
|
|
12161
|
-
"v53flexipages:fix:hardis:project",
|
|
12162
|
-
"v53flexipages:fix:project:hardis"
|
|
12163
|
-
]
|
|
12164
|
-
},
|
|
12165
|
-
"hardis:project:metadata:findduplicates": {
|
|
12166
|
-
"aliases": [],
|
|
12167
|
-
"args": {},
|
|
12168
|
-
"description": "find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n",
|
|
12169
|
-
"examples": [
|
|
12170
|
-
"\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n",
|
|
12171
|
-
"\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
|
|
12172
|
-
"\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
|
|
12173
|
-
],
|
|
12174
|
-
"flags": {
|
|
12175
|
-
"json": {
|
|
12176
|
-
"description": "Format output as json.",
|
|
12177
|
-
"helpGroup": "GLOBAL",
|
|
12178
|
-
"name": "json",
|
|
12047
|
+
"wait": {
|
|
12048
|
+
"char": "w",
|
|
12049
|
+
"description": "wait",
|
|
12050
|
+
"exclusive": [
|
|
12051
|
+
"async"
|
|
12052
|
+
],
|
|
12053
|
+
"name": "wait",
|
|
12054
|
+
"default": 33,
|
|
12055
|
+
"hasDynamicHelp": false,
|
|
12056
|
+
"multiple": false,
|
|
12057
|
+
"type": "option"
|
|
12058
|
+
},
|
|
12059
|
+
"purge-on-delete": {
|
|
12060
|
+
"description": "purge-on-delete",
|
|
12061
|
+
"name": "purge-on-delete",
|
|
12179
12062
|
"allowNo": false,
|
|
12180
12063
|
"type": "boolean"
|
|
12181
12064
|
},
|
|
12182
|
-
"
|
|
12183
|
-
"
|
|
12184
|
-
|
|
12185
|
-
|
|
12065
|
+
"pre-destructive-changes": {
|
|
12066
|
+
"dependsOn": [
|
|
12067
|
+
"manifest"
|
|
12068
|
+
],
|
|
12069
|
+
"description": "pre-destructive-changes",
|
|
12070
|
+
"name": "pre-destructive-changes",
|
|
12186
12071
|
"hasDynamicHelp": false,
|
|
12187
12072
|
"multiple": false,
|
|
12188
12073
|
"type": "option"
|
|
12189
12074
|
},
|
|
12190
|
-
"
|
|
12191
|
-
"
|
|
12192
|
-
|
|
12193
|
-
|
|
12075
|
+
"post-destructive-changes": {
|
|
12076
|
+
"dependsOn": [
|
|
12077
|
+
"manifest"
|
|
12078
|
+
],
|
|
12079
|
+
"description": "post-destructive-changes",
|
|
12080
|
+
"name": "post-destructive-changes",
|
|
12194
12081
|
"hasDynamicHelp": false,
|
|
12195
|
-
"multiple":
|
|
12082
|
+
"multiple": false,
|
|
12196
12083
|
"type": "option"
|
|
12197
12084
|
},
|
|
12198
|
-
"
|
|
12199
|
-
"description": "
|
|
12200
|
-
"name": "
|
|
12085
|
+
"coverage-formatters": {
|
|
12086
|
+
"description": "coverage-formatters",
|
|
12087
|
+
"name": "coverage-formatters",
|
|
12201
12088
|
"hasDynamicHelp": false,
|
|
12202
12089
|
"multiple": false,
|
|
12203
12090
|
"type": "option"
|
|
12204
12091
|
},
|
|
12205
|
-
"
|
|
12206
|
-
"description": "
|
|
12207
|
-
"name": "
|
|
12092
|
+
"junit": {
|
|
12093
|
+
"description": "junit",
|
|
12094
|
+
"name": "junit",
|
|
12095
|
+
"allowNo": false,
|
|
12096
|
+
"type": "boolean"
|
|
12097
|
+
},
|
|
12098
|
+
"results-dir": {
|
|
12099
|
+
"description": "results-dir",
|
|
12100
|
+
"name": "results-dir",
|
|
12101
|
+
"hasDynamicHelp": false,
|
|
12102
|
+
"multiple": false,
|
|
12103
|
+
"type": "option"
|
|
12104
|
+
},
|
|
12105
|
+
"debug": {
|
|
12106
|
+
"description": "debug",
|
|
12107
|
+
"name": "debug",
|
|
12208
12108
|
"allowNo": false,
|
|
12209
12109
|
"type": "boolean"
|
|
12210
12110
|
}
|
|
12211
12111
|
},
|
|
12212
|
-
"hasDynamicHelp":
|
|
12112
|
+
"hasDynamicHelp": true,
|
|
12213
12113
|
"hiddenAliases": [],
|
|
12214
|
-
"id": "hardis:project:
|
|
12114
|
+
"id": "hardis:project:deploy:validate",
|
|
12215
12115
|
"pluginAlias": "sfdx-hardis",
|
|
12216
12116
|
"pluginName": "sfdx-hardis",
|
|
12217
12117
|
"pluginType": "core",
|
|
12218
12118
|
"strict": true,
|
|
12219
12119
|
"enableJsonFlag": true,
|
|
12220
|
-
"metadataDuplicateFindKeys": {
|
|
12221
|
-
"layout": [
|
|
12222
|
-
"Layout.layoutSections.layoutColumns.layoutItems.field",
|
|
12223
|
-
"Layout.quickActionListItems.quickActionName"
|
|
12224
|
-
],
|
|
12225
|
-
"profile": [
|
|
12226
|
-
"Profile.fieldPermissions.field",
|
|
12227
|
-
"Profile.objectPermissions.object",
|
|
12228
|
-
"Profile.classAccesses.apexClass"
|
|
12229
|
-
],
|
|
12230
|
-
"labels": [
|
|
12231
|
-
"CustomLabels.labels.fullName"
|
|
12232
|
-
],
|
|
12233
|
-
"permissionset": [
|
|
12234
|
-
"PermissionSet.fieldPermissions.field",
|
|
12235
|
-
"PermissionSet.objectPermissions.object",
|
|
12236
|
-
"PermissionSet.classAccesses.apexClass"
|
|
12237
|
-
]
|
|
12238
|
-
},
|
|
12239
|
-
"title": "XML duplicate values finder",
|
|
12240
12120
|
"requiresProject": true,
|
|
12241
12121
|
"isESM": true,
|
|
12242
12122
|
"relativePath": [
|
|
@@ -12244,35 +12124,42 @@
|
|
|
12244
12124
|
"commands",
|
|
12245
12125
|
"hardis",
|
|
12246
12126
|
"project",
|
|
12247
|
-
"
|
|
12248
|
-
"
|
|
12127
|
+
"deploy",
|
|
12128
|
+
"validate.js"
|
|
12129
|
+
],
|
|
12130
|
+
"aliasPermutations": [
|
|
12131
|
+
"hardis:deploy:validate",
|
|
12132
|
+
"deploy:hardis:validate",
|
|
12133
|
+
"deploy:validate:hardis",
|
|
12134
|
+
"hardis:validate:deploy",
|
|
12135
|
+
"validate:hardis:deploy",
|
|
12136
|
+
"validate:deploy:hardis"
|
|
12249
12137
|
],
|
|
12250
|
-
"aliasPermutations": [],
|
|
12251
12138
|
"permutations": [
|
|
12252
|
-
"hardis:project:
|
|
12253
|
-
"project:hardis:
|
|
12254
|
-
"project:
|
|
12255
|
-
"project:
|
|
12256
|
-
"hardis:
|
|
12257
|
-
"
|
|
12258
|
-
"
|
|
12259
|
-
"
|
|
12260
|
-
"hardis:
|
|
12261
|
-
"
|
|
12262
|
-
"
|
|
12263
|
-
"
|
|
12264
|
-
"hardis:project:
|
|
12265
|
-
"project:hardis:
|
|
12266
|
-
"project:
|
|
12267
|
-
"project:
|
|
12268
|
-
"hardis:
|
|
12269
|
-
"
|
|
12270
|
-
"
|
|
12271
|
-
"
|
|
12272
|
-
"hardis:
|
|
12273
|
-
"
|
|
12274
|
-
"
|
|
12275
|
-
"
|
|
12139
|
+
"hardis:project:deploy:validate",
|
|
12140
|
+
"project:hardis:deploy:validate",
|
|
12141
|
+
"project:deploy:hardis:validate",
|
|
12142
|
+
"project:deploy:validate:hardis",
|
|
12143
|
+
"hardis:deploy:project:validate",
|
|
12144
|
+
"deploy:hardis:project:validate",
|
|
12145
|
+
"deploy:project:hardis:validate",
|
|
12146
|
+
"deploy:project:validate:hardis",
|
|
12147
|
+
"hardis:deploy:validate:project",
|
|
12148
|
+
"deploy:hardis:validate:project",
|
|
12149
|
+
"deploy:validate:hardis:project",
|
|
12150
|
+
"deploy:validate:project:hardis",
|
|
12151
|
+
"hardis:project:validate:deploy",
|
|
12152
|
+
"project:hardis:validate:deploy",
|
|
12153
|
+
"project:validate:hardis:deploy",
|
|
12154
|
+
"project:validate:deploy:hardis",
|
|
12155
|
+
"hardis:validate:project:deploy",
|
|
12156
|
+
"validate:hardis:project:deploy",
|
|
12157
|
+
"validate:project:hardis:deploy",
|
|
12158
|
+
"validate:project:deploy:hardis",
|
|
12159
|
+
"hardis:validate:deploy:project",
|
|
12160
|
+
"validate:hardis:deploy:project",
|
|
12161
|
+
"validate:deploy:hardis:project",
|
|
12162
|
+
"validate:deploy:project:hardis"
|
|
12276
12163
|
]
|
|
12277
12164
|
},
|
|
12278
12165
|
"hardis:project:generate:bypass": {
|
|
@@ -12641,6 +12528,119 @@
|
|
|
12641
12528
|
"gitdelta:generate:project:hardis"
|
|
12642
12529
|
]
|
|
12643
12530
|
},
|
|
12531
|
+
"hardis:project:metadata:findduplicates": {
|
|
12532
|
+
"aliases": [],
|
|
12533
|
+
"args": {},
|
|
12534
|
+
"description": "find duplicate values in XML file(s).\n Find duplicate values in XML file(s). Keys to be checked can be configured in `config/sfdx-hardis.yml` using property metadataDuplicateFindKeys.\n\nDefault config :\nmetadataDuplicateFindKeys :\n[object Object]\n",
|
|
12535
|
+
"examples": [
|
|
12536
|
+
"\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Layout xmlns=\"http://soap.sforce.com/2006/04/metadata\">\n <layoutSections>\n ...\n <layoutColumns>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n <layoutItems>\n <behavior>Required</behavior>\n <field>Name</field>\n </layoutItems>\n </layoutColumns>\n </layoutSections>\n</Layout>\n",
|
|
12537
|
+
"\n$ sf hardis:project:metadata:findduplicates --file layout.layout-meta.xml\n[sfdx-hardis] Duplicate values in layout.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : Name\n",
|
|
12538
|
+
"\n$ sf hardis:project.metadata:findduplicates -f \"force-app/main/default/**/*.xml\"\n[sfdx-hardis] hardis:project:metadata:findduplicates execution time 0:00:00.397\n[sfdx-hardis] Duplicate values in layout1.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : CreatedById\n\n[sfdx-hardis] Duplicate values in layout2.layout-meta.xml\n - Key : Layout.layoutSections.layoutColumns.layoutItems.field\n - Values : LastModifiedById, Name\n"
|
|
12539
|
+
],
|
|
12540
|
+
"flags": {
|
|
12541
|
+
"json": {
|
|
12542
|
+
"description": "Format output as json.",
|
|
12543
|
+
"helpGroup": "GLOBAL",
|
|
12544
|
+
"name": "json",
|
|
12545
|
+
"allowNo": false,
|
|
12546
|
+
"type": "boolean"
|
|
12547
|
+
},
|
|
12548
|
+
"flags-dir": {
|
|
12549
|
+
"helpGroup": "GLOBAL",
|
|
12550
|
+
"name": "flags-dir",
|
|
12551
|
+
"summary": "Import flag values from a directory.",
|
|
12552
|
+
"hasDynamicHelp": false,
|
|
12553
|
+
"multiple": false,
|
|
12554
|
+
"type": "option"
|
|
12555
|
+
},
|
|
12556
|
+
"files": {
|
|
12557
|
+
"char": "f",
|
|
12558
|
+
"description": "XML metadata files path",
|
|
12559
|
+
"name": "files",
|
|
12560
|
+
"hasDynamicHelp": false,
|
|
12561
|
+
"multiple": true,
|
|
12562
|
+
"type": "option"
|
|
12563
|
+
},
|
|
12564
|
+
"websocket": {
|
|
12565
|
+
"description": "Websocket host:port for VsCode SFDX Hardis UI integration",
|
|
12566
|
+
"name": "websocket",
|
|
12567
|
+
"hasDynamicHelp": false,
|
|
12568
|
+
"multiple": false,
|
|
12569
|
+
"type": "option"
|
|
12570
|
+
},
|
|
12571
|
+
"skipauth": {
|
|
12572
|
+
"description": "Skip authentication check when a default username is required",
|
|
12573
|
+
"name": "skipauth",
|
|
12574
|
+
"allowNo": false,
|
|
12575
|
+
"type": "boolean"
|
|
12576
|
+
}
|
|
12577
|
+
},
|
|
12578
|
+
"hasDynamicHelp": false,
|
|
12579
|
+
"hiddenAliases": [],
|
|
12580
|
+
"id": "hardis:project:metadata:findduplicates",
|
|
12581
|
+
"pluginAlias": "sfdx-hardis",
|
|
12582
|
+
"pluginName": "sfdx-hardis",
|
|
12583
|
+
"pluginType": "core",
|
|
12584
|
+
"strict": true,
|
|
12585
|
+
"enableJsonFlag": true,
|
|
12586
|
+
"metadataDuplicateFindKeys": {
|
|
12587
|
+
"layout": [
|
|
12588
|
+
"Layout.layoutSections.layoutColumns.layoutItems.field",
|
|
12589
|
+
"Layout.quickActionListItems.quickActionName"
|
|
12590
|
+
],
|
|
12591
|
+
"profile": [
|
|
12592
|
+
"Profile.fieldPermissions.field",
|
|
12593
|
+
"Profile.objectPermissions.object",
|
|
12594
|
+
"Profile.classAccesses.apexClass"
|
|
12595
|
+
],
|
|
12596
|
+
"labels": [
|
|
12597
|
+
"CustomLabels.labels.fullName"
|
|
12598
|
+
],
|
|
12599
|
+
"permissionset": [
|
|
12600
|
+
"PermissionSet.fieldPermissions.field",
|
|
12601
|
+
"PermissionSet.objectPermissions.object",
|
|
12602
|
+
"PermissionSet.classAccesses.apexClass"
|
|
12603
|
+
]
|
|
12604
|
+
},
|
|
12605
|
+
"title": "XML duplicate values finder",
|
|
12606
|
+
"requiresProject": true,
|
|
12607
|
+
"isESM": true,
|
|
12608
|
+
"relativePath": [
|
|
12609
|
+
"lib",
|
|
12610
|
+
"commands",
|
|
12611
|
+
"hardis",
|
|
12612
|
+
"project",
|
|
12613
|
+
"metadata",
|
|
12614
|
+
"findduplicates.js"
|
|
12615
|
+
],
|
|
12616
|
+
"aliasPermutations": [],
|
|
12617
|
+
"permutations": [
|
|
12618
|
+
"hardis:project:metadata:findduplicates",
|
|
12619
|
+
"project:hardis:metadata:findduplicates",
|
|
12620
|
+
"project:metadata:hardis:findduplicates",
|
|
12621
|
+
"project:metadata:findduplicates:hardis",
|
|
12622
|
+
"hardis:metadata:project:findduplicates",
|
|
12623
|
+
"metadata:hardis:project:findduplicates",
|
|
12624
|
+
"metadata:project:hardis:findduplicates",
|
|
12625
|
+
"metadata:project:findduplicates:hardis",
|
|
12626
|
+
"hardis:metadata:findduplicates:project",
|
|
12627
|
+
"metadata:hardis:findduplicates:project",
|
|
12628
|
+
"metadata:findduplicates:hardis:project",
|
|
12629
|
+
"metadata:findduplicates:project:hardis",
|
|
12630
|
+
"hardis:project:findduplicates:metadata",
|
|
12631
|
+
"project:hardis:findduplicates:metadata",
|
|
12632
|
+
"project:findduplicates:hardis:metadata",
|
|
12633
|
+
"project:findduplicates:metadata:hardis",
|
|
12634
|
+
"hardis:findduplicates:project:metadata",
|
|
12635
|
+
"findduplicates:hardis:project:metadata",
|
|
12636
|
+
"findduplicates:project:hardis:metadata",
|
|
12637
|
+
"findduplicates:project:metadata:hardis",
|
|
12638
|
+
"hardis:findduplicates:metadata:project",
|
|
12639
|
+
"findduplicates:hardis:metadata:project",
|
|
12640
|
+
"findduplicates:metadata:hardis:project",
|
|
12641
|
+
"findduplicates:metadata:project:hardis"
|
|
12642
|
+
]
|
|
12643
|
+
},
|
|
12644
12644
|
"hardis:scratch:pool:create": {
|
|
12645
12645
|
"aliases": [],
|
|
12646
12646
|
"args": {},
|
|
@@ -14615,5 +14615,5 @@
|
|
|
14615
14615
|
]
|
|
14616
14616
|
}
|
|
14617
14617
|
},
|
|
14618
|
-
"version": "5.34.
|
|
14618
|
+
"version": "5.34.1"
|
|
14619
14619
|
}
|