@salesforce/plugin-apex 3.6.1 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -6
- package/messages/runtest.md +2 -0
- package/oclif.manifest.json +118 -118
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -148,7 +148,7 @@ FLAG DESCRIPTIONS
|
|
|
148
148
|
directory.
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
-
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
151
|
+
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.2/src/commands/apex/get/log.ts)_
|
|
152
152
|
|
|
153
153
|
## `sf apex get test`
|
|
154
154
|
|
|
@@ -208,7 +208,7 @@ EXAMPLES
|
|
|
208
208
|
me@myorg'
|
|
209
209
|
```
|
|
210
210
|
|
|
211
|
-
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
211
|
+
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.2/src/commands/apex/get/test.ts)_
|
|
212
212
|
|
|
213
213
|
## `sf apex list log`
|
|
214
214
|
|
|
@@ -248,7 +248,7 @@ EXAMPLES
|
|
|
248
248
|
$ sf apex list log --target-org me@my.org
|
|
249
249
|
```
|
|
250
250
|
|
|
251
|
-
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
251
|
+
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.2/src/commands/apex/list/log.ts)_
|
|
252
252
|
|
|
253
253
|
## `sf apex run`
|
|
254
254
|
|
|
@@ -295,7 +295,7 @@ EXAMPLES
|
|
|
295
295
|
$ sf apex run
|
|
296
296
|
```
|
|
297
297
|
|
|
298
|
-
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
298
|
+
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.2/src/commands/apex/run.ts)_
|
|
299
299
|
|
|
300
300
|
## `sf apex run test`
|
|
301
301
|
|
|
@@ -347,6 +347,9 @@ DESCRIPTION
|
|
|
347
347
|
haven't finished by the end of the wait time, the command displays a test run ID. Use the "sf apex get test
|
|
348
348
|
--test-run-id" command to get the results.
|
|
349
349
|
|
|
350
|
+
You must have the "View All Data" system permission to use this command. The permission is disabled by default and can
|
|
351
|
+
be enabled only by a system administrator.
|
|
352
|
+
|
|
350
353
|
NOTE: The testRunCoverage value (JSON and JUnit result formats) is a percentage of the covered lines and total lines
|
|
351
354
|
from all the Apex classes evaluated by the tests in this run.
|
|
352
355
|
|
|
@@ -435,7 +438,7 @@ FLAG DESCRIPTIONS
|
|
|
435
438
|
--tests Test1 --tests Test2
|
|
436
439
|
```
|
|
437
440
|
|
|
438
|
-
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
441
|
+
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.2/src/commands/apex/run/test.ts)_
|
|
439
442
|
|
|
440
443
|
## `sf apex tail log`
|
|
441
444
|
|
|
@@ -478,6 +481,6 @@ EXAMPLES
|
|
|
478
481
|
$ sf apex tail log --color --skip-trace-flag
|
|
479
482
|
```
|
|
480
483
|
|
|
481
|
-
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.
|
|
484
|
+
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.6.2/src/commands/apex/tail/log.ts)_
|
|
482
485
|
|
|
483
486
|
<!-- commandsstop -->
|
package/messages/runtest.md
CHANGED
|
@@ -10,6 +10,8 @@ To see code coverage results, use the --code-coverage flag with --result-format.
|
|
|
10
10
|
|
|
11
11
|
By 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.
|
|
12
12
|
|
|
13
|
+
You must have the "View All Data" system permission to use this command. The permission is disabled by default and can be enabled only by a system administrator.
|
|
14
|
+
|
|
13
15
|
NOTE: 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.
|
|
14
16
|
|
|
15
17
|
# examples
|
package/oclif.manifest.json
CHANGED
|
@@ -447,129 +447,13 @@
|
|
|
447
447
|
"test:get:apex"
|
|
448
448
|
]
|
|
449
449
|
},
|
|
450
|
-
"apex:list:log": {
|
|
451
|
-
"aliases": [
|
|
452
|
-
"force:apex:log:list"
|
|
453
|
-
],
|
|
454
|
-
"args": {},
|
|
455
|
-
"deprecateAliases": true,
|
|
456
|
-
"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.",
|
|
457
|
-
"examples": [
|
|
458
|
-
"List the IDs and information about the debug logs in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
459
|
-
"Similar to previous example, but use the org with the specified username:\n<%= config.bin %> <%= command.id %> --target-org me@my.org"
|
|
460
|
-
],
|
|
461
|
-
"flags": {
|
|
462
|
-
"json": {
|
|
463
|
-
"description": "Format output as json.",
|
|
464
|
-
"helpGroup": "GLOBAL",
|
|
465
|
-
"name": "json",
|
|
466
|
-
"allowNo": false,
|
|
467
|
-
"type": "boolean"
|
|
468
|
-
},
|
|
469
|
-
"flags-dir": {
|
|
470
|
-
"helpGroup": "GLOBAL",
|
|
471
|
-
"name": "flags-dir",
|
|
472
|
-
"summary": "Import flag values from a directory.",
|
|
473
|
-
"hasDynamicHelp": false,
|
|
474
|
-
"multiple": false,
|
|
475
|
-
"type": "option"
|
|
476
|
-
},
|
|
477
|
-
"target-org": {
|
|
478
|
-
"aliases": [
|
|
479
|
-
"targetusername",
|
|
480
|
-
"u"
|
|
481
|
-
],
|
|
482
|
-
"char": "o",
|
|
483
|
-
"deprecateAliases": true,
|
|
484
|
-
"name": "target-org",
|
|
485
|
-
"noCacheDefault": true,
|
|
486
|
-
"required": true,
|
|
487
|
-
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
488
|
-
"hasDynamicHelp": true,
|
|
489
|
-
"multiple": false,
|
|
490
|
-
"type": "option"
|
|
491
|
-
},
|
|
492
|
-
"api-version": {
|
|
493
|
-
"aliases": [
|
|
494
|
-
"apiversion"
|
|
495
|
-
],
|
|
496
|
-
"deprecateAliases": true,
|
|
497
|
-
"description": "Override the api version used for api requests made by this command",
|
|
498
|
-
"name": "api-version",
|
|
499
|
-
"hasDynamicHelp": false,
|
|
500
|
-
"multiple": false,
|
|
501
|
-
"type": "option"
|
|
502
|
-
},
|
|
503
|
-
"loglevel": {
|
|
504
|
-
"deprecated": {
|
|
505
|
-
"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."
|
|
506
|
-
},
|
|
507
|
-
"hidden": true,
|
|
508
|
-
"name": "loglevel",
|
|
509
|
-
"hasDynamicHelp": false,
|
|
510
|
-
"multiple": false,
|
|
511
|
-
"type": "option"
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
"hasDynamicHelp": true,
|
|
515
|
-
"hiddenAliases": [],
|
|
516
|
-
"id": "apex:list:log",
|
|
517
|
-
"pluginAlias": "@salesforce/plugin-apex",
|
|
518
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
519
|
-
"pluginType": "core",
|
|
520
|
-
"strict": true,
|
|
521
|
-
"summary": "Display a list of IDs and general information about debug logs.",
|
|
522
|
-
"enableJsonFlag": true,
|
|
523
|
-
"isESM": true,
|
|
524
|
-
"relativePath": [
|
|
525
|
-
"lib",
|
|
526
|
-
"commands",
|
|
527
|
-
"apex",
|
|
528
|
-
"list",
|
|
529
|
-
"log.js"
|
|
530
|
-
],
|
|
531
|
-
"aliasPermutations": [
|
|
532
|
-
"force:apex:log:list",
|
|
533
|
-
"apex:force:log:list",
|
|
534
|
-
"apex:log:force:list",
|
|
535
|
-
"apex:log:list:force",
|
|
536
|
-
"force:log:apex:list",
|
|
537
|
-
"log:force:apex:list",
|
|
538
|
-
"log:apex:force:list",
|
|
539
|
-
"log:apex:list:force",
|
|
540
|
-
"force:log:list:apex",
|
|
541
|
-
"log:force:list:apex",
|
|
542
|
-
"log:list:force:apex",
|
|
543
|
-
"log:list:apex:force",
|
|
544
|
-
"force:apex:list:log",
|
|
545
|
-
"apex:force:list:log",
|
|
546
|
-
"apex:list:force:log",
|
|
547
|
-
"apex:list:log:force",
|
|
548
|
-
"force:list:apex:log",
|
|
549
|
-
"list:force:apex:log",
|
|
550
|
-
"list:apex:force:log",
|
|
551
|
-
"list:apex:log:force",
|
|
552
|
-
"force:list:log:apex",
|
|
553
|
-
"list:force:log:apex",
|
|
554
|
-
"list:log:force:apex",
|
|
555
|
-
"list:log:apex:force"
|
|
556
|
-
],
|
|
557
|
-
"permutations": [
|
|
558
|
-
"apex:list:log",
|
|
559
|
-
"list:apex:log",
|
|
560
|
-
"list:log:apex",
|
|
561
|
-
"apex:log:list",
|
|
562
|
-
"log:apex:list",
|
|
563
|
-
"log:list:apex"
|
|
564
|
-
]
|
|
565
|
-
},
|
|
566
450
|
"apex:run:test": {
|
|
567
451
|
"aliases": [
|
|
568
452
|
"force:apex:test:run"
|
|
569
453
|
],
|
|
570
454
|
"args": {},
|
|
571
455
|
"deprecateAliases": true,
|
|
572
|
-
"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.",
|
|
456
|
+
"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\nYou must have the \"View All Data\" system permission to use this command. The permission is disabled by default and can be enabled only by a system administrator.\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.",
|
|
573
457
|
"examples": [
|
|
574
458
|
"Run all Apex tests and suites in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
575
459
|
"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",
|
|
@@ -834,6 +718,122 @@
|
|
|
834
718
|
"test:run:apex"
|
|
835
719
|
]
|
|
836
720
|
},
|
|
721
|
+
"apex:list:log": {
|
|
722
|
+
"aliases": [
|
|
723
|
+
"force:apex:log:list"
|
|
724
|
+
],
|
|
725
|
+
"args": {},
|
|
726
|
+
"deprecateAliases": true,
|
|
727
|
+
"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.",
|
|
728
|
+
"examples": [
|
|
729
|
+
"List the IDs and information about the debug logs in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
730
|
+
"Similar to previous example, but use the org with the specified username:\n<%= config.bin %> <%= command.id %> --target-org me@my.org"
|
|
731
|
+
],
|
|
732
|
+
"flags": {
|
|
733
|
+
"json": {
|
|
734
|
+
"description": "Format output as json.",
|
|
735
|
+
"helpGroup": "GLOBAL",
|
|
736
|
+
"name": "json",
|
|
737
|
+
"allowNo": false,
|
|
738
|
+
"type": "boolean"
|
|
739
|
+
},
|
|
740
|
+
"flags-dir": {
|
|
741
|
+
"helpGroup": "GLOBAL",
|
|
742
|
+
"name": "flags-dir",
|
|
743
|
+
"summary": "Import flag values from a directory.",
|
|
744
|
+
"hasDynamicHelp": false,
|
|
745
|
+
"multiple": false,
|
|
746
|
+
"type": "option"
|
|
747
|
+
},
|
|
748
|
+
"target-org": {
|
|
749
|
+
"aliases": [
|
|
750
|
+
"targetusername",
|
|
751
|
+
"u"
|
|
752
|
+
],
|
|
753
|
+
"char": "o",
|
|
754
|
+
"deprecateAliases": true,
|
|
755
|
+
"name": "target-org",
|
|
756
|
+
"noCacheDefault": true,
|
|
757
|
+
"required": true,
|
|
758
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
759
|
+
"hasDynamicHelp": true,
|
|
760
|
+
"multiple": false,
|
|
761
|
+
"type": "option"
|
|
762
|
+
},
|
|
763
|
+
"api-version": {
|
|
764
|
+
"aliases": [
|
|
765
|
+
"apiversion"
|
|
766
|
+
],
|
|
767
|
+
"deprecateAliases": true,
|
|
768
|
+
"description": "Override the api version used for api requests made by this command",
|
|
769
|
+
"name": "api-version",
|
|
770
|
+
"hasDynamicHelp": false,
|
|
771
|
+
"multiple": false,
|
|
772
|
+
"type": "option"
|
|
773
|
+
},
|
|
774
|
+
"loglevel": {
|
|
775
|
+
"deprecated": {
|
|
776
|
+
"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."
|
|
777
|
+
},
|
|
778
|
+
"hidden": true,
|
|
779
|
+
"name": "loglevel",
|
|
780
|
+
"hasDynamicHelp": false,
|
|
781
|
+
"multiple": false,
|
|
782
|
+
"type": "option"
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
"hasDynamicHelp": true,
|
|
786
|
+
"hiddenAliases": [],
|
|
787
|
+
"id": "apex:list:log",
|
|
788
|
+
"pluginAlias": "@salesforce/plugin-apex",
|
|
789
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
790
|
+
"pluginType": "core",
|
|
791
|
+
"strict": true,
|
|
792
|
+
"summary": "Display a list of IDs and general information about debug logs.",
|
|
793
|
+
"enableJsonFlag": true,
|
|
794
|
+
"isESM": true,
|
|
795
|
+
"relativePath": [
|
|
796
|
+
"lib",
|
|
797
|
+
"commands",
|
|
798
|
+
"apex",
|
|
799
|
+
"list",
|
|
800
|
+
"log.js"
|
|
801
|
+
],
|
|
802
|
+
"aliasPermutations": [
|
|
803
|
+
"force:apex:log:list",
|
|
804
|
+
"apex:force:log:list",
|
|
805
|
+
"apex:log:force:list",
|
|
806
|
+
"apex:log:list:force",
|
|
807
|
+
"force:log:apex:list",
|
|
808
|
+
"log:force:apex:list",
|
|
809
|
+
"log:apex:force:list",
|
|
810
|
+
"log:apex:list:force",
|
|
811
|
+
"force:log:list:apex",
|
|
812
|
+
"log:force:list:apex",
|
|
813
|
+
"log:list:force:apex",
|
|
814
|
+
"log:list:apex:force",
|
|
815
|
+
"force:apex:list:log",
|
|
816
|
+
"apex:force:list:log",
|
|
817
|
+
"apex:list:force:log",
|
|
818
|
+
"apex:list:log:force",
|
|
819
|
+
"force:list:apex:log",
|
|
820
|
+
"list:force:apex:log",
|
|
821
|
+
"list:apex:force:log",
|
|
822
|
+
"list:apex:log:force",
|
|
823
|
+
"force:list:log:apex",
|
|
824
|
+
"list:force:log:apex",
|
|
825
|
+
"list:log:force:apex",
|
|
826
|
+
"list:log:apex:force"
|
|
827
|
+
],
|
|
828
|
+
"permutations": [
|
|
829
|
+
"apex:list:log",
|
|
830
|
+
"list:apex:log",
|
|
831
|
+
"list:log:apex",
|
|
832
|
+
"apex:log:list",
|
|
833
|
+
"log:apex:list",
|
|
834
|
+
"log:list:apex"
|
|
835
|
+
]
|
|
836
|
+
},
|
|
837
837
|
"apex:tail:log": {
|
|
838
838
|
"aliases": [
|
|
839
839
|
"force:apex:log:tail"
|
|
@@ -978,5 +978,5 @@
|
|
|
978
978
|
]
|
|
979
979
|
}
|
|
980
980
|
},
|
|
981
|
-
"version": "3.6.
|
|
981
|
+
"version": "3.6.2"
|
|
982
982
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-apex",
|
|
3
3
|
"description": "Apex commands",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.2",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@oclif/core": "^4.0.31",
|
|
16
|
-
"@oclif/plugin-command-snapshot": "^5.2.
|
|
16
|
+
"@oclif/plugin-command-snapshot": "^5.2.21",
|
|
17
17
|
"@salesforce/cli-plugins-testkit": "^5.3.36",
|
|
18
18
|
"@salesforce/dev-scripts": "^10.2.10",
|
|
19
19
|
"@salesforce/plugin-command-reference": "^3.1.33",
|
|
20
20
|
"eslint-plugin-sf-plugin": "^1.20.11",
|
|
21
|
-
"oclif": "^4.15.
|
|
21
|
+
"oclif": "^4.15.21",
|
|
22
22
|
"ts-node": "^10.9.2",
|
|
23
23
|
"typescript": "^5.6.3"
|
|
24
24
|
},
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"exports": "./lib/index.js",
|
|
218
218
|
"type": "module",
|
|
219
219
|
"sfdx": {
|
|
220
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.6.
|
|
221
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.6.
|
|
220
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.6.2.crt",
|
|
221
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.6.2.sig"
|
|
222
222
|
}
|
|
223
223
|
}
|