@salesforce/plugin-apex 3.0.4 → 3.0.5
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 +20 -23
- package/lib/commands/apex/tail/log.d.ts +1 -0
- package/lib/commands/apex/tail/log.js +3 -10
- package/lib/commands/apex/tail/log.js.map +1 -1
- package/oclif.lock +10 -10
- package/oclif.manifest.json +110 -117
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -103,11 +103,11 @@ USAGE
|
|
|
103
103
|
$ sf apex get log -o <value> [--json] [--api-version <value>] [-i <value>] [-n <value>] [-d <value>]
|
|
104
104
|
|
|
105
105
|
FLAGS
|
|
106
|
-
-d, --output-dir=<value>
|
|
107
|
-
-i, --log-id=<value>
|
|
108
|
-
-n, --number=<value>
|
|
109
|
-
-o, --target-org=<value>
|
|
110
|
-
|
|
106
|
+
-d, --output-dir=<value> Directory for saving the log files.
|
|
107
|
+
-i, --log-id=<value> ID of the specific log to display.
|
|
108
|
+
-n, --number=<value> Number of the most recent logs to display.
|
|
109
|
+
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
110
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
111
111
|
|
|
112
112
|
GLOBAL FLAGS
|
|
113
113
|
--json Format output as json.
|
|
@@ -145,7 +145,7 @@ FLAG DESCRIPTIONS
|
|
|
145
145
|
directory.
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.
|
|
148
|
+
_See code: [src/commands/apex/get/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.5/src/commands/apex/get/log.ts)_
|
|
149
149
|
|
|
150
150
|
## `sf apex get test`
|
|
151
151
|
|
|
@@ -163,7 +163,7 @@ FLAGS
|
|
|
163
163
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
164
164
|
-r, --result-format=<option> [default: human] Format of the results.
|
|
165
165
|
<options: human|tap|junit|json>
|
|
166
|
-
|
|
166
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
167
167
|
|
|
168
168
|
GLOBAL FLAGS
|
|
169
169
|
--json Format output as json.
|
|
@@ -197,7 +197,7 @@ EXAMPLES
|
|
|
197
197
|
me@myorg',
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.
|
|
200
|
+
_See code: [src/commands/apex/get/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.5/src/commands/apex/get/test.ts)_
|
|
201
201
|
|
|
202
202
|
## `sf apex list log`
|
|
203
203
|
|
|
@@ -208,8 +208,8 @@ USAGE
|
|
|
208
208
|
$ sf apex list log -o <value> [--json] [--api-version <value>]
|
|
209
209
|
|
|
210
210
|
FLAGS
|
|
211
|
-
-o, --target-org=<value>
|
|
212
|
-
|
|
211
|
+
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
212
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
213
213
|
|
|
214
214
|
GLOBAL FLAGS
|
|
215
215
|
--json Format output as json.
|
|
@@ -235,7 +235,7 @@ EXAMPLES
|
|
|
235
235
|
$ sf apex list log --target-org me@my.org
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.
|
|
238
|
+
_See code: [src/commands/apex/list/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.5/src/commands/apex/list/log.ts)_
|
|
239
239
|
|
|
240
240
|
## `sf apex run`
|
|
241
241
|
|
|
@@ -246,9 +246,9 @@ USAGE
|
|
|
246
246
|
$ sf apex run -o <value> [--json] [--api-version <value>] [-f <value>]
|
|
247
247
|
|
|
248
248
|
FLAGS
|
|
249
|
-
-f, --file=<value>
|
|
250
|
-
-o, --target-org=<value>
|
|
251
|
-
|
|
249
|
+
-f, --file=<value> Path to a local file that contains Apex code.
|
|
250
|
+
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
251
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
252
252
|
|
|
253
253
|
GLOBAL FLAGS
|
|
254
254
|
--json Format output as json.
|
|
@@ -280,7 +280,7 @@ EXAMPLES
|
|
|
280
280
|
$ sf apex run
|
|
281
281
|
```
|
|
282
282
|
|
|
283
|
-
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.
|
|
283
|
+
_See code: [src/commands/apex/run.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.5/src/commands/apex/run.ts)_
|
|
284
284
|
|
|
285
285
|
## `sf apex run test`
|
|
286
286
|
|
|
@@ -309,7 +309,7 @@ FLAGS
|
|
|
309
309
|
timeouts occur frequently.
|
|
310
310
|
-y, --synchronous Runs test methods from a single Apex class synchronously; if not specified, tests are
|
|
311
311
|
run asynchronously.
|
|
312
|
-
|
|
312
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
313
313
|
|
|
314
314
|
GLOBAL FLAGS
|
|
315
315
|
--json Format output as json.
|
|
@@ -386,7 +386,7 @@ FLAG DESCRIPTIONS
|
|
|
386
386
|
--tests Test1 --tests Test2
|
|
387
387
|
```
|
|
388
388
|
|
|
389
|
-
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.
|
|
389
|
+
_See code: [src/commands/apex/run/test.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.5/src/commands/apex/run/test.ts)_
|
|
390
390
|
|
|
391
391
|
## `sf apex tail log`
|
|
392
392
|
|
|
@@ -394,17 +394,14 @@ Activate debug logging and display logs in the terminal.
|
|
|
394
394
|
|
|
395
395
|
```
|
|
396
396
|
USAGE
|
|
397
|
-
$ sf apex tail log -o <value> [--
|
|
397
|
+
$ sf apex tail log -o <value> [--api-version <value>] [-c] [-d <value> | -s]
|
|
398
398
|
|
|
399
399
|
FLAGS
|
|
400
400
|
-c, --color Apply default colors to noteworthy log lines.
|
|
401
401
|
-d, --debug-level=<value> Debug level to set on the DEVELOPER_LOG trace flag for your user.
|
|
402
402
|
-o, --target-org=<value> (required) Username or alias of the target org.
|
|
403
403
|
-s, --skip-trace-flag Skip trace flag setup. Assumes that a trace flag and debug level are fully set up.
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
GLOBAL FLAGS
|
|
407
|
-
--json Format output as json.
|
|
404
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
408
405
|
|
|
409
406
|
DESCRIPTION
|
|
410
407
|
Activate debug logging and display logs in the terminal.
|
|
@@ -428,6 +425,6 @@ EXAMPLES
|
|
|
428
425
|
$ sf apex tail log --color --skip-trace-flag
|
|
429
426
|
```
|
|
430
427
|
|
|
431
|
-
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.
|
|
428
|
+
_See code: [src/commands/apex/tail/log.ts](https://github.com/salesforcecli/plugin-apex/blob/3.0.5/src/commands/apex/tail/log.ts)_
|
|
432
429
|
|
|
433
430
|
<!-- commandsstop -->
|
|
@@ -5,6 +5,7 @@ export default class Log extends SfCommand<void> {
|
|
|
5
5
|
static readonly examples: string[];
|
|
6
6
|
static readonly deprecateAliases = true;
|
|
7
7
|
static readonly aliases: string[];
|
|
8
|
+
static readonly enableJsonFlag = false;
|
|
8
9
|
static readonly flags: {
|
|
9
10
|
'target-org': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
10
11
|
'api-version': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
|
|
@@ -18,6 +18,7 @@ export default class Log extends SfCommand {
|
|
|
18
18
|
static examples = messages.getMessages('examples');
|
|
19
19
|
static deprecateAliases = true;
|
|
20
20
|
static aliases = ['force:apex:log:tail'];
|
|
21
|
+
static enableJsonFlag = false;
|
|
21
22
|
static flags = {
|
|
22
23
|
'target-org': requiredOrgFlagWithDeprecations,
|
|
23
24
|
'api-version': orgApiVersionFlagWithDeprecations,
|
|
@@ -55,16 +56,8 @@ export default class Log extends SfCommand {
|
|
|
55
56
|
}
|
|
56
57
|
async logTailer(fullLog) {
|
|
57
58
|
if (fullLog) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
status: process.exitCode,
|
|
61
|
-
result: fullLog,
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
else {
|
|
65
|
-
const output = this.color ? await colorizeLog(fullLog) : fullLog;
|
|
66
|
-
this.log(output);
|
|
67
|
-
}
|
|
59
|
+
const output = this.color ? await colorizeLog(fullLog) : fullLog;
|
|
60
|
+
this.log(output);
|
|
68
61
|
}
|
|
69
62
|
}
|
|
70
63
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../../../src/commands/apex/tail/log.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EACL,KAAK,EACL,SAAS,EACT,+BAA+B,EAC/B,iCAAiC,EACjC,QAAQ,GACT,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAc,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,QAAQ,CAAC,uBAAuB,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAC1E,MAAM,QAAQ,GAAG,QAAQ,CAAC,YAAY,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;AAE1E,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,SAAe;IACvC,MAAM,CAAU,OAAO,GA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,CAAC,gBAAgB,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC,CAAC;SAC/D;QAED,yGAAyG;QACzG,MAAM,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACtE,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACnD,CAAC;IAEM,KAAK,CAAC,SAAS,CAAC,OAAe;QACpC,IAAI,OAAO,EAAE;YACX,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;YACjE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;SAClB;IACH,CAAC;IAED;;;;;OAKG;IACH,kDAAkD;IAC1C,aAAa,CAAC,IAAgB;QACpC,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC"}
|
package/oclif.lock
CHANGED
|
@@ -768,10 +768,10 @@
|
|
|
768
768
|
wordwrap "^1.0.0"
|
|
769
769
|
wrap-ansi "^7.0.0"
|
|
770
770
|
|
|
771
|
-
"@oclif/core@^3.0.0", "@oclif/core@^3.0.4", "@oclif/core@^3.10.8", "@oclif/core@^3.3.1":
|
|
772
|
-
version "3.
|
|
773
|
-
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.
|
|
774
|
-
integrity sha512-
|
|
771
|
+
"@oclif/core@^3.0.0", "@oclif/core@^3.0.4", "@oclif/core@^3.10.8", "@oclif/core@^3.11.0", "@oclif/core@^3.3.1":
|
|
772
|
+
version "3.11.0"
|
|
773
|
+
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-3.11.0.tgz#dadfac39238af3b717e33b910dde1f1f0fd2105e"
|
|
774
|
+
integrity sha512-9A2LhDQATf1vrRqPoO0gGuBrey0jt3kDafC+eazxTNWV2EvlEpgY2587iyrxPK/fL2xg7f+0mtxYaSHdO2k8eg==
|
|
775
775
|
dependencies:
|
|
776
776
|
ansi-escapes "^4.3.2"
|
|
777
777
|
ansi-styles "^4.3.0"
|
|
@@ -961,15 +961,15 @@
|
|
|
961
961
|
istanbul-lib-report "^3.0.1"
|
|
962
962
|
istanbul-reports "^3.1.6"
|
|
963
963
|
|
|
964
|
-
"@salesforce/cli-plugins-testkit@^5.0.
|
|
965
|
-
version "5.0.
|
|
966
|
-
resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.0.
|
|
967
|
-
integrity sha512-
|
|
964
|
+
"@salesforce/cli-plugins-testkit@^5.0.3":
|
|
965
|
+
version "5.0.3"
|
|
966
|
+
resolved "https://registry.yarnpkg.com/@salesforce/cli-plugins-testkit/-/cli-plugins-testkit-5.0.3.tgz#c1b066d499f9d29f918a9337c37e0d01a9313631"
|
|
967
|
+
integrity sha512-fIW7xdyUNb8pPn8hUtIR2zsCD+dXTK7WC0OJG5m+XMM/LTLFTh31ygaKEACbdWlrpJSySfB2WOmOPMx5cRZsPQ==
|
|
968
968
|
dependencies:
|
|
969
969
|
"@salesforce/core" "^5.3.17"
|
|
970
970
|
"@salesforce/kit" "^3.0.15"
|
|
971
971
|
"@salesforce/ts-types" "^2.0.6"
|
|
972
|
-
"@types/shelljs" "^0.8.
|
|
972
|
+
"@types/shelljs" "^0.8.15"
|
|
973
973
|
debug "^4.3.1"
|
|
974
974
|
jszip "^3.10.1"
|
|
975
975
|
shelljs "^0.8.4"
|
|
@@ -1391,7 +1391,7 @@
|
|
|
1391
1391
|
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.5.tgz#deed5ab7019756c9c90ea86139106b0346223f35"
|
|
1392
1392
|
integrity sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg==
|
|
1393
1393
|
|
|
1394
|
-
"@types/shelljs@^0.8.
|
|
1394
|
+
"@types/shelljs@^0.8.15":
|
|
1395
1395
|
version "0.8.15"
|
|
1396
1396
|
resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.8.15.tgz#22c6ab9dfe05cec57d8e6cb1a95ea173aee9fcac"
|
|
1397
1397
|
integrity sha512-vzmnCHl6hViPu9GNLQJ+DZFd6BQI2DBTUeOvYHqkWQLMfKAAQYMb/xAmZkTogZI/vqXHCWkqDRymDI5p0QTi5Q==
|
package/oclif.manifest.json
CHANGED
|
@@ -411,115 +411,6 @@
|
|
|
411
411
|
"test:get:apex"
|
|
412
412
|
]
|
|
413
413
|
},
|
|
414
|
-
"apex:list:log": {
|
|
415
|
-
"aliases": [
|
|
416
|
-
"force:apex:log:list"
|
|
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.",
|
|
421
|
-
"examples": [
|
|
422
|
-
"List the IDs and information about the debug logs in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
423
|
-
"Similar to previous example, but use the org with the specified username:\n<%= config.bin %> <%= command.id %> --target-org me@my.org"
|
|
424
|
-
],
|
|
425
|
-
"flags": {
|
|
426
|
-
"json": {
|
|
427
|
-
"description": "Format output as json.",
|
|
428
|
-
"helpGroup": "GLOBAL",
|
|
429
|
-
"name": "json",
|
|
430
|
-
"allowNo": false,
|
|
431
|
-
"type": "boolean"
|
|
432
|
-
},
|
|
433
|
-
"target-org": {
|
|
434
|
-
"aliases": [
|
|
435
|
-
"targetusername",
|
|
436
|
-
"u"
|
|
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"
|
|
447
|
-
},
|
|
448
|
-
"api-version": {
|
|
449
|
-
"aliases": [
|
|
450
|
-
"apiversion"
|
|
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"
|
|
458
|
-
},
|
|
459
|
-
"loglevel": {
|
|
460
|
-
"deprecated": {
|
|
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."
|
|
462
|
-
},
|
|
463
|
-
"hidden": true,
|
|
464
|
-
"name": "loglevel",
|
|
465
|
-
"hasDynamicHelp": false,
|
|
466
|
-
"multiple": false,
|
|
467
|
-
"type": "option"
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
"hasDynamicHelp": true,
|
|
471
|
-
"hiddenAliases": [],
|
|
472
|
-
"id": "apex:list:log",
|
|
473
|
-
"pluginAlias": "@salesforce/plugin-apex",
|
|
474
|
-
"pluginName": "@salesforce/plugin-apex",
|
|
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
414
|
"apex:run:test": {
|
|
524
415
|
"aliases": [
|
|
525
416
|
"force:apex:test:run"
|
|
@@ -772,17 +663,16 @@
|
|
|
772
663
|
"test:run:apex"
|
|
773
664
|
]
|
|
774
665
|
},
|
|
775
|
-
"apex:
|
|
666
|
+
"apex:list:log": {
|
|
776
667
|
"aliases": [
|
|
777
|
-
"force:apex:log:
|
|
668
|
+
"force:apex:log:list"
|
|
778
669
|
],
|
|
779
670
|
"args": {},
|
|
780
671
|
"deprecateAliases": true,
|
|
781
|
-
"description": "
|
|
672
|
+
"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.",
|
|
782
673
|
"examples": [
|
|
783
|
-
"
|
|
784
|
-
"
|
|
785
|
-
"Skip the trace flag setup and apply default colors:\n<%= config.bin %> <%= command.id %> --color --skip-trace-flag"
|
|
674
|
+
"List the IDs and information about the debug logs in your default org:\n<%= config.bin %> <%= command.id %>",
|
|
675
|
+
"Similar to previous example, but use the org with the specified username:\n<%= config.bin %> <%= command.id %> --target-org me@my.org"
|
|
786
676
|
],
|
|
787
677
|
"flags": {
|
|
788
678
|
"json": {
|
|
@@ -792,6 +682,109 @@
|
|
|
792
682
|
"allowNo": false,
|
|
793
683
|
"type": "boolean"
|
|
794
684
|
},
|
|
685
|
+
"target-org": {
|
|
686
|
+
"aliases": [
|
|
687
|
+
"targetusername",
|
|
688
|
+
"u"
|
|
689
|
+
],
|
|
690
|
+
"char": "o",
|
|
691
|
+
"deprecateAliases": true,
|
|
692
|
+
"name": "target-org",
|
|
693
|
+
"noCacheDefault": true,
|
|
694
|
+
"required": true,
|
|
695
|
+
"summary": "Username or alias of the target org.",
|
|
696
|
+
"hasDynamicHelp": true,
|
|
697
|
+
"multiple": false,
|
|
698
|
+
"type": "option"
|
|
699
|
+
},
|
|
700
|
+
"api-version": {
|
|
701
|
+
"aliases": [
|
|
702
|
+
"apiversion"
|
|
703
|
+
],
|
|
704
|
+
"deprecateAliases": true,
|
|
705
|
+
"description": "Override the api version used for api requests made by this command",
|
|
706
|
+
"name": "api-version",
|
|
707
|
+
"hasDynamicHelp": false,
|
|
708
|
+
"multiple": false,
|
|
709
|
+
"type": "option"
|
|
710
|
+
},
|
|
711
|
+
"loglevel": {
|
|
712
|
+
"deprecated": {
|
|
713
|
+
"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."
|
|
714
|
+
},
|
|
715
|
+
"hidden": true,
|
|
716
|
+
"name": "loglevel",
|
|
717
|
+
"hasDynamicHelp": false,
|
|
718
|
+
"multiple": false,
|
|
719
|
+
"type": "option"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
"hasDynamicHelp": true,
|
|
723
|
+
"hiddenAliases": [],
|
|
724
|
+
"id": "apex:list:log",
|
|
725
|
+
"pluginAlias": "@salesforce/plugin-apex",
|
|
726
|
+
"pluginName": "@salesforce/plugin-apex",
|
|
727
|
+
"pluginType": "core",
|
|
728
|
+
"strict": true,
|
|
729
|
+
"summary": "Display a list of IDs and general information about debug logs.",
|
|
730
|
+
"enableJsonFlag": true,
|
|
731
|
+
"SF_ENV": "SF_ENV",
|
|
732
|
+
"isESM": true,
|
|
733
|
+
"relativePath": [
|
|
734
|
+
"lib",
|
|
735
|
+
"commands",
|
|
736
|
+
"apex",
|
|
737
|
+
"list",
|
|
738
|
+
"log.js"
|
|
739
|
+
],
|
|
740
|
+
"aliasPermutations": [
|
|
741
|
+
"force:apex:log:list",
|
|
742
|
+
"apex:force:log:list",
|
|
743
|
+
"apex:log:force:list",
|
|
744
|
+
"apex:log:list:force",
|
|
745
|
+
"force:log:apex:list",
|
|
746
|
+
"log:force:apex:list",
|
|
747
|
+
"log:apex:force:list",
|
|
748
|
+
"log:apex:list:force",
|
|
749
|
+
"force:log:list:apex",
|
|
750
|
+
"log:force:list:apex",
|
|
751
|
+
"log:list:force:apex",
|
|
752
|
+
"log:list:apex:force",
|
|
753
|
+
"force:apex:list:log",
|
|
754
|
+
"apex:force:list:log",
|
|
755
|
+
"apex:list:force:log",
|
|
756
|
+
"apex:list:log:force",
|
|
757
|
+
"force:list:apex:log",
|
|
758
|
+
"list:force:apex:log",
|
|
759
|
+
"list:apex:force:log",
|
|
760
|
+
"list:apex:log:force",
|
|
761
|
+
"force:list:log:apex",
|
|
762
|
+
"list:force:log:apex",
|
|
763
|
+
"list:log:force:apex",
|
|
764
|
+
"list:log:apex:force"
|
|
765
|
+
],
|
|
766
|
+
"permutations": [
|
|
767
|
+
"apex:list:log",
|
|
768
|
+
"list:apex:log",
|
|
769
|
+
"list:log:apex",
|
|
770
|
+
"apex:log:list",
|
|
771
|
+
"log:apex:list",
|
|
772
|
+
"log:list:apex"
|
|
773
|
+
]
|
|
774
|
+
},
|
|
775
|
+
"apex:tail:log": {
|
|
776
|
+
"aliases": [
|
|
777
|
+
"force:apex:log:tail"
|
|
778
|
+
],
|
|
779
|
+
"args": {},
|
|
780
|
+
"deprecateAliases": true,
|
|
781
|
+
"description": "You can also pipe the logs to a file.",
|
|
782
|
+
"examples": [
|
|
783
|
+
"Activate debug logging:\n<%= config.bin %> <%= command.id %>",
|
|
784
|
+
"Specify a debug level:\n<%= config.bin %> <%= command.id %> --debug-level MyDebugLevel",
|
|
785
|
+
"Skip the trace flag setup and apply default colors:\n<%= config.bin %> <%= command.id %> --color --skip-trace-flag"
|
|
786
|
+
],
|
|
787
|
+
"flags": {
|
|
795
788
|
"target-org": {
|
|
796
789
|
"aliases": [
|
|
797
790
|
"targetusername",
|
|
@@ -870,7 +863,7 @@
|
|
|
870
863
|
"pluginType": "core",
|
|
871
864
|
"strict": true,
|
|
872
865
|
"summary": "Activate debug logging and display logs in the terminal.",
|
|
873
|
-
"enableJsonFlag":
|
|
866
|
+
"enableJsonFlag": false,
|
|
874
867
|
"SF_ENV": "SF_ENV",
|
|
875
868
|
"isESM": true,
|
|
876
869
|
"relativePath": [
|
|
@@ -916,5 +909,5 @@
|
|
|
916
909
|
]
|
|
917
910
|
}
|
|
918
911
|
},
|
|
919
|
-
"version": "3.0.
|
|
912
|
+
"version": "3.0.5"
|
|
920
913
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-apex",
|
|
3
3
|
"description": "Apex commands",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.5",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "^3.
|
|
8
|
+
"@oclif/core": "^3.11.0",
|
|
9
9
|
"@salesforce/apex-node": "^2.1.2",
|
|
10
10
|
"@salesforce/core": "^5.3.20",
|
|
11
11
|
"@salesforce/sf-plugins-core": "^4.1.1",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@oclif/plugin-command-snapshot": "^5.0.2",
|
|
18
|
-
"@salesforce/cli-plugins-testkit": "^5.0.
|
|
18
|
+
"@salesforce/cli-plugins-testkit": "^5.0.3",
|
|
19
19
|
"@salesforce/dev-scripts": "^6.0.3",
|
|
20
20
|
"@salesforce/plugin-command-reference": "^3.0.46",
|
|
21
21
|
"@types/color-convert": "^2.0.3",
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
"exports": "./lib/index.js",
|
|
213
213
|
"type": "module",
|
|
214
214
|
"sfdx": {
|
|
215
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.0.
|
|
216
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.0.
|
|
215
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.0.5.crt",
|
|
216
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/3.0.5.sig"
|
|
217
217
|
}
|
|
218
218
|
}
|