Skip to content

Commit f8ac8b5

Browse files
committed
chore(release): 3.0.1 [skip ci]
1 parent 9f53da2 commit f8ac8b5

File tree

3 files changed

+58
-56
lines changed

3 files changed

+58
-56
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## [3.0.1](https://github.com/salesforcecli/plugin-apex/compare/2.3.20...3.0.1) (2023-11-09)
2+
13
## [2.3.20](https://github.com/salesforcecli/plugin-apex/compare/2.3.19...2.3.20) (2023-10-17)
24

35
### Bug Fixes

README.md

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -87,20 +87,20 @@ Happy debugging!
8787

8888
<!-- commands -->
8989

90-
- [`sfdx apex:get:log`](#sfdx-apexgetlog)
91-
- [`sfdx apex:get:test`](#sfdx-apexgettest)
92-
- [`sfdx apex:list:log`](#sfdx-apexlistlog)
93-
- [`sfdx apex:run`](#sfdx-apexrun)
94-
- [`sfdx apex:run:test`](#sfdx-apexruntest)
95-
- [`sfdx apex:tail:log`](#sfdx-apextaillog)
90+
- [`sf apex get log`](#sf-apex-get-log)
91+
- [`sf apex get test`](#sf-apex-get-test)
92+
- [`sf apex list log`](#sf-apex-list-log)
93+
- [`sf apex run`](#sf-apex-run)
94+
- [`sf apex run test`](#sf-apex-run-test)
95+
- [`sf apex tail log`](#sf-apex-tail-log)
9696

97-
## `sfdx apex:get:log`
97+
## `sf apex get log`
9898

9999
Fetch the specified log or given number of most recent logs from the org.
100100

101101
```
102102
USAGE
103-
$ sfdx apex:get:log -o <value> [--json] [--api-version <value>] [-i <value>] [-n <value>] [-d <value>]
103+
$ sf apex get log -o <value> [--json] [--api-version <value>] [-i <value>] [-n <value>] [-d <value>]
104104
105105
FLAGS
106106
-d, --output-dir=<value> Directory for saving the log files.
@@ -115,28 +115,28 @@ GLOBAL FLAGS
115115
DESCRIPTION
116116
Fetch the specified log or given number of most recent logs from the org.
117117
118-
To get the IDs for your debug logs, run "sfdx apex log list". Executing this command without flags returns the most
118+
To get the IDs for your debug logs, run "sf apex log list". Executing this command without flags returns the most
119119
recent log.
120120
121121
ALIASES
122-
$ sfdx force:apex:log:get
122+
$ sf force apex log get
123123
124124
EXAMPLES
125125
Fetch the log in your default org using an ID:
126126
127-
$ sfdx apex:get:log --log-id <log id>
127+
$ sf apex get log --log-id <log id>
128128
129129
Fetch the log in the org with the specified username using an ID:
130130
131-
$ sfdx apex:get:log --log-id <log id> --target-org [email protected]
131+
$ sf apex get log --log-id <log id> --target-org [email protected]
132132
133133
Fetch the two most recent logs in your default org:
134134
135-
$ sfdx apex:get:log --number 2
135+
$ sf apex get log --number 2
136136
137137
Similar to previous example, but save the two log files in the specified directory:
138138
139-
$ sfdx apex:get:log --output-dir /Users/sfdxUser/logs --number 2
139+
$ sf apex get log --output-dir /Users/sfdxUser/logs --number 2
140140
141141
FLAG DESCRIPTIONS
142142
-d, --output-dir=<value> Directory for saving the log files.
@@ -145,15 +145,15 @@ FLAG DESCRIPTIONS
145145
directory.
146146
```
147147

148-
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.20/src/commands/apex/get/log.ts)_
148+
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.21/src/commands/apex/get/log.ts)_
149149

150-
## `sfdx apex:get:test`
150+
## `sf apex get test`
151151

152152
Display test results for a specific asynchronous test run.
153153

154154
```
155155
USAGE
156-
$ sfdx apex:get:test -o <value> -i <value> [--json] [--api-version <value>] [-c] [-d <value>] [-r
156+
$ sf apex get test -o <value> -i <value> [--json] [--api-version <value>] [-c] [-d <value>] [-r
157157
human|tap|junit|json]
158158
159159
FLAGS
@@ -172,40 +172,40 @@ DESCRIPTION
172172
Display test results for a specific asynchronous test run.
173173
174174
Provide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is
175-
displayed after running the "sfdx apex test run" command.
175+
displayed after running the "sf apex test run" command.
176176
177177
ALIASES
178-
$ sfdx force:apex:test:report
178+
$ sf force apex test report
179179
180180
EXAMPLES
181181
Display test results for your default org using a test run ID:
182182
183-
$ sfdx apex:get:test --test-run-id <test run id>
183+
$ sf apex get test --test-run-id <test run id>
184184
185185
Similar to previous example, but output the result in JUnit format:
186186
187-
$ sfdx apex:get:test --test-run-id <test run id> --result-format junit
187+
$ sf apex get test --test-run-id <test run id> --result-format junit
188188
189189
Also retrieve code coverage results and output in JSON format:
190190
191-
$ sfdx apex:get:test --test-run-id <test run id> --code-coverage --json
191+
$ sf apex get test --test-run-id <test run id> --code-coverage --json
192192
193193
Specify a directory in which to save the test results from the org with the specified username (rather than your
194194
default org):
195195
196-
$ sfdx apex:get:test --test-run-id <test run id> --code-coverage --output-dir <path to outputdir> --target-org \
196+
$ sf apex get test --test-run-id <test run id> --code-coverage --output-dir <path to outputdir> --target-org \
197197
me@myorg',
198198
```
199199

200-
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.20/src/commands/apex/get/test.ts)_
200+
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.21/src/commands/apex/get/test.ts)_
201201

202-
## `sfdx apex:list:log`
202+
## `sf apex list log`
203203

204204
Display a list of IDs and general information about debug logs.
205205

206206
```
207207
USAGE
208-
$ sfdx apex:list:log -o <value> [--json] [--api-version <value>]
208+
$ sf apex list log -o <value> [--json] [--api-version <value>]
209209
210210
FLAGS
211211
-o, --target-org=<value> (required) Username or alias of the target org.
@@ -219,31 +219,31 @@ DESCRIPTION
219219
220220
Run this command in a project to list the IDs and general information for all debug logs in your default org.
221221
222-
To fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx apex log get”
222+
To fetch a specific log from your org, obtain the ID from this command's output, then run the “sf apex log get”
223223
command.
224224
225225
ALIASES
226-
$ sfdx force:apex:log:list
226+
$ sf force apex log list
227227
228228
EXAMPLES
229229
List the IDs and information about the debug logs in your default org:
230230
231-
$ sfdx apex:list:log
231+
$ sf apex list log
232232
233233
Similar to previous example, but use the org with the specified username:
234234
235-
$ sfdx apex:list:log --target-org [email protected]
235+
$ sf apex list log --target-org [email protected]
236236
```
237237

238-
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.20/src/commands/apex/list/log.ts)_
238+
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.21/src/commands/apex/list/log.ts)_
239239

240-
## `sfdx apex:run`
240+
## `sf apex run`
241241

242242
Execute anonymous Apex code entered on the command line or from a local file.
243243

244244
```
245245
USAGE
246-
$ sfdx apex:run -o <value> [--json] [--api-version <value>] [-f <value>]
246+
$ sf apex run -o <value> [--json] [--api-version <value>] [-f <value>]
247247
248248
FLAGS
249249
-f, --file=<value> Path to a local file that contains Apex code.
@@ -263,32 +263,32 @@ DESCRIPTION
263263
For more information, see "Anonymous Blocks" in the Apex Developer Guide.
264264
265265
ALIASES
266-
$ sfdx force:apex:execute
266+
$ sf force apex execute
267267
268268
EXAMPLES
269269
Execute the Apex code that's in the ~/test.apex file in the org with the specified username:
270270
271-
$ sfdx apex:run --target-org [email protected] --file ~/test.apex
271+
$ sf apex run --target-org [email protected] --file ~/test.apex
272272
273273
Similar to previous example, but execute the code in your default org:
274274
275-
$ sfdx apex:run --file ~/test.apex
275+
$ sf apex run --file ~/test.apex
276276
277277
Run the command with no flags to start interactive mode; the code will execute in your default org when you exit. At
278278
the prompt, start type Apex code and press the Enter key after each line. Press CTRL+D when finished.
279279
280-
$ sfdx apex:run
280+
$ sf apex run
281281
```
282282

283-
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.20/src/commands/apex/run.ts)_
283+
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.21/src/commands/apex/run.ts)_
284284

285-
## `sfdx apex:run:test`
285+
## `sf apex run test`
286286

287287
Invoke Apex tests in an org.
288288

289289
```
290290
USAGE
291-
$ sfdx apex:run:test -o <value> [--json] [--api-version <value>] [-d <value>] [-l
291+
$ sf apex run test -o <value> [--json] [--api-version <value>] [-d <value>] [-l
292292
RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests] [-n <value> | -s <value> | -t <value>] [-r human|tap|junit|json]
293293
[-w <value>] [-y] [-v -c]
294294
@@ -326,37 +326,37 @@ DESCRIPTION
326326
327327
By default, Apex tests run asynchronously and immediately return a test run ID. You can use the --wait flag to specify
328328
the number of minutes to wait; if the tests finish in that timeframe, the command displays the results. If the tests
329-
haven't finished by the end of the wait time, the command displays a test run ID. Use the "sfdx apex get test
329+
haven't finished by the end of the wait time, the command displays a test run ID. Use the "sf apex get test
330330
--test-run-id" command to get the results.
331331
332332
NOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines
333333
from all the Apex classes evaluated by the tests in this run.
334334
335335
ALIASES
336-
$ sfdx force:apex:test:run
336+
$ sf force apex test run
337337
338338
EXAMPLES
339339
Run all Apex tests and suites in your default org:
340340
341-
$ sfdx apex:run:test
341+
$ sf apex run test
342342
343343
Run the specified Apex test classes in your default org and display results in human-readable form:
344344
345-
$ sfdx apex:run:test --class-names MyClassTest --class-names MyOtherClassTest --result-format human
345+
$ sf apex run test --class-names MyClassTest --class-names MyOtherClassTest --result-format human
346346
347347
Run the specified Apex test suites in your default org and include code coverage results and additional details:
348348
349-
$ sfdx apex:run:test --suite-names MySuite --suite-names MyOtherSuite --code-coverage --detailed-coverage
349+
$ sf apex run test --suite-names MySuite --suite-names MyOtherSuite --code-coverage --detailed-coverage
350350
351351
Run the specified Apex tests in your default org and display results in human-readable output:
352352
353-
$ sfdx apex:run:test --tests MyClassTest.testCoolFeature --tests MyClassTest.testAwesomeFeature --tests \
353+
$ sf apex run test --tests MyClassTest.testCoolFeature --tests MyClassTest.testAwesomeFeature --tests \
354354
AnotherClassTest --tests namespace.TheirClassTest.testThis --result-format human
355355
356356
Run all tests in the org with the specified username with the specified test level; save the output to the specified
357357
directory:
358358
359-
$ sfdx apex:run:test --test-level RunLocalTests --output-dir <path to outputdir> --target-org [email protected]
359+
$ sf apex run test --test-level RunLocalTests --output-dir <path to outputdir> --target-org [email protected]
360360
361361
FLAG DESCRIPTIONS
362362
-l, --test-level=RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests Level of tests to run; default is RunLocalTests.
@@ -386,15 +386,15 @@ FLAG DESCRIPTIONS
386386
--tests Test1 --tests Test2
387387
```
388388

389-
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.20/src/commands/apex/run/test.ts)_
389+
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.21/src/commands/apex/run/test.ts)_
390390

391-
## `sfdx apex:tail:log`
391+
## `sf apex tail log`
392392

393393
Activate debug logging and display logs in the terminal.
394394

395395
```
396396
USAGE
397-
$ sfdx apex:tail:log -o <value> [--json] [--api-version <value>] [-c] [-d <value> | -s]
397+
$ sf apex tail log -o <value> [--json] [--api-version <value>] [-c] [-d <value> | -s]
398398
399399
FLAGS
400400
-c, --color Apply default colors to noteworthy log lines.
@@ -412,22 +412,22 @@ DESCRIPTION
412412
You can also pipe the logs to a file.
413413
414414
ALIASES
415-
$ sfdx force:apex:log:tail
415+
$ sf force apex log tail
416416
417417
EXAMPLES
418418
Activate debug logging:
419419
420-
$ sfdx apex:tail:log
420+
$ sf apex tail log
421421
422422
Specify a debug level:
423423
424-
$ sfdx apex:tail:log --debug-level MyDebugLevel
424+
$ sf apex tail log --debug-level MyDebugLevel
425425
426426
Skip the trace flag setup and apply default colors:
427427
428-
$ sfdx apex:tail:log --color --skip-trace-flag
428+
$ sf apex tail log --color --skip-trace-flag
429429
```
430430

431-
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.20/src/commands/apex/tail/log.ts)_
431+
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/2.3.21/src/commands/apex/tail/log.ts)_
432432

433433
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-apex",
33
"description": "Apex commands",
4-
"version": "3.0.0",
4+
"version": "3.0.1",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)