@salesforce/plugin-apex 1.0.0 → 1.1.0

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.
@@ -1 +1 @@
1
- {"version":"1.0.0","commands":{"force:apex:execute":{"id":"force:apex:execute","description":"executes anonymous Apex code\nExecutes one or more lines of anonymous Apex code entered on the command line, or executes the code in a local file.\nIf you don’t run this command from within a Salesforce DX project, —-targetusername is required.\nTo execute your code interactively, run this command with no parameters. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.\n\n","strict":true,"usage":"<%= command.id %> [-f <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:execute -u testusername@salesforce.org -f ~/test.apex","$ sfdx force:apex:execute -f ~/test.apex","$ sfdx force:apex:execute \nStart typing Apex code. Press the Enter key after each line, then press CTRL+D when finished."],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"apexcodefile":{"name":"apexcodefile","type":"option","char":"f","description":"path to a local file that contains Apex code","multiple":false}},"args":[],"longDescription":"Executes one or more lines of anonymous Apex code entered on the command line, or executes the code in a local file.\nIf you don’t run this command from within a Salesforce DX project, —-targetusername is required.\nTo execute your code interactively, run this command with no parameters. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.\n\n","requiresUsername":true,"flagsConfig":{"apexcodefile":{"kind":"filepath","char":"f","description":"path to a local file that contains Apex code","input":[],"multiple":false,"type":"option"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"logging level for this command invocation","longDescription":"The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false}}},"force:apex:log:get":{"id":"force:apex:log:get","description":"fetch debug logs\nFetches the specified log or given number of most recent logs from the scratch org. \nTo get the IDs for your debug logs, run \"sfdx force:apex:log:list\". \nUse the --logid parameter to return a specific log. \nUse the --number parameter to return the specified number of recent logs.\nUse the --outputdir parameter to specify the directory to store the logs in.\nExecuting this command without parameters returns the most recent log.","strict":true,"usage":"<%= command.id %> [-i <id>] [-n <number>] [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:get -i <log id>","$ sfdx force:apex:log:get -i <log id> -u me@my.org","$ sfdx force:apex:log:get -n 2 -c","$ sfdx force:apex:log:get -d Users/Desktop/logs -n 2"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"logid":{"name":"logid","type":"option","char":"i","description":"id of the log to display","multiple":false},"number":{"name":"number","type":"option","char":"n","description":"number of most recent logs to display","multiple":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory for saving the log files","multiple":false}},"args":[],"requiresUsername":true,"longDescription":"Fetches the specified log or given number of most recent logs from the scratch org. \nTo get the IDs for your debug logs, run \"sfdx force:apex:log:list\". \nUse the --logid parameter to return a specific log. \nUse the --number parameter to return the specified number of recent logs.\nUse the --outputdir parameter to specify the directory to store the logs in.\nExecuting this command without parameters returns the most recent log.","flagsConfig":{"json":{"kind":"boolean","description":"format output as JSON","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"logging level for this command invocation","longDescription":"The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"logid":{"kind":"id","char":"i","description":"id of the log to display","input":[],"multiple":false,"type":"option"},"number":{"kind":"number","char":"n","min":1,"max":25,"description":"number of most recent logs to display","input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"directory for saving the log files","longDescription":"The location can be an absolute path or relative to the current working directory. The default is the current directory.","input":[],"multiple":false,"type":"option"}}},"force:apex:log:list":{"id":"force:apex:log:list","description":"display a list of IDs and general information about debug logs\nRun this command in a project to list the IDs and general information for all debug logs in your default org.\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx force:apex:log:get” command.","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:list","$ sfdx force:apex:log:list -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true,"longDescription":"Run this command in a project to list the IDs and general information for all debug logs in your default org.\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx force:apex:log:get” command.","flagsConfig":{"json":{"kind":"boolean","description":"format output as JSON","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"logging level for this command invocation","longDescription":"The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false}}},"force:apex:log:tail":{"id":"force:apex:log:tail","description":"Follows active log\nActivates debug logging and displays logs in the terminal. You can also pipe the logs to a file.","strict":true,"usage":"<%= command.id %> [-c] [-d <string>] [-s] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:tail","$ sfdx force:apex:log:tail --debuglevel MyDebugLevel","$ sfdx force:apex:log:tail -c -s"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as JSON.","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"Logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"color":{"name":"color","type":"boolean","char":"c","description":"Applies default colors to noteworthy log lines.","allowNo":false},"debuglevel":{"name":"debuglevel","type":"option","char":"d","description":"Debug level to set on the DEVELOPER_LOG trace flag for your user.","multiple":false},"skiptraceflag":{"name":"skiptraceflag","type":"boolean","char":"s","description":"Skips trace flag setup. Assumes that a trace flag and debug level are fully set up.","allowNo":false}},"args":[],"requiresUsername":true,"longDescription":"Activates debug logging and displays logs in the terminal. You can also pipe the logs to a file.","flagsConfig":{"json":{"kind":"boolean","description":"Format output as JSON.","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"Logging level for this command invocation","longDescription":"The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"color":{"kind":"boolean","char":"c","description":"Applies default colors to noteworthy log lines.","allowNo":false,"type":"boolean"},"debuglevel":{"kind":"string","char":"d","description":"Debug level to set on the DEVELOPER_LOG trace flag for your user.","input":[],"multiple":false,"type":"option"},"skiptraceflag":{"kind":"boolean","char":"s","description":"Skips trace flag setup. Assumes that a trace flag and debug level are fully set up.","allowNo":false,"type":"boolean"}}},"force:apex:test:report":{"id":"force:apex:test:report","description":"display test results for a specific asynchronous test run\nProvide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sfdx force:apex:test:run\" command.","strict":true,"usage":"<%= command.id %> -i <string> [-c] [-d <string>] [-r human|tap|junit|json] [-w <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:report -i <test run id>","$ sfdx force:apex:test:report -i <test run id> -r junit","$ sfdx force:apex:test:report -i <test run id> -c --json","$ sfdx force:apex:test:report -i <test run id> -c -d <path to outputdir> -u me@myorg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"testrunid":{"name":"testrunid","type":"option","char":"i","description":"the ID of the test run","required":true,"multiple":false},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test result files","multiple":false},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","multiple":false,"options":["human","tap","junit","json"]},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false}},"args":[],"requiresUsername":true,"longDescription":"Provide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sfdx force:apex:test:run\" command.","flagsConfig":{"testrunid":{"kind":"string","char":"i","description":"the ID of the test run","required":true,"input":[],"multiple":false,"type":"option"},"json":{"kind":"boolean","description":"format output as JSON","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","longDescription":"Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"codecoverage":{"kind":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false,"type":"boolean"},"outputdir":{"kind":"string","char":"d","description":"directory to store test result files","input":[],"multiple":false,"type":"option"},"resultformat":{"kind":"enum","helpValue":"(human|tap|junit|json)","char":"r","description":"Permissible values are: human, tap, junit, json","options":["human","tap","junit","json"],"input":[],"multiple":false,"type":"option"},"wait":{"kind":"string","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently","input":[],"multiple":false,"type":"option"},"verbose":{"description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false}}},"force:apex:test:run":{"id":"force:apex:test:run","description":"invoke Apex tests\nSpecify which tests to run by using the --classnames, --suites, or --tests parameters. Alternatively, use the --testlevel parameter to run all the tests in your org, local tests, or specified tests.\nTo see code coverage results, use the --codecoverage parameter with --resultformat. 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 --detailedcoverage parameter to see detailed coverage results for each test method run.\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.","strict":true,"usage":"<%= command.id %> [-d <string>] [-l RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests] [-n <string>] [-r human|tap|junit|json] [-s <string>] [-t <string>] [-w <string>] [-y] [-v -c] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:run","$ sfdx force:apex:test:run -n \"MyClassTest,MyOtherClassTest\" -r human","$ sfdx force:apex:test:run -s \"MySuite,MyOtherSuite\" -c -v --json","$ sfdx force:apex:test:run -t \"MyClassTest.testCoolFeature,MyClassTest.testAwesomeFeature,AnotherClassTest,namespace.TheirClassTest.testThis\" -r human","$ sfdx force:apex:test:run -l RunLocalTests -d <path to outputdir> -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test run files","multiple":false},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"specifies which tests to run, using one of these TestLevel enum values:\nRunSpecifiedTests—Only the tests that you specify are run.\nRunLocalTests—All tests in your org are run, except the ones that originate from installed managed packages.\nRunAllTestsInOrg—All tests are in your org and in installed managed packages are run","helpValue":"(RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests)","multiple":false,"options":["RunLocalTests","RunAllTestsInOrg","RunSpecifiedTests"]},"classnames":{"name":"classnames","type":"option","char":"n","description":"comma-separated list of Apex test class names to run; if you select --classnames, you can't specify --suitenames or --tests","multiple":false},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","multiple":false,"options":["human","tap","junit","json"]},"suitenames":{"name":"suitenames","type":"option","char":"s","description":"comma-separated list of Apex test suite names to run; if you select --suitenames, you can't specify --classnames or --tests","multiple":false},"tests":{"name":"tests","type":"option","char":"t","description":"comma-separated list of Apex test class names or IDs and, if applicable, test methods to run; if you specify --tests, you can't specify --classnames or --suitenames","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently","multiple":false},"synchronous":{"name":"synchronous","type":"boolean","char":"y","description":"runs test methods from a single Apex class synchronously; if not specified, tests are run ansynchronously","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false},"detailedcoverage":{"name":"detailedcoverage","type":"boolean","char":"v","description":"display detailed code coverage per test","allowNo":false,"dependsOn":["codecoverage"]}},"args":[],"requiresUsername":true,"longDescription":"Specify which tests to run by using the --classnames, --suites, or --tests parameters. Alternatively, use the --testlevel parameter to run all the tests in your org, local tests, or specified tests.\nTo see code coverage results, use the --codecoverage parameter with --resultformat. 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 --detailedcoverage parameter to see detailed coverage results for each test method run.\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.","flagsConfig":{"json":{"kind":"boolean","description":"format output as JSON","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","longDescription":"Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"codecoverage":{"kind":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false,"type":"boolean"},"outputdir":{"kind":"string","char":"d","description":"directory to store test run files","input":[],"multiple":false,"type":"option"},"testlevel":{"kind":"enum","helpValue":"(RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests)","char":"l","description":"specifies which tests to run, using one of these TestLevel enum values:\nRunSpecifiedTests—Only the tests that you specify are run.\nRunLocalTests—All tests in your org are run, except the ones that originate from installed managed packages.\nRunAllTestsInOrg—All tests are in your org and in installed managed packages are run","options":["RunLocalTests","RunAllTestsInOrg","RunSpecifiedTests"],"input":[],"multiple":false,"type":"option"},"classnames":{"kind":"string","char":"n","description":"comma-separated list of Apex test class names to run; if you select --classnames, you can't specify --suitenames or --tests","input":[],"multiple":false,"type":"option"},"resultformat":{"kind":"enum","helpValue":"(human|tap|junit|json)","char":"r","description":"Permissible values are: human, tap, junit, json","options":["human","tap","junit","json"],"input":[],"multiple":false,"type":"option"},"suitenames":{"kind":"string","char":"s","description":"comma-separated list of Apex test suite names to run; if you select --suitenames, you can't specify --classnames or --tests","input":[],"multiple":false,"type":"option"},"tests":{"kind":"string","char":"t","description":"comma-separated list of Apex test class names or IDs and, if applicable, test methods to run; if you specify --tests, you can't specify --classnames or --suitenames","input":[],"multiple":false,"type":"option"},"wait":{"kind":"string","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently","input":[],"multiple":false,"type":"option"},"synchronous":{"kind":"boolean","char":"y","description":"runs test methods from a single Apex class synchronously; if not specified, tests are run ansynchronously","allowNo":false,"type":"boolean"},"verbose":{"description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false},"detailedcoverage":{"kind":"boolean","char":"v","description":"display detailed code coverage per test","dependsOn":["codecoverage"],"allowNo":false,"type":"boolean"}}}}}
1
+ {"version":"1.1.0","commands":{"force:apex:execute":{"id":"force:apex:execute","description":"executes anonymous Apex code\nExecutes one or more lines of anonymous Apex code entered on the command line, or executes the code in a local file.\nIf you don’t run this command from within a Salesforce DX project, —-targetusername is required.\nTo execute your code interactively, run this command with no parameters. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.\n\n","strict":true,"usage":"<%= command.id %> [-f <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:execute -u testusername@salesforce.org -f ~/test.apex","$ sfdx force:apex:execute -f ~/test.apex","$ sfdx force:apex:execute \nStart typing Apex code. Press the Enter key after each line, then press CTRL+D when finished."],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"apexcodefile":{"name":"apexcodefile","type":"option","char":"f","description":"path to a local file that contains Apex code","multiple":false}},"args":[],"longDescription":"Executes one or more lines of anonymous Apex code entered on the command line, or executes the code in a local file.\nIf you don’t run this command from within a Salesforce DX project, —-targetusername is required.\nTo execute your code interactively, run this command with no parameters. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.\n\n","requiresUsername":true,"flagsConfig":{"apexcodefile":{"kind":"filepath","char":"f","description":"path to a local file that contains Apex code","input":[],"multiple":false,"type":"option"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"logging level for this command invocation","longDescription":"The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false}}},"force:apex:log:get":{"id":"force:apex:log:get","description":"fetch debug logs\nFetches the specified log or given number of most recent logs from the scratch org. \nTo get the IDs for your debug logs, run \"sfdx force:apex:log:list\". \nUse the --logid parameter to return a specific log. \nUse the --number parameter to return the specified number of recent logs.\nUse the --outputdir parameter to specify the directory to store the logs in.\nExecuting this command without parameters returns the most recent log.","strict":true,"usage":"<%= command.id %> [-i <id>] [-n <number>] [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:get -i <log id>","$ sfdx force:apex:log:get -i <log id> -u me@my.org","$ sfdx force:apex:log:get -n 2 -c","$ sfdx force:apex:log:get -d Users/Desktop/logs -n 2"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"logid":{"name":"logid","type":"option","char":"i","description":"id of the log to display","multiple":false},"number":{"name":"number","type":"option","char":"n","description":"number of most recent logs to display","multiple":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory for saving the log files","multiple":false}},"args":[],"requiresUsername":true,"longDescription":"Fetches the specified log or given number of most recent logs from the scratch org. \nTo get the IDs for your debug logs, run \"sfdx force:apex:log:list\". \nUse the --logid parameter to return a specific log. \nUse the --number parameter to return the specified number of recent logs.\nUse the --outputdir parameter to specify the directory to store the logs in.\nExecuting this command without parameters returns the most recent log.","flagsConfig":{"json":{"kind":"boolean","description":"format output as JSON","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"logging level for this command invocation","longDescription":"The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"logid":{"kind":"id","char":"i","description":"id of the log to display","input":[],"multiple":false,"type":"option"},"number":{"kind":"number","char":"n","min":1,"max":25,"description":"number of most recent logs to display","input":[],"multiple":false,"type":"option"},"outputdir":{"kind":"string","char":"d","description":"directory for saving the log files","longDescription":"The location can be an absolute path or relative to the current working directory. The default is the current directory.","input":[],"multiple":false,"type":"option"}}},"force:apex:log:list":{"id":"force:apex:log:list","description":"display a list of IDs and general information about debug logs\nRun this command in a project to list the IDs and general information for all debug logs in your default org.\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx force:apex:log:get” command.","strict":true,"usage":"<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:list","$ sfdx force:apex:log:list -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false}},"args":[],"requiresUsername":true,"longDescription":"Run this command in a project to list the IDs and general information for all debug logs in your default org.\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx force:apex:log:get” command.","flagsConfig":{"json":{"kind":"boolean","description":"format output as JSON","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"logging level for this command invocation","longDescription":"The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false}}},"force:apex:log:tail":{"id":"force:apex:log:tail","description":"Follows active log\nActivates debug logging and displays logs in the terminal. You can also pipe the logs to a file.","strict":true,"usage":"<%= command.id %> [-c] [-d <string>] [-s] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:log:tail","$ sfdx force:apex:log:tail --debuglevel MyDebugLevel","$ sfdx force:apex:log:tail -c -s"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as JSON.","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"Logging level for this command invocation","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"color":{"name":"color","type":"boolean","char":"c","description":"Applies default colors to noteworthy log lines.","allowNo":false},"debuglevel":{"name":"debuglevel","type":"option","char":"d","description":"Debug level to set on the DEVELOPER_LOG trace flag for your user.","multiple":false},"skiptraceflag":{"name":"skiptraceflag","type":"boolean","char":"s","description":"Skips trace flag setup. Assumes that a trace flag and debug level are fully set up.","allowNo":false}},"args":[],"requiresUsername":true,"longDescription":"Activates debug logging and displays logs in the terminal. You can also pipe the logs to a file.","flagsConfig":{"json":{"kind":"boolean","description":"Format output as JSON.","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"Logging level for this command invocation","longDescription":"The logging level for this command invocation. Logs are stored in $HOME/.sfdx/sfdx.log.","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"color":{"kind":"boolean","char":"c","description":"Applies default colors to noteworthy log lines.","allowNo":false,"type":"boolean"},"debuglevel":{"kind":"string","char":"d","description":"Debug level to set on the DEVELOPER_LOG trace flag for your user.","input":[],"multiple":false,"type":"option"},"skiptraceflag":{"kind":"boolean","char":"s","description":"Skips trace flag setup. Assumes that a trace flag and debug level are fully set up.","allowNo":false,"type":"boolean"}}},"force:apex:test:report":{"id":"force:apex:test:report","description":"display test results for a specific asynchronous test run\nProvide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sfdx force:apex:test:run\" command.","strict":true,"usage":"<%= command.id %> -i <string> [-c] [-d <string>] [-r human|tap|junit|json] [-w <string>] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:report -i <test run id>","$ sfdx force:apex:test:report -i <test run id> -r junit","$ sfdx force:apex:test:report -i <test run id> -c --json","$ sfdx force:apex:test:report -i <test run id> -c -d <path to outputdir> -u me@myorg"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"testrunid":{"name":"testrunid","type":"option","char":"i","description":"the ID of the test run","required":true,"multiple":false},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test result files","multiple":false},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","multiple":false,"options":["human","tap","junit","json"]},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently","multiple":false},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false}},"args":[],"requiresUsername":true,"longDescription":"Provide a test run ID to display test results for an enqueued or completed asynchronous test run. The test run ID is displayed after running the \"sfdx force:apex:test:run\" command.","flagsConfig":{"testrunid":{"kind":"string","char":"i","description":"the ID of the test run","required":true,"input":[],"multiple":false,"type":"option"},"json":{"kind":"boolean","description":"format output as JSON","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","longDescription":"Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"codecoverage":{"kind":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false,"type":"boolean"},"outputdir":{"kind":"string","char":"d","description":"directory to store test result files","input":[],"multiple":false,"type":"option"},"resultformat":{"kind":"enum","helpValue":"(human|tap|junit|json)","char":"r","description":"Permissible values are: human, tap, junit, json","options":["human","tap","junit","json"],"input":[],"multiple":false,"type":"option"},"wait":{"kind":"string","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently","input":[],"multiple":false,"type":"option"},"verbose":{"description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false}}},"force:apex:test:run":{"id":"force:apex:test:run","description":"invoke Apex tests\nSpecify which tests to run by using the --classnames, --suites, or --tests parameters. Alternatively, use the --testlevel parameter to run all the tests in your org, local tests, or specified tests.\nTo see code coverage results, use the --codecoverage parameter with --resultformat. 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 --detailedcoverage parameter to see detailed coverage results for each test method run.\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.","strict":true,"usage":"<%= command.id %> [-d <string>] [-l RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests] [-n <string>] [-r human|tap|junit|json] [-s <string>] [-t <string>] [-w <string>] [-y] [-v -c] [-u <string>] [--apiversion <string>] [--verbose] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@salesforce/plugin-apex","pluginAlias":"@salesforce/plugin-apex","pluginType":"core","aliases":[],"examples":["$ sfdx force:apex:test:run","$ sfdx force:apex:test:run -n \"MyClassTest,MyOtherClassTest\" -r human","$ sfdx force:apex:test:run -s \"MySuite,MyOtherSuite\" -c -v --json","$ sfdx force:apex:test:run -t \"MyClassTest.testCoolFeature,MyClassTest.testAwesomeFeature,AnotherClassTest,namespace.TheirClassTest.testThis\" -r human","$ sfdx force:apex:test:run -l RunLocalTests -d <path to outputdir> -u me@my.org"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as JSON","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org","multiple":false},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command","multiple":false},"codecoverage":{"name":"codecoverage","type":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory to store test run files","multiple":false},"testlevel":{"name":"testlevel","type":"option","char":"l","description":"specifies which tests to run, using one of these TestLevel enum values:\nRunSpecifiedTests—Only the tests that you specify are run.\nRunLocalTests—All tests in your org are run, except the ones that originate from installed managed packages.\nRunAllTestsInOrg—All tests are in your org and in installed managed packages are run","helpValue":"(RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests)","multiple":false,"options":["RunLocalTests","RunAllTestsInOrg","RunSpecifiedTests"]},"classnames":{"name":"classnames","type":"option","char":"n","description":"comma-separated list of Apex test class names to run; if you select --classnames, you can't specify --suitenames or --tests","multiple":false},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","multiple":false,"options":["human","tap","junit","json"]},"suitenames":{"name":"suitenames","type":"option","char":"s","description":"comma-separated list of Apex test suite names to run; if you select --suitenames, you can't specify --classnames or --tests","multiple":false},"tests":{"name":"tests","type":"option","char":"t","description":"comma-separated list of Apex test class names or IDs and, if applicable, test methods to run; if you specify --tests, you can't specify --classnames or --suitenames","multiple":false},"wait":{"name":"wait","type":"option","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently","multiple":false},"synchronous":{"name":"synchronous","type":"boolean","char":"y","description":"runs test methods from a single Apex class synchronously; if not specified, tests are run ansynchronously","allowNo":false},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false},"detailedcoverage":{"name":"detailedcoverage","type":"boolean","char":"v","description":"display detailed code coverage per test","allowNo":false,"dependsOn":["codecoverage"]}},"args":[],"requiresUsername":true,"longDescription":"Specify which tests to run by using the --classnames, --suites, or --tests parameters. Alternatively, use the --testlevel parameter to run all the tests in your org, local tests, or specified tests.\nTo see code coverage results, use the --codecoverage parameter with --resultformat. 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 --detailedcoverage parameter to see detailed coverage results for each test method run.\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.","flagsConfig":{"json":{"kind":"boolean","description":"format output as JSON","allowNo":false,"type":"boolean"},"loglevel":{"kind":"enum","helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","description":"[default: warn] logging level for this command invocation; logs are stored in $HOME/.sfdx/sfdx.log","longDescription":"Permissible values are: trace, debug, info, warn, error, fatal, TRACE, DEBUG, INFO, WARN, ERROR, FATAL","default":"warn","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"input":[],"multiple":false,"type":"option"},"apiversion":{"type":"option","kind":"string","description":"override the api version used for api requests made by this command","longDescription":"Override the API version used for API requests made by this command.","input":[],"multiple":false},"codecoverage":{"kind":"boolean","char":"c","description":"retrieves code coverage results","allowNo":false,"type":"boolean"},"outputdir":{"kind":"string","char":"d","description":"directory to store test run files","input":[],"multiple":false,"type":"option"},"testlevel":{"kind":"enum","helpValue":"(RunLocalTests|RunAllTestsInOrg|RunSpecifiedTests)","char":"l","description":"specifies which tests to run, using one of these TestLevel enum values:\nRunSpecifiedTests—Only the tests that you specify are run.\nRunLocalTests—All tests in your org are run, except the ones that originate from installed managed packages.\nRunAllTestsInOrg—All tests are in your org and in installed managed packages are run","options":["RunLocalTests","RunAllTestsInOrg","RunSpecifiedTests"],"input":[],"multiple":false,"type":"option"},"classnames":{"kind":"string","char":"n","description":"comma-separated list of Apex test class names to run; if you select --classnames, you can't specify --suitenames or --tests","input":[],"multiple":false,"type":"option"},"resultformat":{"kind":"enum","helpValue":"(human|tap|junit|json)","char":"r","description":"Permissible values are: human, tap, junit, json","options":["human","tap","junit","json"],"input":[],"multiple":false,"type":"option"},"suitenames":{"kind":"string","char":"s","description":"comma-separated list of Apex test suite names to run; if you select --suitenames, you can't specify --classnames or --tests","input":[],"multiple":false,"type":"option"},"tests":{"kind":"string","char":"t","description":"comma-separated list of Apex test class names or IDs and, if applicable, test methods to run; if you specify --tests, you can't specify --classnames or --suitenames","input":[],"multiple":false,"type":"option"},"wait":{"kind":"string","char":"w","description":"sets the streaming client socket timeout in minutes; specify a longer wait time if timeouts occur frequently","input":[],"multiple":false,"type":"option"},"synchronous":{"kind":"boolean","char":"y","description":"runs test methods from a single Apex class synchronously; if not specified, tests are run ansynchronously","allowNo":false,"type":"boolean"},"verbose":{"description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","type":"boolean","kind":"boolean","longDescription":"Emit additional command output to stdout.","allowNo":false},"detailedcoverage":{"kind":"boolean","char":"v","description":"display detailed code coverage per test","dependsOn":["codecoverage"],"allowNo":false,"type":"boolean"}}}}}
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-apex",
3
3
  "description": "Apex commands",
4
- "version": "1.0.0",
4
+ "version": "1.1.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/salesforcedx-apex/issues",
7
7
  "main": "lib/index.js",
8
8
  "dependencies": {
9
9
  "@oclif/core": "^1.5.2",
10
- "@salesforce/apex-node": "1.0.0",
11
- "@salesforce/command": "5.1.0",
12
- "@salesforce/core": "^3.13.0",
10
+ "@salesforce/apex-node": "1.1.0",
11
+ "@salesforce/command": "^5.1.0",
12
+ "@salesforce/core": "^3.23.3",
13
13
  "chalk": "^4.1.0",
14
14
  "tslib": "^1"
15
15
  },
@@ -117,6 +117,6 @@
117
117
  },
118
118
  "sfdx": {
119
119
  "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/sfdx-cli-03032020.crt",
120
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-1.0.0.sig"
120
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-1.1.0.sig"
121
121
  }
122
122
  }
package/yarn.lock CHANGED
@@ -543,7 +543,7 @@
543
543
  dependencies:
544
544
  fancy-test "^1.4.10"
545
545
 
546
- "@oclif/test@^2", "@oclif/test@^2.1.0":
546
+ "@oclif/test@^2":
547
547
  version "2.1.0"
548
548
  resolved "https://registry.yarnpkg.com/@oclif/test/-/test-2.1.0.tgz#e5a0ba619c890770782e48c82d18f5921e2d2b9f"
549
549
  integrity sha512-o+JTv3k28aMUxywJUlJY1/DORLqumoZFRII492phOmtXM16rD6Luy3z1qinT4BvEtPj2BzOPd2whr/VdYszaYw==
@@ -664,19 +664,6 @@
664
664
  mv "~2"
665
665
  safe-json-stringify "~1"
666
666
 
667
- "@salesforce/command@5.1.0":
668
- version "5.1.0"
669
- resolved "https://registry.yarnpkg.com/@salesforce/command/-/command-5.1.0.tgz#01db9e353a894f46920709f9465b3939d17f0a1c"
670
- integrity sha512-W19ee7SVRuFdxQL1G8SxRjfY5YXdKPMwlEcS5yr6zj61Ahx/tYNEy5TmneYoVk/JmZbAewlnMtxHrAZw3I7Kjw==
671
- dependencies:
672
- "@oclif/core" "^1.7.0"
673
- "@oclif/plugin-help" "^5.1.11"
674
- "@oclif/test" "^2.1.0"
675
- "@salesforce/core" "^3.15.3"
676
- "@salesforce/kit" "^1.5.34"
677
- "@salesforce/ts-types" "^1.5.20"
678
- chalk "^2.4.2"
679
-
680
667
  "@salesforce/command@^4.2.2":
681
668
  version "4.2.2"
682
669
  resolved "https://registry.yarnpkg.com/@salesforce/command/-/command-4.2.2.tgz#2d1c301d771a6a6aac3cf25f14f18e829bf37b1d"
@@ -693,6 +680,18 @@
693
680
  chalk "^2.4.2"
694
681
  cli-ux "^4.9.3"
695
682
 
683
+ "@salesforce/command@^5.1.0":
684
+ version "5.2.1"
685
+ resolved "https://registry.yarnpkg.com/@salesforce/command/-/command-5.2.1.tgz#b102003252ba89c9894ab93b5d23946dbea88784"
686
+ integrity sha512-78JWHof7N/bH6hFKj6hQOucnk+YfH9E+9Zcm23ykmk4LPig4q4dkqgTEC563KSjCTZ3wtd7rUqEhy3HOK7sH2g==
687
+ dependencies:
688
+ "@oclif/core" "^1.7.0"
689
+ "@oclif/plugin-help" "^5.1.11"
690
+ "@salesforce/core" "^3.20.1"
691
+ "@salesforce/kit" "^1.5.34"
692
+ "@salesforce/ts-types" "^1.5.20"
693
+ chalk "^2.4.2"
694
+
696
695
  "@salesforce/core@^2.35.0", "@salesforce/core@^2.36.4":
697
696
  version "2.37.1"
698
697
  resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.37.1.tgz#bfb6634e068278c7761d694a15e09a680b407137"
@@ -717,13 +716,13 @@
717
716
  semver "^7.3.5"
718
717
  ts-retry-promise "^0.6.0"
719
718
 
720
- "@salesforce/core@^3.13.0", "@salesforce/core@^3.15.3":
721
- version "3.18.2"
722
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-3.18.2.tgz#2e11dce0ecdc3028e6f8e69f673d6ee293ba2e9e"
723
- integrity sha512-dbNZYHWLgV5ejP6F0dnQk2DPO3W3Q1deta/1S2N1bvJzb925lUxJdI4klKw/K2YwPbiUulhJE8phMkSGWR41NQ==
719
+ "@salesforce/core@^3.20.1", "@salesforce/core@^3.23.3":
720
+ version "3.23.4"
721
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-3.23.4.tgz#89c348c5573f30dd3d23a266de928464f534c7bc"
722
+ integrity sha512-gJB2NbWjxcN0SqOy3GLyzwUytYR1bmXZvUi7r8j0Eeu2L7qJFoYBgtkXBfIk7F/urFqYd4VRlXCeJj6ZQEWImw==
724
723
  dependencies:
725
724
  "@salesforce/bunyan" "^2.0.0"
726
- "@salesforce/kit" "^1.5.34"
725
+ "@salesforce/kit" "^1.5.41"
727
726
  "@salesforce/schemas" "^1.1.0"
728
727
  "@salesforce/ts-types" "^1.5.20"
729
728
  "@types/graceful-fs" "^4.1.5"
@@ -737,7 +736,7 @@
737
736
  form-data "^4.0.0"
738
737
  graceful-fs "^4.2.9"
739
738
  js2xmlparser "^4.0.1"
740
- jsforce "2.0.0-beta.9"
739
+ jsforce "2.0.0-beta.14"
741
740
  jsonwebtoken "8.5.1"
742
741
  mkdirp "1.0.4"
743
742
  ts-retry-promise "^0.6.0"
@@ -756,6 +755,15 @@
756
755
  shx "^0.3.3"
757
756
  tslib "^2.2.0"
758
757
 
758
+ "@salesforce/kit@^1.5.41":
759
+ version "1.5.44"
760
+ resolved "https://registry.yarnpkg.com/@salesforce/kit/-/kit-1.5.44.tgz#f070257679f40750e67919020c7e8240b219bf26"
761
+ integrity sha512-QHwmJFgvF0YyBAvPkSMy2opyIgKzATF8lwYHewCr2obyqDiVi9OJkYWgQETkKTpfLzSjWqdsfiVAdlnRcj+xQQ==
762
+ dependencies:
763
+ "@salesforce/ts-types" "^1.5.20"
764
+ shx "^0.3.3"
765
+ tslib "^2.2.0"
766
+
759
767
  "@salesforce/plugin-command-reference@^1.3.16":
760
768
  version "1.3.19"
761
769
  resolved "https://registry.yarnpkg.com/@salesforce/plugin-command-reference/-/plugin-command-reference-1.3.19.tgz#0988d20019ef6e29571c0aec7265c92ecb96dbdf"
@@ -3656,10 +3664,10 @@ jsesc@^2.5.1:
3656
3664
  resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
3657
3665
  integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==
3658
3666
 
3659
- jsforce@2.0.0-beta.9:
3660
- version "2.0.0-beta.9"
3661
- resolved "https://registry.yarnpkg.com/jsforce/-/jsforce-2.0.0-beta.9.tgz#692f205151551a601cb17fc6b891ecbb230eff58"
3662
- integrity sha512-DsmjBiLaAL4ECmpNjwcMuYoA2o7v42cnokmTvNtnsOoABb7goIZp/PIXRHhmN44HJxNw2RpEpjMv0rJNOkrAtg==
3667
+ jsforce@2.0.0-beta.14:
3668
+ version "2.0.0-beta.14"
3669
+ resolved "https://registry.yarnpkg.com/jsforce/-/jsforce-2.0.0-beta.14.tgz#237753bdabb7e80447b5b266eaefc4abf8b6c951"
3670
+ integrity sha512-j66PaKroshB4VZbfKBAx9+lJy8etFfGG1hGFsI7ufwxvacXxLTAxZwOEZPkYPMigiHrPlEMtIwh5NqwBsIn9HA==
3663
3671
  dependencies:
3664
3672
  "@babel/runtime" "^7.12.5"
3665
3673
  "@babel/runtime-corejs3" "^7.12.5"