-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial version of oa:apex:log:delete command
- Loading branch information
1 parent
65f7c30
commit a13d9e9
Showing
3 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,23 +22,23 @@ $ npm install -g osiecki-sfdx-plugins | |
$ sfdx COMMAND | ||
running command... | ||
$ sfdx (-v|--version|version) | ||
osiecki-sfdx-plugins/0.0.0 win32-x64 node-v10.16.3 | ||
osiecki-sfdx-plugins/0.1.0 win32-x64 node-v10.16.3 | ||
$ sfdx --help [COMMAND] | ||
USAGE | ||
$ sfdx COMMAND | ||
... | ||
``` | ||
<!-- usagestop --> | ||
<!-- commands --> | ||
* [`sfdx osiecki:apex:log:delete [-c] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-osieckiapexlogdelete--c--a--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) | ||
* [`sfdx oa:apex:log:delete [-c] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]`](#sfdx-oaapexlogdelete--c--a--u-string---apiversion-string---json---loglevel-tracedebuginfowarnerrorfataltracedebuginfowarnerrorfatal) | ||
|
||
## `sfdx osiecki:apex:log:delete [-c] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` | ||
## `sfdx oa:apex:log:delete [-c] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]` | ||
|
||
delete ApexLog entries from Your org | ||
|
||
``` | ||
USAGE | ||
$ sfdx osiecki:apex:log:delete [-c] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel | ||
$ sfdx oa:apex:log:delete [-c] [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel | ||
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] | ||
OPTIONS | ||
|
@@ -64,24 +64,24 @@ OPTIONS | |
EXAMPLES | ||
sfdx osiecki:apex:log:delete | ||
sfdx oa:apex:log:delete | ||
Number of ApexLog records to be deleted: 100 | ||
Delete job is started. Id of the job: 7501w000002WA2EAAW | ||
Processed records: 100 / 100 | ||
Job is finished, status of the job is: Completed | ||
Total processing time was 2154 ms | ||
All records were deleted sucessfully | ||
sfdx osiecki:apex:log:delete -c -u [email protected] | ||
sfdx oa:apex:log:delete -c -u [email protected] | ||
Number of ApexLog records to be deleted: 10 | ||
sfdx osiecki:apex:log:delete --async | ||
sfdx oa:apex:log:delete --async | ||
Number of ApexLog records to be deleted: 7 | ||
Delete job is started. Id of the job: 7501w000002WEuKAAW | ||
To poll status of the job, run command 'sfdx force:data:bulk:status -i 7501w000002WEsi' | ||
``` | ||
|
||
_See code: [lib\commands\osiecki\apex\log\delete.js](https://github.com/osieckiAdam/osiecki-sfdx-plugins/blob/v0.0.0/lib\commands\osiecki\apex\log\delete.js)_ | ||
_See code: [lib\commands\oa\apex\log\delete.js](https://github.com/osieckiAdam/osiecki-sfdx-plugins/blob/v0.1.0/lib\commands\oa\apex\log\delete.js)_ | ||
<!-- commandsstop --> | ||
<!-- debugging-your-plugin --> | ||
# Debugging your plugin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,18 +14,18 @@ export default class Delete extends SfdxCommand { | |
}; | ||
public static examples = [ | ||
` | ||
sfdx osiecki:apex:log:delete | ||
sfdx oa:apex:log:delete | ||
Number of ApexLog records to be deleted: 100 | ||
Delete job is started. Id of the job: 7501w000002WA2EAAW | ||
Processed records: 100 / 100 | ||
Job is finished, status of the job is: Completed | ||
Total processing time was 2154 ms | ||
All records were deleted sucessfully`, | ||
` | ||
sfdx osiecki:apex:log:delete -c -u [email protected] | ||
sfdx oa:apex:log:delete -c -u [email protected] | ||
Number of ApexLog records to be deleted: 10`, | ||
` | ||
sfdx osiecki:apex:log:delete --async | ||
sfdx oa:apex:log:delete --async | ||
Number of ApexLog records to be deleted: 7 | ||
Delete job is started. Id of the job: 7501w000002WEuKAAW | ||
To poll status of the job, run command 'sfdx force:data:bulk:status -i 7501w000002WEsi'` | ||
|