@salesforce/plugin-apex 2.3.20 → 3.0.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/README.md +55 -55
- package/bin/dev.cmd +1 -1
- package/bin/dev.js +8 -0
- package/bin/run.js +9 -0
- package/lib/commands/apex/get/log.d.ts +6 -6
- package/lib/commands/apex/get/log.js +45 -46
- package/lib/commands/apex/get/log.js.map +1 -1
- package/lib/commands/apex/get/test.d.ts +8 -8
- package/lib/commands/apex/get/test.js +51 -52
- package/lib/commands/apex/get/test.js.map +1 -1
- package/lib/commands/apex/list/log.d.ts +3 -3
- package/lib/commands/apex/list/log.js +19 -20
- package/lib/commands/apex/list/log.js.map +1 -1
- package/lib/commands/apex/run/test.d.ts +14 -14
- package/lib/commands/apex/run/test.js +99 -102
- package/lib/commands/apex/run/test.js.map +1 -1
- package/lib/commands/apex/run.d.ts +4 -4
- package/lib/commands/apex/run.js +30 -31
- package/lib/commands/apex/run.js.map +1 -1
- package/lib/commands/apex/tail/log.d.ts +6 -6
- package/lib/commands/apex/tail/log.js +39 -39
- package/lib/commands/apex/tail/log.js.map +1 -1
- package/lib/index.js +1 -3
- package/lib/index.js.map +1 -1
- package/lib/legacyColorization.js +9 -11
- package/lib/legacyColorization.js.map +1 -1
- package/lib/reporters/index.d.ts +2 -2
- package/lib/reporters/index.js +2 -7
- package/lib/reporters/index.js.map +1 -1
- package/lib/reporters/jsonReporter.d.ts +1 -1
- package/lib/reporters/jsonReporter.js +1 -5
- package/lib/reporters/jsonReporter.js.map +1 -1
- package/lib/reporters/runReporter.d.ts +1 -1
- package/lib/reporters/runReporter.js +11 -12
- package/lib/reporters/runReporter.js.map +1 -1
- package/lib/reporters/testReporter.d.ts +1 -1
- package/lib/reporters/testReporter.js +28 -27
- package/lib/reporters/testReporter.js.map +1 -1
- package/lib/utils.d.ts +2 -3
- package/lib/utils.js +6 -10
- package/lib/utils.js.map +1 -1
- package/oclif.lock +7667 -0
- package/oclif.manifest.json +594 -325
- package/package.json +38 -57
- package/bin/dev +0 -21
- package/bin/run +0 -5
package/oclif.manifest.json
CHANGED
|
@@ -1,276 +1,353 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.3.20",
|
|
3
2
|
"commands": {
|
|
4
3
|
"apex:run": {
|
|
5
|
-
"id": "apex:run",
|
|
6
|
-
"summary": "Execute anonymous Apex code entered on the command line or from a local file.",
|
|
7
|
-
"description": "If you don’t run this command from within a Salesforce DX project, you must specify the —-target-org flag.\n\nTo execute your code interactively, run this command with no flags. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.",
|
|
8
|
-
"strict": true,
|
|
9
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
10
|
-
"pluginAlias": "@salesforce/plugin-apex",
|
|
11
|
-
"pluginType": "core",
|
|
12
4
|
"aliases": [
|
|
13
5
|
"force:apex:execute"
|
|
14
6
|
],
|
|
7
|
+
"args": {},
|
|
8
|
+
"deprecateAliases": true,
|
|
9
|
+
"description": "If you don’t run this command from within a Salesforce DX project, you must specify the —-target-org flag.\n\nTo execute your code interactively, run this command with no flags. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.",
|
|
15
10
|
"examples": [
|
|
16
11
|
"Execute the Apex code that's in the ~/test.apex file in the org with the specified username:\n<%= config.bin %> <%= command.id %> --target-org testusername@salesforce.org --file ~/test.apex",
|
|
17
12
|
"Similar to previous example, but execute the code in your default org:\n<%= config.bin %> <%= command.id %> --file ~/test.apex",
|
|
18
13
|
"Run the command with no flags to start interactive mode; the code will execute in your default org when you exit. At the prompt, start type Apex code and press the Enter key after each line. Press CTRL+D when finished.\n<%= config.bin %> <%= command.id %>"
|
|
19
14
|
],
|
|
20
|
-
"deprecateAliases": true,
|
|
21
15
|
"flags": {
|
|
22
16
|
"json": {
|
|
23
|
-
"name": "json",
|
|
24
|
-
"type": "boolean",
|
|
25
17
|
"description": "Format output as json.",
|
|
26
18
|
"helpGroup": "GLOBAL",
|
|
19
|
+
"name": "json",
|
|
27
20
|
"allowNo": false,
|
|
28
|
-
"
|
|
21
|
+
"type": "boolean"
|
|
29
22
|
},
|
|
30
23
|
"target-org": {
|
|
31
|
-
"name": "target-org",
|
|
32
|
-
"type": "option",
|
|
33
|
-
"char": "o",
|
|
34
|
-
"summary": "Username or alias of the target org.",
|
|
35
|
-
"required": true,
|
|
36
|
-
"multiple": false,
|
|
37
|
-
"deprecateAliases": true,
|
|
38
24
|
"aliases": [
|
|
39
25
|
"targetusername",
|
|
40
26
|
"u"
|
|
41
|
-
]
|
|
27
|
+
],
|
|
28
|
+
"char": "o",
|
|
29
|
+
"deprecateAliases": true,
|
|
30
|
+
"name": "target-org",
|
|
31
|
+
"noCacheDefault": true,
|
|
32
|
+
"required": true,
|
|
33
|
+
"summary": "Username or alias of the target org.",
|
|
34
|
+
"hasDynamicHelp": true,
|
|
35
|
+
"multiple": false,
|
|
36
|
+
"type": "option"
|
|
42
37
|
},
|
|
43
38
|
"api-version": {
|
|
44
|
-
"name": "api-version",
|
|
45
|
-
"type": "option",
|
|
46
|
-
"description": "Override the api version used for api requests made by this command",
|
|
47
|
-
"multiple": false,
|
|
48
|
-
"deprecateAliases": true,
|
|
49
39
|
"aliases": [
|
|
50
40
|
"apiversion"
|
|
51
|
-
]
|
|
41
|
+
],
|
|
42
|
+
"deprecateAliases": true,
|
|
43
|
+
"description": "Override the api version used for api requests made by this command",
|
|
44
|
+
"name": "api-version",
|
|
45
|
+
"hasDynamicHelp": false,
|
|
46
|
+
"multiple": false,
|
|
47
|
+
"type": "option"
|
|
52
48
|
},
|
|
53
49
|
"loglevel": {
|
|
54
|
-
"name": "loglevel",
|
|
55
|
-
"type": "option",
|
|
56
|
-
"hidden": true,
|
|
57
|
-
"multiple": false,
|
|
58
50
|
"deprecated": {
|
|
59
51
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
60
52
|
},
|
|
61
|
-
"
|
|
53
|
+
"hidden": true,
|
|
54
|
+
"name": "loglevel",
|
|
55
|
+
"hasDynamicHelp": false,
|
|
56
|
+
"multiple": false,
|
|
57
|
+
"type": "option"
|
|
62
58
|
},
|
|
63
59
|
"file": {
|
|
64
|
-
"
|
|
65
|
-
|
|
60
|
+
"aliases": [
|
|
61
|
+
"apexcodefile"
|
|
62
|
+
],
|
|
66
63
|
"char": "f",
|
|
64
|
+
"deprecateAliases": true,
|
|
65
|
+
"name": "file",
|
|
67
66
|
"summary": "Path to a local file that contains Apex code.",
|
|
67
|
+
"hasDynamicHelp": false,
|
|
68
68
|
"multiple": false,
|
|
69
|
-
"
|
|
70
|
-
"aliases": [
|
|
71
|
-
"apexcodefile"
|
|
72
|
-
]
|
|
69
|
+
"type": "option"
|
|
73
70
|
}
|
|
74
71
|
},
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
"apex:get:log": {
|
|
79
|
-
"id": "apex:get:log",
|
|
80
|
-
"summary": "Fetch the specified log or given number of most recent logs from the org.",
|
|
81
|
-
"description": "To get the IDs for your debug logs, run \"<%= config.bin %> apex log list\". Executing this command without flags returns the most recent log.",
|
|
82
|
-
"strict": true,
|
|
83
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
72
|
+
"hasDynamicHelp": true,
|
|
73
|
+
"hiddenAliases": [],
|
|
74
|
+
"id": "apex:run",
|
|
84
75
|
"pluginAlias": "@salesforce/plugin-apex",
|
|
76
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
85
77
|
"pluginType": "core",
|
|
78
|
+
"strict": true,
|
|
79
|
+
"summary": "Execute anonymous Apex code entered on the command line or from a local file.",
|
|
80
|
+
"enableJsonFlag": true,
|
|
81
|
+
"SF_ENV": "SF_ENV",
|
|
82
|
+
"isESM": true,
|
|
83
|
+
"relativePath": [
|
|
84
|
+
"lib",
|
|
85
|
+
"commands",
|
|
86
|
+
"apex",
|
|
87
|
+
"run.js"
|
|
88
|
+
],
|
|
89
|
+
"aliasPermutations": [
|
|
90
|
+
"force:apex:execute",
|
|
91
|
+
"apex:force:execute",
|
|
92
|
+
"apex:execute:force",
|
|
93
|
+
"force:execute:apex",
|
|
94
|
+
"execute:force:apex",
|
|
95
|
+
"execute:apex:force"
|
|
96
|
+
],
|
|
97
|
+
"permutations": [
|
|
98
|
+
"apex:run",
|
|
99
|
+
"run:apex"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"apex:get:log": {
|
|
86
103
|
"aliases": [
|
|
87
104
|
"force:apex:log:get"
|
|
88
105
|
],
|
|
106
|
+
"args": {},
|
|
107
|
+
"deprecateAliases": true,
|
|
108
|
+
"description": "To get the IDs for your debug logs, run \"<%= config.bin %> apex log list\". Executing this command without flags returns the most recent log.",
|
|
89
109
|
"examples": [
|
|
90
110
|
"Fetch the log in your default org using an ID:\n<%= config.bin %> <%= command.id %> --log-id <log id>",
|
|
91
111
|
"Fetch the log in the org with the specified username using an ID:\n<%= config.bin %> <%= command.id %> --log-id <log id> --target-org me@my.org",
|
|
92
112
|
"Fetch the two most recent logs in your default org:\n<%= config.bin %> <%= command.id %> --number 2",
|
|
93
113
|
"Similar to previous example, but save the two log files in the specified directory:\n<%= config.bin %> <%= command.id %> --output-dir /Users/sfdxUser/logs --number 2"
|
|
94
114
|
],
|
|
95
|
-
"deprecateAliases": true,
|
|
96
115
|
"flags": {
|
|
97
116
|
"json": {
|
|
98
|
-
"name": "json",
|
|
99
|
-
"type": "boolean",
|
|
100
117
|
"description": "Format output as json.",
|
|
101
118
|
"helpGroup": "GLOBAL",
|
|
119
|
+
"name": "json",
|
|
102
120
|
"allowNo": false,
|
|
103
|
-
"
|
|
121
|
+
"type": "boolean"
|
|
104
122
|
},
|
|
105
123
|
"target-org": {
|
|
106
|
-
"name": "target-org",
|
|
107
|
-
"type": "option",
|
|
108
|
-
"char": "o",
|
|
109
|
-
"summary": "Username or alias of the target org.",
|
|
110
|
-
"required": true,
|
|
111
|
-
"multiple": false,
|
|
112
|
-
"deprecateAliases": true,
|
|
113
124
|
"aliases": [
|
|
114
125
|
"targetusername",
|
|
115
126
|
"u"
|
|
116
|
-
]
|
|
127
|
+
],
|
|
128
|
+
"char": "o",
|
|
129
|
+
"deprecateAliases": true,
|
|
130
|
+
"name": "target-org",
|
|
131
|
+
"noCacheDefault": true,
|
|
132
|
+
"required": true,
|
|
133
|
+
"summary": "Username or alias of the target org.",
|
|
134
|
+
"hasDynamicHelp": true,
|
|
135
|
+
"multiple": false,
|
|
136
|
+
"type": "option"
|
|
117
137
|
},
|
|
118
138
|
"api-version": {
|
|
119
|
-
"name": "api-version",
|
|
120
|
-
"type": "option",
|
|
121
|
-
"description": "Override the api version used for api requests made by this command",
|
|
122
|
-
"multiple": false,
|
|
123
|
-
"deprecateAliases": true,
|
|
124
139
|
"aliases": [
|
|
125
140
|
"apiversion"
|
|
126
|
-
]
|
|
141
|
+
],
|
|
142
|
+
"deprecateAliases": true,
|
|
143
|
+
"description": "Override the api version used for api requests made by this command",
|
|
144
|
+
"name": "api-version",
|
|
145
|
+
"hasDynamicHelp": false,
|
|
146
|
+
"multiple": false,
|
|
147
|
+
"type": "option"
|
|
127
148
|
},
|
|
128
149
|
"loglevel": {
|
|
129
|
-
"name": "loglevel",
|
|
130
|
-
"type": "option",
|
|
131
|
-
"hidden": true,
|
|
132
|
-
"multiple": false,
|
|
133
150
|
"deprecated": {
|
|
134
151
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
135
152
|
},
|
|
136
|
-
"
|
|
153
|
+
"hidden": true,
|
|
154
|
+
"name": "loglevel",
|
|
155
|
+
"hasDynamicHelp": false,
|
|
156
|
+
"multiple": false,
|
|
157
|
+
"type": "option"
|
|
137
158
|
},
|
|
138
159
|
"log-id": {
|
|
139
|
-
"
|
|
140
|
-
|
|
160
|
+
"aliases": [
|
|
161
|
+
"logid"
|
|
162
|
+
],
|
|
141
163
|
"char": "i",
|
|
164
|
+
"deprecateAliases": true,
|
|
165
|
+
"name": "log-id",
|
|
142
166
|
"summary": "ID of the specific log to display.",
|
|
167
|
+
"hasDynamicHelp": false,
|
|
143
168
|
"multiple": false,
|
|
144
|
-
"
|
|
145
|
-
"aliases": [
|
|
146
|
-
"logid"
|
|
147
|
-
]
|
|
169
|
+
"type": "option"
|
|
148
170
|
},
|
|
149
171
|
"number": {
|
|
150
|
-
"name": "number",
|
|
151
|
-
"type": "option",
|
|
152
172
|
"char": "n",
|
|
173
|
+
"name": "number",
|
|
153
174
|
"summary": "Number of the most recent logs to display.",
|
|
175
|
+
"hasDynamicHelp": false,
|
|
154
176
|
"multiple": false,
|
|
155
|
-
"
|
|
177
|
+
"type": "option"
|
|
156
178
|
},
|
|
157
179
|
"output-dir": {
|
|
158
|
-
"name": "output-dir",
|
|
159
|
-
"type": "option",
|
|
160
|
-
"char": "d",
|
|
161
|
-
"summary": "Directory for saving the log files.",
|
|
162
|
-
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
163
|
-
"multiple": false,
|
|
164
|
-
"deprecateAliases": true,
|
|
165
180
|
"aliases": [
|
|
166
181
|
"outputdir",
|
|
167
182
|
"output-directory"
|
|
168
|
-
]
|
|
183
|
+
],
|
|
184
|
+
"char": "d",
|
|
185
|
+
"deprecateAliases": true,
|
|
186
|
+
"description": "The location can be an absolute path or relative to the current working directory. The default is the current directory.",
|
|
187
|
+
"name": "output-dir",
|
|
188
|
+
"summary": "Directory for saving the log files.",
|
|
189
|
+
"hasDynamicHelp": false,
|
|
190
|
+
"multiple": false,
|
|
191
|
+
"type": "option"
|
|
169
192
|
}
|
|
170
193
|
},
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
|
|
174
|
-
"apex:get:test": {
|
|
175
|
-
"id": "apex:get:test",
|
|
176
|
-
"summary": "Display test results for a specific asynchronous test run.",
|
|
177
|
-
"description": "Provide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"<%= config.bin %> apex test run\" command.",
|
|
178
|
-
"strict": true,
|
|
179
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
194
|
+
"hasDynamicHelp": true,
|
|
195
|
+
"hiddenAliases": [],
|
|
196
|
+
"id": "apex:get:log",
|
|
180
197
|
"pluginAlias": "@salesforce/plugin-apex",
|
|
198
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
181
199
|
"pluginType": "core",
|
|
200
|
+
"strict": true,
|
|
201
|
+
"summary": "Fetch the specified log or given number of most recent logs from the org.",
|
|
202
|
+
"enableJsonFlag": true,
|
|
203
|
+
"SF_ENV": "SF_ENV",
|
|
204
|
+
"isESM": true,
|
|
205
|
+
"relativePath": [
|
|
206
|
+
"lib",
|
|
207
|
+
"commands",
|
|
208
|
+
"apex",
|
|
209
|
+
"get",
|
|
210
|
+
"log.js"
|
|
211
|
+
],
|
|
212
|
+
"aliasPermutations": [
|
|
213
|
+
"force:apex:log:get",
|
|
214
|
+
"apex:force:log:get",
|
|
215
|
+
"apex:log:force:get",
|
|
216
|
+
"apex:log:get:force",
|
|
217
|
+
"force:log:apex:get",
|
|
218
|
+
"log:force:apex:get",
|
|
219
|
+
"log:apex:force:get",
|
|
220
|
+
"log:apex:get:force",
|
|
221
|
+
"force:log:get:apex",
|
|
222
|
+
"log:force:get:apex",
|
|
223
|
+
"log:get:force:apex",
|
|
224
|
+
"log:get:apex:force",
|
|
225
|
+
"force:apex:get:log",
|
|
226
|
+
"apex:force:get:log",
|
|
227
|
+
"apex:get:force:log",
|
|
228
|
+
"apex:get:log:force",
|
|
229
|
+
"force:get:apex:log",
|
|
230
|
+
"get:force:apex:log",
|
|
231
|
+
"get:apex:force:log",
|
|
232
|
+
"get:apex:log:force",
|
|
233
|
+
"force:get:log:apex",
|
|
234
|
+
"get:force:log:apex",
|
|
235
|
+
"get:log:force:apex",
|
|
236
|
+
"get:log:apex:force"
|
|
237
|
+
],
|
|
238
|
+
"permutations": [
|
|
239
|
+
"apex:get:log",
|
|
240
|
+
"get:apex:log",
|
|
241
|
+
"get:log:apex",
|
|
242
|
+
"apex:log:get",
|
|
243
|
+
"log:apex:get",
|
|
244
|
+
"log:get:apex"
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
"apex:get:test": {
|
|
182
248
|
"aliases": [
|
|
183
249
|
"force:apex:test:report"
|
|
184
250
|
],
|
|
251
|
+
"args": {},
|
|
252
|
+
"deprecateAliases": true,
|
|
253
|
+
"description": "Provide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"<%= config.bin %> apex test run\" command.",
|
|
185
254
|
"examples": [
|
|
186
255
|
"Display test results for your default org using a test run ID:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id>",
|
|
187
256
|
"Similar to previous example, but output the result in JUnit format:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --result-format junit",
|
|
188
257
|
"Also retrieve code coverage results and output in JSON format:\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --code-coverage --json",
|
|
189
258
|
"Specify a directory in which to save the test results from the org with the specified username (rather than your default org):\n<%= config.bin %> <%= command.id %> --test-run-id <test run id> --code-coverage --output-dir <path to outputdir> --target-org me@myorg',"
|
|
190
259
|
],
|
|
191
|
-
"deprecateAliases": true,
|
|
192
260
|
"flags": {
|
|
193
261
|
"json": {
|
|
194
|
-
"name": "json",
|
|
195
|
-
"type": "boolean",
|
|
196
262
|
"description": "Format output as json.",
|
|
197
263
|
"helpGroup": "GLOBAL",
|
|
264
|
+
"name": "json",
|
|
198
265
|
"allowNo": false,
|
|
199
|
-
"
|
|
266
|
+
"type": "boolean"
|
|
200
267
|
},
|
|
201
268
|
"target-org": {
|
|
202
|
-
"name": "target-org",
|
|
203
|
-
"type": "option",
|
|
204
|
-
"char": "o",
|
|
205
|
-
"summary": "Username or alias of the target org.",
|
|
206
|
-
"required": true,
|
|
207
|
-
"multiple": false,
|
|
208
|
-
"deprecateAliases": true,
|
|
209
269
|
"aliases": [
|
|
210
270
|
"targetusername",
|
|
211
271
|
"u"
|
|
212
|
-
]
|
|
272
|
+
],
|
|
273
|
+
"char": "o",
|
|
274
|
+
"deprecateAliases": true,
|
|
275
|
+
"name": "target-org",
|
|
276
|
+
"noCacheDefault": true,
|
|
277
|
+
"required": true,
|
|
278
|
+
"summary": "Username or alias of the target org.",
|
|
279
|
+
"hasDynamicHelp": true,
|
|
280
|
+
"multiple": false,
|
|
281
|
+
"type": "option"
|
|
213
282
|
},
|
|
214
283
|
"api-version": {
|
|
215
|
-
"name": "api-version",
|
|
216
|
-
"type": "option",
|
|
217
|
-
"description": "Override the api version used for api requests made by this command",
|
|
218
|
-
"multiple": false,
|
|
219
|
-
"deprecateAliases": true,
|
|
220
284
|
"aliases": [
|
|
221
285
|
"apiversion"
|
|
222
|
-
]
|
|
286
|
+
],
|
|
287
|
+
"deprecateAliases": true,
|
|
288
|
+
"description": "Override the api version used for api requests made by this command",
|
|
289
|
+
"name": "api-version",
|
|
290
|
+
"hasDynamicHelp": false,
|
|
291
|
+
"multiple": false,
|
|
292
|
+
"type": "option"
|
|
223
293
|
},
|
|
224
294
|
"loglevel": {
|
|
225
|
-
"name": "loglevel",
|
|
226
|
-
"type": "option",
|
|
227
|
-
"hidden": true,
|
|
228
|
-
"multiple": false,
|
|
229
295
|
"deprecated": {
|
|
230
296
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
231
297
|
},
|
|
232
|
-
"
|
|
298
|
+
"hidden": true,
|
|
299
|
+
"name": "loglevel",
|
|
300
|
+
"hasDynamicHelp": false,
|
|
301
|
+
"multiple": false,
|
|
302
|
+
"type": "option"
|
|
233
303
|
},
|
|
234
304
|
"test-run-id": {
|
|
235
|
-
"
|
|
236
|
-
|
|
305
|
+
"aliases": [
|
|
306
|
+
"testrunid"
|
|
307
|
+
],
|
|
237
308
|
"char": "i",
|
|
238
|
-
"
|
|
309
|
+
"deprecateAliases": true,
|
|
310
|
+
"name": "test-run-id",
|
|
239
311
|
"required": true,
|
|
312
|
+
"summary": "ID of the test run.",
|
|
313
|
+
"hasDynamicHelp": false,
|
|
240
314
|
"multiple": false,
|
|
241
|
-
"
|
|
242
|
-
"aliases": [
|
|
243
|
-
"testrunid"
|
|
244
|
-
]
|
|
315
|
+
"type": "option"
|
|
245
316
|
},
|
|
246
317
|
"code-coverage": {
|
|
247
|
-
"
|
|
248
|
-
|
|
318
|
+
"aliases": [
|
|
319
|
+
"codecoverage"
|
|
320
|
+
],
|
|
249
321
|
"char": "c",
|
|
322
|
+
"deprecateAliases": true,
|
|
323
|
+
"name": "code-coverage",
|
|
250
324
|
"summary": "Retrieve code coverage results.",
|
|
251
325
|
"allowNo": false,
|
|
252
|
-
"
|
|
253
|
-
"aliases": [
|
|
254
|
-
"codecoverage"
|
|
255
|
-
]
|
|
326
|
+
"type": "boolean"
|
|
256
327
|
},
|
|
257
328
|
"output-dir": {
|
|
258
|
-
"name": "output-dir",
|
|
259
|
-
"type": "option",
|
|
260
|
-
"char": "d",
|
|
261
|
-
"summary": "Directory in which to store test result files.",
|
|
262
|
-
"multiple": false,
|
|
263
|
-
"deprecateAliases": true,
|
|
264
329
|
"aliases": [
|
|
265
330
|
"outputdir",
|
|
266
331
|
"output-directory"
|
|
267
|
-
]
|
|
332
|
+
],
|
|
333
|
+
"char": "d",
|
|
334
|
+
"deprecateAliases": true,
|
|
335
|
+
"name": "output-dir",
|
|
336
|
+
"summary": "Directory in which to store test result files.",
|
|
337
|
+
"hasDynamicHelp": false,
|
|
338
|
+
"multiple": false,
|
|
339
|
+
"type": "option"
|
|
268
340
|
},
|
|
269
341
|
"result-format": {
|
|
270
|
-
"
|
|
271
|
-
|
|
342
|
+
"aliases": [
|
|
343
|
+
"resultformat"
|
|
344
|
+
],
|
|
272
345
|
"char": "r",
|
|
346
|
+
"deprecateAliases": true,
|
|
347
|
+
"name": "result-format",
|
|
273
348
|
"summary": "Format of the results.",
|
|
349
|
+
"default": "human",
|
|
350
|
+
"hasDynamicHelp": false,
|
|
274
351
|
"multiple": false,
|
|
275
352
|
"options": [
|
|
276
353
|
"human",
|
|
@@ -278,89 +355,178 @@
|
|
|
278
355
|
"junit",
|
|
279
356
|
"json"
|
|
280
357
|
],
|
|
281
|
-
"
|
|
282
|
-
"deprecateAliases": true,
|
|
283
|
-
"aliases": [
|
|
284
|
-
"resultformat"
|
|
285
|
-
]
|
|
358
|
+
"type": "option"
|
|
286
359
|
}
|
|
287
360
|
},
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
|
|
291
|
-
"apex:list:log": {
|
|
292
|
-
"id": "apex:list:log",
|
|
293
|
-
"summary": "Display a list of IDs and general information about debug logs.",
|
|
294
|
-
"description": "Run this command in a project to list the IDs and general information for all debug logs in your default org.\n\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “<%= config.bin %> apex log get” command.",
|
|
295
|
-
"strict": true,
|
|
296
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
361
|
+
"hasDynamicHelp": true,
|
|
362
|
+
"hiddenAliases": [],
|
|
363
|
+
"id": "apex:get:test",
|
|
297
364
|
"pluginAlias": "@salesforce/plugin-apex",
|
|
365
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
298
366
|
"pluginType": "core",
|
|
367
|
+
"strict": true,
|
|
368
|
+
"summary": "Display test results for a specific asynchronous test run.",
|
|
369
|
+
"enableJsonFlag": true,
|
|
370
|
+
"SF_ENV": "SF_ENV",
|
|
371
|
+
"isESM": true,
|
|
372
|
+
"relativePath": [
|
|
373
|
+
"lib",
|
|
374
|
+
"commands",
|
|
375
|
+
"apex",
|
|
376
|
+
"get",
|
|
377
|
+
"test.js"
|
|
378
|
+
],
|
|
379
|
+
"aliasPermutations": [
|
|
380
|
+
"force:apex:test:report",
|
|
381
|
+
"apex:force:test:report",
|
|
382
|
+
"apex:test:force:report",
|
|
383
|
+
"apex:test:report:force",
|
|
384
|
+
"force:test:apex:report",
|
|
385
|
+
"test:force:apex:report",
|
|
386
|
+
"test:apex:force:report",
|
|
387
|
+
"test:apex:report:force",
|
|
388
|
+
"force:test:report:apex",
|
|
389
|
+
"test:force:report:apex",
|
|
390
|
+
"test:report:force:apex",
|
|
391
|
+
"test:report:apex:force",
|
|
392
|
+
"force:apex:report:test",
|
|
393
|
+
"apex:force:report:test",
|
|
394
|
+
"apex:report:force:test",
|
|
395
|
+
"apex:report:test:force",
|
|
396
|
+
"force:report:apex:test",
|
|
397
|
+
"report:force:apex:test",
|
|
398
|
+
"report:apex:force:test",
|
|
399
|
+
"report:apex:test:force",
|
|
400
|
+
"force:report:test:apex",
|
|
401
|
+
"report:force:test:apex",
|
|
402
|
+
"report:test:force:apex",
|
|
403
|
+
"report:test:apex:force"
|
|
404
|
+
],
|
|
405
|
+
"permutations": [
|
|
406
|
+
"apex:get:test",
|
|
407
|
+
"get:apex:test",
|
|
408
|
+
"get:test:apex",
|
|
409
|
+
"apex:test:get",
|
|
410
|
+
"test:apex:get",
|
|
411
|
+
"test:get:apex"
|
|
412
|
+
]
|
|
413
|
+
},
|
|
414
|
+
"apex:list:log": {
|
|
299
415
|
"aliases": [
|
|
300
416
|
"force:apex:log:list"
|
|
301
417
|
],
|
|
418
|
+
"args": {},
|
|
419
|
+
"deprecateAliases": true,
|
|
420
|
+
"description": "Run this command in a project to list the IDs and general information for all debug logs in your default org.\n\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “<%= config.bin %> apex log get” command.",
|
|
302
421
|
"examples": [
|
|
303
422
|
"List the IDs and information about the debug logs in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
304
423
|
"Similar to previous example, but use the org with the specified username:\n<%= config.bin %> <%= command.id %> --target-org me@my.org"
|
|
305
424
|
],
|
|
306
|
-
"deprecateAliases": true,
|
|
307
425
|
"flags": {
|
|
308
426
|
"json": {
|
|
309
|
-
"name": "json",
|
|
310
|
-
"type": "boolean",
|
|
311
427
|
"description": "Format output as json.",
|
|
312
428
|
"helpGroup": "GLOBAL",
|
|
429
|
+
"name": "json",
|
|
313
430
|
"allowNo": false,
|
|
314
|
-
"
|
|
431
|
+
"type": "boolean"
|
|
315
432
|
},
|
|
316
433
|
"target-org": {
|
|
317
|
-
"name": "target-org",
|
|
318
|
-
"type": "option",
|
|
319
|
-
"char": "o",
|
|
320
|
-
"summary": "Username or alias of the target org.",
|
|
321
|
-
"required": true,
|
|
322
|
-
"multiple": false,
|
|
323
|
-
"deprecateAliases": true,
|
|
324
434
|
"aliases": [
|
|
325
435
|
"targetusername",
|
|
326
436
|
"u"
|
|
327
|
-
]
|
|
437
|
+
],
|
|
438
|
+
"char": "o",
|
|
439
|
+
"deprecateAliases": true,
|
|
440
|
+
"name": "target-org",
|
|
441
|
+
"noCacheDefault": true,
|
|
442
|
+
"required": true,
|
|
443
|
+
"summary": "Username or alias of the target org.",
|
|
444
|
+
"hasDynamicHelp": true,
|
|
445
|
+
"multiple": false,
|
|
446
|
+
"type": "option"
|
|
328
447
|
},
|
|
329
448
|
"api-version": {
|
|
330
|
-
"name": "api-version",
|
|
331
|
-
"type": "option",
|
|
332
|
-
"description": "Override the api version used for api requests made by this command",
|
|
333
|
-
"multiple": false,
|
|
334
|
-
"deprecateAliases": true,
|
|
335
449
|
"aliases": [
|
|
336
450
|
"apiversion"
|
|
337
|
-
]
|
|
451
|
+
],
|
|
452
|
+
"deprecateAliases": true,
|
|
453
|
+
"description": "Override the api version used for api requests made by this command",
|
|
454
|
+
"name": "api-version",
|
|
455
|
+
"hasDynamicHelp": false,
|
|
456
|
+
"multiple": false,
|
|
457
|
+
"type": "option"
|
|
338
458
|
},
|
|
339
459
|
"loglevel": {
|
|
340
|
-
"name": "loglevel",
|
|
341
|
-
"type": "option",
|
|
342
|
-
"hidden": true,
|
|
343
|
-
"multiple": false,
|
|
344
460
|
"deprecated": {
|
|
345
461
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
346
462
|
},
|
|
347
|
-
"
|
|
463
|
+
"hidden": true,
|
|
464
|
+
"name": "loglevel",
|
|
465
|
+
"hasDynamicHelp": false,
|
|
466
|
+
"multiple": false,
|
|
467
|
+
"type": "option"
|
|
348
468
|
}
|
|
349
469
|
},
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
|
|
353
|
-
"apex:run:test": {
|
|
354
|
-
"id": "apex:run:test",
|
|
355
|
-
"summary": "Invoke Apex tests in an org.",
|
|
356
|
-
"description": "Specify which tests to run by using the --class-names, --suite-names, or --tests flags. Alternatively, use the --test-level flag to run all the tests in your org, local tests, or specified tests.\n\nTo see code coverage results, use the --code-coverage flag with --result-format. The output displays a high-level summary of the test run and the code coverage values for classes in your org. If you specify human-readable result format, use the --detailed-coverage flag to see detailed coverage results for each test method run.\n\nBy default, Apex tests run asynchronously and immediately return a test run ID. You can use the --wait flag to specify the number of minutes to wait; if the tests finish in that timeframe, the command displays the results. If the tests haven't finished by the end of the wait time, the command displays a test run ID. Use the \"<%= config.bin %> apex get test --test-run-id\" command to get the results.\n\nNOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines from all the Apex classes evaluated by the tests in this run.",
|
|
357
|
-
"strict": true,
|
|
358
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
470
|
+
"hasDynamicHelp": true,
|
|
471
|
+
"hiddenAliases": [],
|
|
472
|
+
"id": "apex:list:log",
|
|
359
473
|
"pluginAlias": "@salesforce/plugin-apex",
|
|
474
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
360
475
|
"pluginType": "core",
|
|
476
|
+
"strict": true,
|
|
477
|
+
"summary": "Display a list of IDs and general information about debug logs.",
|
|
478
|
+
"enableJsonFlag": true,
|
|
479
|
+
"SF_ENV": "SF_ENV",
|
|
480
|
+
"isESM": true,
|
|
481
|
+
"relativePath": [
|
|
482
|
+
"lib",
|
|
483
|
+
"commands",
|
|
484
|
+
"apex",
|
|
485
|
+
"list",
|
|
486
|
+
"log.js"
|
|
487
|
+
],
|
|
488
|
+
"aliasPermutations": [
|
|
489
|
+
"force:apex:log:list",
|
|
490
|
+
"apex:force:log:list",
|
|
491
|
+
"apex:log:force:list",
|
|
492
|
+
"apex:log:list:force",
|
|
493
|
+
"force:log:apex:list",
|
|
494
|
+
"log:force:apex:list",
|
|
495
|
+
"log:apex:force:list",
|
|
496
|
+
"log:apex:list:force",
|
|
497
|
+
"force:log:list:apex",
|
|
498
|
+
"log:force:list:apex",
|
|
499
|
+
"log:list:force:apex",
|
|
500
|
+
"log:list:apex:force",
|
|
501
|
+
"force:apex:list:log",
|
|
502
|
+
"apex:force:list:log",
|
|
503
|
+
"apex:list:force:log",
|
|
504
|
+
"apex:list:log:force",
|
|
505
|
+
"force:list:apex:log",
|
|
506
|
+
"list:force:apex:log",
|
|
507
|
+
"list:apex:force:log",
|
|
508
|
+
"list:apex:log:force",
|
|
509
|
+
"force:list:log:apex",
|
|
510
|
+
"list:force:log:apex",
|
|
511
|
+
"list:log:force:apex",
|
|
512
|
+
"list:log:apex:force"
|
|
513
|
+
],
|
|
514
|
+
"permutations": [
|
|
515
|
+
"apex:list:log",
|
|
516
|
+
"list:apex:log",
|
|
517
|
+
"list:log:apex",
|
|
518
|
+
"apex:log:list",
|
|
519
|
+
"log:apex:list",
|
|
520
|
+
"log:list:apex"
|
|
521
|
+
]
|
|
522
|
+
},
|
|
523
|
+
"apex:run:test": {
|
|
361
524
|
"aliases": [
|
|
362
525
|
"force:apex:test:run"
|
|
363
526
|
],
|
|
527
|
+
"args": {},
|
|
528
|
+
"deprecateAliases": true,
|
|
529
|
+
"description": "Specify which tests to run by using the --class-names, --suite-names, or --tests flags. Alternatively, use the --test-level flag to run all the tests in your org, local tests, or specified tests.\n\nTo see code coverage results, use the --code-coverage flag with --result-format. The output displays a high-level summary of the test run and the code coverage values for classes in your org. If you specify human-readable result format, use the --detailed-coverage flag to see detailed coverage results for each test method run.\n\nBy default, Apex tests run asynchronously and immediately return a test run ID. You can use the --wait flag to specify the number of minutes to wait; if the tests finish in that timeframe, the command displays the results. If the tests haven't finished by the end of the wait time, the command displays a test run ID. Use the \"<%= config.bin %> apex get test --test-run-id\" command to get the results.\n\nNOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines from all the Apex classes evaluated by the tests in this run.",
|
|
364
530
|
"examples": [
|
|
365
531
|
"Run all Apex tests and suites in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
366
532
|
"Run the specified Apex test classes in your default org and display results in human-readable form:\n<%= config.bin %> <%= command.id %> --class-names MyClassTest --class-names MyOtherClassTest --result-format human",
|
|
@@ -368,111 +534,120 @@
|
|
|
368
534
|
"Run the specified Apex tests in your default org and display results in human-readable output:\n<%= config.bin %> <%= command.id %> --tests MyClassTest.testCoolFeature --tests MyClassTest.testAwesomeFeature --tests AnotherClassTest --tests namespace.TheirClassTest.testThis --result-format human",
|
|
369
535
|
"Run all tests in the org with the specified username with the specified test level; save the output to the specified directory:\n<%= config.bin %> <%= command.id %> --test-level RunLocalTests --output-dir <path to outputdir> --target-org me@my.org"
|
|
370
536
|
],
|
|
371
|
-
"deprecateAliases": true,
|
|
372
537
|
"flags": {
|
|
373
538
|
"json": {
|
|
374
|
-
"name": "json",
|
|
375
|
-
"type": "boolean",
|
|
376
539
|
"description": "Format output as json.",
|
|
377
540
|
"helpGroup": "GLOBAL",
|
|
541
|
+
"name": "json",
|
|
378
542
|
"allowNo": false,
|
|
379
|
-
"
|
|
543
|
+
"type": "boolean"
|
|
380
544
|
},
|
|
381
545
|
"target-org": {
|
|
382
|
-
"name": "target-org",
|
|
383
|
-
"type": "option",
|
|
384
|
-
"char": "o",
|
|
385
|
-
"summary": "Username or alias of the target org.",
|
|
386
|
-
"required": true,
|
|
387
|
-
"multiple": false,
|
|
388
|
-
"deprecateAliases": true,
|
|
389
546
|
"aliases": [
|
|
390
547
|
"targetusername",
|
|
391
548
|
"u"
|
|
392
|
-
]
|
|
549
|
+
],
|
|
550
|
+
"char": "o",
|
|
551
|
+
"deprecateAliases": true,
|
|
552
|
+
"name": "target-org",
|
|
553
|
+
"noCacheDefault": true,
|
|
554
|
+
"required": true,
|
|
555
|
+
"summary": "Username or alias of the target org.",
|
|
556
|
+
"hasDynamicHelp": true,
|
|
557
|
+
"multiple": false,
|
|
558
|
+
"type": "option"
|
|
393
559
|
},
|
|
394
560
|
"api-version": {
|
|
395
|
-
"name": "api-version",
|
|
396
|
-
"type": "option",
|
|
397
|
-
"description": "Override the api version used for api requests made by this command",
|
|
398
|
-
"multiple": false,
|
|
399
|
-
"deprecateAliases": true,
|
|
400
561
|
"aliases": [
|
|
401
562
|
"apiversion"
|
|
402
|
-
]
|
|
563
|
+
],
|
|
564
|
+
"deprecateAliases": true,
|
|
565
|
+
"description": "Override the api version used for api requests made by this command",
|
|
566
|
+
"name": "api-version",
|
|
567
|
+
"hasDynamicHelp": false,
|
|
568
|
+
"multiple": false,
|
|
569
|
+
"type": "option"
|
|
403
570
|
},
|
|
404
571
|
"loglevel": {
|
|
405
|
-
"name": "loglevel",
|
|
406
|
-
"type": "option",
|
|
407
|
-
"hidden": true,
|
|
408
|
-
"multiple": false,
|
|
409
572
|
"deprecated": {
|
|
410
573
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
411
574
|
},
|
|
412
|
-
"
|
|
575
|
+
"hidden": true,
|
|
576
|
+
"name": "loglevel",
|
|
577
|
+
"hasDynamicHelp": false,
|
|
578
|
+
"multiple": false,
|
|
579
|
+
"type": "option"
|
|
413
580
|
},
|
|
414
581
|
"code-coverage": {
|
|
415
|
-
"
|
|
416
|
-
|
|
582
|
+
"aliases": [
|
|
583
|
+
"codecoverage"
|
|
584
|
+
],
|
|
417
585
|
"char": "c",
|
|
586
|
+
"deprecateAliases": true,
|
|
587
|
+
"name": "code-coverage",
|
|
418
588
|
"summary": "Retrieve code coverage results.",
|
|
419
589
|
"allowNo": false,
|
|
420
|
-
"
|
|
421
|
-
"aliases": [
|
|
422
|
-
"codecoverage"
|
|
423
|
-
]
|
|
590
|
+
"type": "boolean"
|
|
424
591
|
},
|
|
425
592
|
"output-dir": {
|
|
426
|
-
"name": "output-dir",
|
|
427
|
-
"type": "option",
|
|
428
|
-
"char": "d",
|
|
429
|
-
"summary": "Directory in which to store test run files.",
|
|
430
|
-
"multiple": false,
|
|
431
|
-
"deprecateAliases": true,
|
|
432
593
|
"aliases": [
|
|
433
594
|
"outputdir",
|
|
434
595
|
"output-directory"
|
|
435
|
-
]
|
|
596
|
+
],
|
|
597
|
+
"char": "d",
|
|
598
|
+
"deprecateAliases": true,
|
|
599
|
+
"name": "output-dir",
|
|
600
|
+
"summary": "Directory in which to store test run files.",
|
|
601
|
+
"hasDynamicHelp": false,
|
|
602
|
+
"multiple": false,
|
|
603
|
+
"type": "option"
|
|
436
604
|
},
|
|
437
605
|
"test-level": {
|
|
438
|
-
"
|
|
439
|
-
|
|
606
|
+
"aliases": [
|
|
607
|
+
"testlevel"
|
|
608
|
+
],
|
|
440
609
|
"char": "l",
|
|
441
|
-
"
|
|
610
|
+
"deprecateAliases": true,
|
|
442
611
|
"description": "Here's what the levels mean:\n\n- RunSpecifiedTests — Only the tests that you specify are run.\n- RunLocalTests — All tests in your org are run, except the ones that originate from installed managed packages.\n- RunAllTestsInOrg — All tests are in your org and in installed managed packages are run",
|
|
612
|
+
"name": "test-level",
|
|
613
|
+
"summary": "Level of tests to run; default is RunLocalTests.",
|
|
614
|
+
"hasDynamicHelp": false,
|
|
443
615
|
"multiple": false,
|
|
444
616
|
"options": [
|
|
445
617
|
"RunLocalTests",
|
|
446
618
|
"RunAllTestsInOrg",
|
|
447
619
|
"RunSpecifiedTests"
|
|
448
620
|
],
|
|
449
|
-
"
|
|
450
|
-
"aliases": [
|
|
451
|
-
"testlevel"
|
|
452
|
-
]
|
|
621
|
+
"type": "option"
|
|
453
622
|
},
|
|
454
623
|
"class-names": {
|
|
455
|
-
"
|
|
456
|
-
|
|
624
|
+
"aliases": [
|
|
625
|
+
"classnames"
|
|
626
|
+
],
|
|
457
627
|
"char": "n",
|
|
458
|
-
"
|
|
628
|
+
"deprecateAliases": true,
|
|
459
629
|
"description": "If you select --class-names, you can't specify --suite-names or --tests.\nFor multiple classes, repeat the flag for each.\n--class-names Class1 --class-names Class2",
|
|
460
|
-
"multiple": true,
|
|
461
630
|
"exclusive": [
|
|
462
631
|
"suite-names",
|
|
463
632
|
"tests"
|
|
464
633
|
],
|
|
465
|
-
"
|
|
466
|
-
"
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
"
|
|
634
|
+
"name": "class-names",
|
|
635
|
+
"summary": "Apex test class names to run; default is all classes.",
|
|
636
|
+
"delimiter": ",",
|
|
637
|
+
"hasDynamicHelp": false,
|
|
638
|
+
"multiple": true,
|
|
639
|
+
"type": "option"
|
|
470
640
|
},
|
|
471
641
|
"result-format": {
|
|
472
|
-
"
|
|
473
|
-
|
|
642
|
+
"aliases": [
|
|
643
|
+
"resultformat"
|
|
644
|
+
],
|
|
474
645
|
"char": "r",
|
|
646
|
+
"deprecateAliases": true,
|
|
647
|
+
"name": "result-format",
|
|
475
648
|
"summary": "Format of the test results.",
|
|
649
|
+
"default": "human",
|
|
650
|
+
"hasDynamicHelp": false,
|
|
476
651
|
"multiple": false,
|
|
477
652
|
"options": [
|
|
478
653
|
"human",
|
|
@@ -480,172 +655,266 @@
|
|
|
480
655
|
"junit",
|
|
481
656
|
"json"
|
|
482
657
|
],
|
|
483
|
-
"
|
|
484
|
-
"deprecateAliases": true,
|
|
485
|
-
"aliases": [
|
|
486
|
-
"resultformat"
|
|
487
|
-
]
|
|
658
|
+
"type": "option"
|
|
488
659
|
},
|
|
489
660
|
"suite-names": {
|
|
490
|
-
"
|
|
491
|
-
|
|
661
|
+
"aliases": [
|
|
662
|
+
"suitenames"
|
|
663
|
+
],
|
|
492
664
|
"char": "s",
|
|
493
|
-
"
|
|
665
|
+
"deprecateAliases": true,
|
|
494
666
|
"description": "If you select --suite-names, you can't specify --class-names or --tests.\nFor multiple suites, repeat the flag for each.\n--suite-names Suite1 --suite-names Suite2",
|
|
495
|
-
"multiple": true,
|
|
496
667
|
"exclusive": [
|
|
497
668
|
"class-names",
|
|
498
669
|
"tests"
|
|
499
670
|
],
|
|
500
|
-
"
|
|
501
|
-
"
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
"
|
|
671
|
+
"name": "suite-names",
|
|
672
|
+
"summary": "Apex test suite names to run; default is all suites.",
|
|
673
|
+
"delimiter": ",",
|
|
674
|
+
"hasDynamicHelp": false,
|
|
675
|
+
"multiple": true,
|
|
676
|
+
"type": "option"
|
|
505
677
|
},
|
|
506
678
|
"tests": {
|
|
507
|
-
"name": "tests",
|
|
508
|
-
"type": "option",
|
|
509
679
|
"char": "t",
|
|
510
|
-
"summary": "Apex test class names or IDs and, if applicable, test methods to run; default is all tests.",
|
|
511
680
|
"description": "If you specify --tests, you can't specify --class-names or --suite-names\nFor multiple tests, repeat the flag for each.\n--tests Test1 --tests Test2",
|
|
512
|
-
"multiple": true,
|
|
513
681
|
"exclusive": [
|
|
514
682
|
"class-names",
|
|
515
683
|
"suite-names"
|
|
516
684
|
],
|
|
517
|
-
"
|
|
518
|
-
"
|
|
685
|
+
"name": "tests",
|
|
686
|
+
"summary": "Apex test class names or IDs and, if applicable, test methods to run; default is all tests.",
|
|
687
|
+
"delimiter": ",",
|
|
688
|
+
"hasDynamicHelp": false,
|
|
689
|
+
"multiple": true,
|
|
690
|
+
"type": "option"
|
|
519
691
|
},
|
|
520
692
|
"wait": {
|
|
521
|
-
"name": "wait",
|
|
522
|
-
"type": "option",
|
|
523
693
|
"char": "w",
|
|
694
|
+
"name": "wait",
|
|
524
695
|
"summary": "Sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently.",
|
|
696
|
+
"hasDynamicHelp": false,
|
|
525
697
|
"multiple": false,
|
|
526
|
-
"
|
|
698
|
+
"type": "option"
|
|
527
699
|
},
|
|
528
700
|
"synchronous": {
|
|
529
|
-
"name": "synchronous",
|
|
530
|
-
"type": "boolean",
|
|
531
701
|
"char": "y",
|
|
702
|
+
"name": "synchronous",
|
|
532
703
|
"summary": "Runs test methods from a single Apex class synchronously; if not specified, tests are run asynchronously.",
|
|
533
704
|
"allowNo": false,
|
|
534
|
-
"
|
|
705
|
+
"type": "boolean"
|
|
535
706
|
},
|
|
536
707
|
"detailed-coverage": {
|
|
537
|
-
"
|
|
538
|
-
|
|
708
|
+
"aliases": [
|
|
709
|
+
"detailedcoverage"
|
|
710
|
+
],
|
|
539
711
|
"char": "v",
|
|
540
|
-
"summary": "Display detailed code coverage per test.",
|
|
541
|
-
"allowNo": false,
|
|
542
712
|
"dependsOn": [
|
|
543
713
|
"code-coverage"
|
|
544
714
|
],
|
|
545
715
|
"deprecateAliases": true,
|
|
546
|
-
"
|
|
547
|
-
|
|
548
|
-
|
|
716
|
+
"name": "detailed-coverage",
|
|
717
|
+
"summary": "Display detailed code coverage per test.",
|
|
718
|
+
"allowNo": false,
|
|
719
|
+
"type": "boolean"
|
|
549
720
|
}
|
|
550
721
|
},
|
|
551
|
-
"
|
|
552
|
-
"
|
|
553
|
-
|
|
554
|
-
"apex:tail:log": {
|
|
555
|
-
"id": "apex:tail:log",
|
|
556
|
-
"summary": "Activate debug logging and display logs in the terminal.",
|
|
557
|
-
"description": "You can also pipe the logs to a file.",
|
|
558
|
-
"strict": true,
|
|
559
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
722
|
+
"hasDynamicHelp": true,
|
|
723
|
+
"hiddenAliases": [],
|
|
724
|
+
"id": "apex:run:test",
|
|
560
725
|
"pluginAlias": "@salesforce/plugin-apex",
|
|
726
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
561
727
|
"pluginType": "core",
|
|
728
|
+
"strict": true,
|
|
729
|
+
"summary": "Invoke Apex tests in an org.",
|
|
730
|
+
"enableJsonFlag": true,
|
|
731
|
+
"SF_ENV": "SF_ENV",
|
|
732
|
+
"isESM": true,
|
|
733
|
+
"relativePath": [
|
|
734
|
+
"lib",
|
|
735
|
+
"commands",
|
|
736
|
+
"apex",
|
|
737
|
+
"run",
|
|
738
|
+
"test.js"
|
|
739
|
+
],
|
|
740
|
+
"aliasPermutations": [
|
|
741
|
+
"force:apex:test:run",
|
|
742
|
+
"apex:force:test:run",
|
|
743
|
+
"apex:test:force:run",
|
|
744
|
+
"apex:test:run:force",
|
|
745
|
+
"force:test:apex:run",
|
|
746
|
+
"test:force:apex:run",
|
|
747
|
+
"test:apex:force:run",
|
|
748
|
+
"test:apex:run:force",
|
|
749
|
+
"force:test:run:apex",
|
|
750
|
+
"test:force:run:apex",
|
|
751
|
+
"test:run:force:apex",
|
|
752
|
+
"test:run:apex:force",
|
|
753
|
+
"force:apex:run:test",
|
|
754
|
+
"apex:force:run:test",
|
|
755
|
+
"apex:run:force:test",
|
|
756
|
+
"apex:run:test:force",
|
|
757
|
+
"force:run:apex:test",
|
|
758
|
+
"run:force:apex:test",
|
|
759
|
+
"run:apex:force:test",
|
|
760
|
+
"run:apex:test:force",
|
|
761
|
+
"force:run:test:apex",
|
|
762
|
+
"run:force:test:apex",
|
|
763
|
+
"run:test:force:apex",
|
|
764
|
+
"run:test:apex:force"
|
|
765
|
+
],
|
|
766
|
+
"permutations": [
|
|
767
|
+
"apex:run:test",
|
|
768
|
+
"run:apex:test",
|
|
769
|
+
"run:test:apex",
|
|
770
|
+
"apex:test:run",
|
|
771
|
+
"test:apex:run",
|
|
772
|
+
"test:run:apex"
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
"apex:tail:log": {
|
|
562
776
|
"aliases": [
|
|
563
777
|
"force:apex:log:tail"
|
|
564
778
|
],
|
|
779
|
+
"args": {},
|
|
780
|
+
"deprecateAliases": true,
|
|
781
|
+
"description": "You can also pipe the logs to a file.",
|
|
565
782
|
"examples": [
|
|
566
783
|
"Activate debug logging:\n<%= config.bin %> <%= command.id %>",
|
|
567
784
|
"Specify a debug level:\n<%= config.bin %> <%= command.id %> --debug-level MyDebugLevel",
|
|
568
785
|
"Skip the trace flag setup and apply default colors:\n<%= config.bin %> <%= command.id %> --color --skip-trace-flag"
|
|
569
786
|
],
|
|
570
|
-
"deprecateAliases": true,
|
|
571
787
|
"flags": {
|
|
572
788
|
"json": {
|
|
573
|
-
"name": "json",
|
|
574
|
-
"type": "boolean",
|
|
575
789
|
"description": "Format output as json.",
|
|
576
790
|
"helpGroup": "GLOBAL",
|
|
791
|
+
"name": "json",
|
|
577
792
|
"allowNo": false,
|
|
578
|
-
"
|
|
793
|
+
"type": "boolean"
|
|
579
794
|
},
|
|
580
795
|
"target-org": {
|
|
581
|
-
"name": "target-org",
|
|
582
|
-
"type": "option",
|
|
583
|
-
"char": "o",
|
|
584
|
-
"summary": "Username or alias of the target org.",
|
|
585
|
-
"required": true,
|
|
586
|
-
"multiple": false,
|
|
587
|
-
"deprecateAliases": true,
|
|
588
796
|
"aliases": [
|
|
589
797
|
"targetusername",
|
|
590
798
|
"u"
|
|
591
|
-
]
|
|
799
|
+
],
|
|
800
|
+
"char": "o",
|
|
801
|
+
"deprecateAliases": true,
|
|
802
|
+
"name": "target-org",
|
|
803
|
+
"noCacheDefault": true,
|
|
804
|
+
"required": true,
|
|
805
|
+
"summary": "Username or alias of the target org.",
|
|
806
|
+
"hasDynamicHelp": true,
|
|
807
|
+
"multiple": false,
|
|
808
|
+
"type": "option"
|
|
592
809
|
},
|
|
593
810
|
"api-version": {
|
|
594
|
-
"name": "api-version",
|
|
595
|
-
"type": "option",
|
|
596
|
-
"description": "Override the api version used for api requests made by this command",
|
|
597
|
-
"multiple": false,
|
|
598
|
-
"deprecateAliases": true,
|
|
599
811
|
"aliases": [
|
|
600
812
|
"apiversion"
|
|
601
|
-
]
|
|
813
|
+
],
|
|
814
|
+
"deprecateAliases": true,
|
|
815
|
+
"description": "Override the api version used for api requests made by this command",
|
|
816
|
+
"name": "api-version",
|
|
817
|
+
"hasDynamicHelp": false,
|
|
818
|
+
"multiple": false,
|
|
819
|
+
"type": "option"
|
|
602
820
|
},
|
|
603
821
|
"loglevel": {
|
|
604
|
-
"name": "loglevel",
|
|
605
|
-
"type": "option",
|
|
606
|
-
"hidden": true,
|
|
607
|
-
"multiple": false,
|
|
608
822
|
"deprecated": {
|
|
609
823
|
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
610
824
|
},
|
|
611
|
-
"
|
|
825
|
+
"hidden": true,
|
|
826
|
+
"name": "loglevel",
|
|
827
|
+
"hasDynamicHelp": false,
|
|
828
|
+
"multiple": false,
|
|
829
|
+
"type": "option"
|
|
612
830
|
},
|
|
613
831
|
"color": {
|
|
614
|
-
"name": "color",
|
|
615
|
-
"type": "boolean",
|
|
616
832
|
"char": "c",
|
|
833
|
+
"name": "color",
|
|
617
834
|
"summary": "Apply default colors to noteworthy log lines.",
|
|
618
835
|
"allowNo": false,
|
|
619
|
-
"
|
|
836
|
+
"type": "boolean"
|
|
620
837
|
},
|
|
621
838
|
"debug-level": {
|
|
622
|
-
"
|
|
623
|
-
|
|
839
|
+
"aliases": [
|
|
840
|
+
"debuglevel"
|
|
841
|
+
],
|
|
624
842
|
"char": "d",
|
|
625
|
-
"
|
|
626
|
-
"multiple": false,
|
|
843
|
+
"deprecateAliases": true,
|
|
627
844
|
"exclusive": [
|
|
628
845
|
"skip-trace-flag"
|
|
629
846
|
],
|
|
630
|
-
"
|
|
631
|
-
"
|
|
632
|
-
|
|
633
|
-
|
|
847
|
+
"name": "debug-level",
|
|
848
|
+
"summary": "Debug level to set on the DEVELOPER_LOG trace flag for your user.",
|
|
849
|
+
"hasDynamicHelp": false,
|
|
850
|
+
"multiple": false,
|
|
851
|
+
"type": "option"
|
|
634
852
|
},
|
|
635
853
|
"skip-trace-flag": {
|
|
636
|
-
"
|
|
637
|
-
|
|
854
|
+
"aliases": [
|
|
855
|
+
"skiptraceflag"
|
|
856
|
+
],
|
|
638
857
|
"char": "s",
|
|
858
|
+
"deprecateAliases": true,
|
|
859
|
+
"name": "skip-trace-flag",
|
|
639
860
|
"summary": "Skip trace flag setup. Assumes that a trace flag and debug level are fully set up.",
|
|
640
861
|
"allowNo": false,
|
|
641
|
-
"
|
|
642
|
-
"aliases": [
|
|
643
|
-
"skiptraceflag"
|
|
644
|
-
]
|
|
862
|
+
"type": "boolean"
|
|
645
863
|
}
|
|
646
864
|
},
|
|
647
|
-
"
|
|
648
|
-
"
|
|
865
|
+
"hasDynamicHelp": true,
|
|
866
|
+
"hiddenAliases": [],
|
|
867
|
+
"id": "apex:tail:log",
|
|
868
|
+
"pluginAlias": "@salesforce/plugin-apex",
|
|
869
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
870
|
+
"pluginType": "core",
|
|
871
|
+
"strict": true,
|
|
872
|
+
"summary": "Activate debug logging and display logs in the terminal.",
|
|
873
|
+
"enableJsonFlag": true,
|
|
874
|
+
"SF_ENV": "SF_ENV",
|
|
875
|
+
"isESM": true,
|
|
876
|
+
"relativePath": [
|
|
877
|
+
"lib",
|
|
878
|
+
"commands",
|
|
879
|
+
"apex",
|
|
880
|
+
"tail",
|
|
881
|
+
"log.js"
|
|
882
|
+
],
|
|
883
|
+
"aliasPermutations": [
|
|
884
|
+
"force:apex:log:tail",
|
|
885
|
+
"apex:force:log:tail",
|
|
886
|
+
"apex:log:force:tail",
|
|
887
|
+
"apex:log:tail:force",
|
|
888
|
+
"force:log:apex:tail",
|
|
889
|
+
"log:force:apex:tail",
|
|
890
|
+
"log:apex:force:tail",
|
|
891
|
+
"log:apex:tail:force",
|
|
892
|
+
"force:log:tail:apex",
|
|
893
|
+
"log:force:tail:apex",
|
|
894
|
+
"log:tail:force:apex",
|
|
895
|
+
"log:tail:apex:force",
|
|
896
|
+
"force:apex:tail:log",
|
|
897
|
+
"apex:force:tail:log",
|
|
898
|
+
"apex:tail:force:log",
|
|
899
|
+
"apex:tail:log:force",
|
|
900
|
+
"force:tail:apex:log",
|
|
901
|
+
"tail:force:apex:log",
|
|
902
|
+
"tail:apex:force:log",
|
|
903
|
+
"tail:apex:log:force",
|
|
904
|
+
"force:tail:log:apex",
|
|
905
|
+
"tail:force:log:apex",
|
|
906
|
+
"tail:log:force:apex",
|
|
907
|
+
"tail:log:apex:force"
|
|
908
|
+
],
|
|
909
|
+
"permutations": [
|
|
910
|
+
"apex:tail:log",
|
|
911
|
+
"tail:apex:log",
|
|
912
|
+
"tail:log:apex",
|
|
913
|
+
"apex:log:tail",
|
|
914
|
+
"log:apex:tail",
|
|
915
|
+
"log:tail:apex"
|
|
916
|
+
]
|
|
649
917
|
}
|
|
650
|
-
}
|
|
918
|
+
},
|
|
919
|
+
"version": "3.0.1"
|
|
651
920
|
}
|