bbsfdx
v1.4.2
Published
Bob Buzzard's SFDX Utilities Plugin
Downloads
48
Readme
bbsfdx
Bob Buzzard's SFDX Utilities Plugin
$ npm install -g bbsfdx
$ sfdx COMMAND
running command...
$ sfdx (-v|--version|version)
bbsfdx/1.4.2 darwin-x64 node-v12.18.0
$ sfdx --help [COMMAND]
USAGE
$ sfdx COMMAND
...
sfdx bb:devconsole:delete [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx bb:iprange:add [-r <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx bb:logs:delete [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx bb:maxapi [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx bb:test:parallel [-d] [-e] [-k] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
sfdx bb:devconsole:delete [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Delete developer console workspaces for the current user
USAGE
$ sfdx bb:devconsole:delete [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
--apiversion=apiversion override the api version used for
api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
this command invocation
EXAMPLE
$ sfdx bb:devconsole:delete --targetusername [email protected]
Deleting workspace records for user id XXXXXXXXXXXXXXXXX
Successfully deleted 1 workspace records
See code: lib/commands/bb/devconsole/delete.js
sfdx bb:iprange:add [-r <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Add to existing IP ranges
USAGE
$ sfdx bb:iprange:add [-r <array>] [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-r, --range=range the IP range(s) to add
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
--apiversion=apiversion override the api version used for
api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
this command invocation
EXAMPLE
$ sfdx bb:iprange:add --targetusername [email protected] --range 192.168.1.1:192.168.1.255,192.168.1.4
Not done yet - sleeping
Add IP range succeeded
See code: lib/commands/bb/iprange/add.js
sfdx bb:logs:delete [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Delete debug logs for the current user or all users
USAGE
$ sfdx bb:logs:delete [-a] [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-a, --all delete debug logs for all users
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
--apiversion=apiversion override the api version used for
api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
this command invocation
EXAMPLES
$ sfdx bm:log:delete --targetusername [email protected]
Deleting debug logs for user id XXXXXXXXXXXXXXXXX
Successfully deleted 1 debug log
$ sfdx bm:log:delete --targetusername [email protected] -a
Deleting debug logs for all users
Successfully deleted 3 debug logs
See code: lib/commands/bb/logs/delete.js
sfdx bb:maxapi [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Retrive the max api version of the org
USAGE
$ sfdx bb:maxapi [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
--apiversion=apiversion override the api version used for
api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
this command invocation
EXAMPLES
$ sfdx bb:maxapi --targetusername [email protected]
Max API version for org: 48.0
$ sfdx bb:maxapi --targetusername [email protected] --json
{
"status": 0,
"result": {
"success": true,
"maxApiVersion": "48.0"
}
}
See code: lib/commands/bb/maxapi.js
sfdx bb:test:parallel [-d] [-e] [-k] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
Disable or enable parallel test execution
USAGE
$ sfdx bb:test:parallel [-d] [-e] [-k] [-u <string>] [--apiversion <string>] [--json] [--loglevel
trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]
OPTIONS
-d, --disable Disable parallel test execution
-e, --enable Enable parallel test execution
-k, --keep Keep generated deployment files
(automatically applied on error)
-u, --targetusername=targetusername username or alias for the target
org; overrides default target org
--apiversion=apiversion override the api version used for
api requests made by this command
--json format output as json
--loglevel=(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL) [default: warn] logging level for
this command invocation
EXAMPLES
$ sfdx bb:test:parallel -d --targetusername [email protected]
Not done yet - sleeping
Disable parallel test execution succeeded
$ sfdx bb:test:parallel -e --targetusername [email protected] --json
{
"status": 0,
"result": {
"success": true,
"message": "Disable parallel test execution succeeded"
}
}
See code: lib/commands/bb/test/parallel.js