@salesforce/plugin-apex 0.6.0 → 0.7.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":"0.6.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","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"apexcodefile":{"name":"apexcodefile","type":"option","char":"f","description":"path to a local file that contains Apex code"}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"logid":{"name":"logid","type":"option","char":"i","description":"id of the log to display"},"number":{"name":"number","type":"option","char":"n","description":"number of most recent logs to display"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory for saving the log files"}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"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."},"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":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"testrunid":{"name":"testrunid","type":"option","char":"i","description":"the ID of the test run","required":true},"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"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","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"},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"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"},"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)","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"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","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"},"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"},"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"},"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}},"args":[]}}}
1
+ {"version":"0.7.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","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"apexcodefile":{"name":"apexcodefile","type":"option","char":"f","description":"path to a local file that contains Apex code"}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"logid":{"name":"logid","type":"option","char":"i","description":"id of the log to display"},"number":{"name":"number","type":"option","char":"n","description":"number of most recent logs to display"},"outputdir":{"name":"outputdir","type":"option","char":"d","description":"directory for saving the log files"}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"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."},"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":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"testrunid":{"name":"testrunid","type":"option","char":"i","description":"the ID of the test run","required":true},"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"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","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"},"verbose":{"name":"verbose","type":"boolean","description":"display Apex test processing details; if JSON is specified, processing details aren't displayed","allowNo":false}},"args":[]},"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.","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","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)","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"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"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"},"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)","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"},"resultformat":{"name":"resultformat","type":"option","char":"r","description":"Permissible values are: human, tap, junit, json","helpValue":"(human|tap|junit|json)","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"},"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"},"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"},"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}},"args":[]}}}
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-apex",
3
3
  "description": "Apex commands",
4
- "version": "0.6.0",
4
+ "version": "0.7.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/forcedotcom/salesforcedx-apex/issues",
7
7
  "dependencies": {
8
8
  "@oclif/command": "^1",
9
9
  "@oclif/config": "^1",
10
10
  "@oclif/errors": "^1",
11
- "@salesforce/apex-node": "0.6.0",
11
+ "@salesforce/apex-node": "0.7.0",
12
12
  "@salesforce/command": "4.2.0",
13
- "@salesforce/core": "2.31.0",
13
+ "@salesforce/core": "2.33.1",
14
14
  "chalk": "^4.1.0",
15
15
  "tslib": "^1"
16
16
  },
@@ -38,7 +38,7 @@
38
38
  "typescript": "4.3.2"
39
39
  },
40
40
  "resolutions": {
41
- "**/@salesforce/core": "2.31.0"
41
+ "**/@salesforce/core": "2.33.1"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=10.17.0"
@@ -121,6 +121,6 @@
121
121
  },
122
122
  "sfdx": {
123
123
  "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/sfdx-cli-03032020.crt",
124
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.6.0.sig"
124
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/signatures/salesforce-plugin-apex-0.7.0.sig"
125
125
  }
126
126
  }
package/yarn.lock CHANGED
@@ -354,10 +354,10 @@
354
354
  chalk "^2.4.2"
355
355
  cli-ux "^4.9.3"
356
356
 
357
- "@salesforce/core@2.31.0", "@salesforce/core@^2.2.0", "@salesforce/core@^2.31.0", "@salesforce/core@^2.6.0":
358
- version "2.31.0"
359
- resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.31.0.tgz#cdeaa9968060afb52f40c12bf5a4f9844a2a1909"
360
- integrity sha512-ROEjX/M0ZHpGlmRfNUoDKsE4ppOZUU5Hcl3XHr2pCO7F505imAmhKg8I+XfGSxXyj4bL/kftkNTK5xFffJ+6mw==
357
+ "@salesforce/core@2.33.1", "@salesforce/core@^2.2.0", "@salesforce/core@^2.31.0", "@salesforce/core@^2.6.0":
358
+ version "2.33.1"
359
+ resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.33.1.tgz#23c22953174ad0e809b2f1c7b2881b5ba8a89d9c"
360
+ integrity sha512-jKVFYEvlV+loBoau5heBOVXmzsPO+RbYh6SPybJK6xF7khQmzu7+WAQbikY2eY8VaXcded2kka8L/FKuD/LKBg==
361
361
  dependencies:
362
362
  "@salesforce/bunyan" "^2.0.0"
363
363
  "@salesforce/kit" "^1.5.0"
@@ -367,13 +367,13 @@
367
367
  "@types/jsforce" "^1.9.35"
368
368
  "@types/mkdirp" "^1.0.1"
369
369
  debug "^3.1.0"
370
+ faye "^1.4.0"
370
371
  graceful-fs "^4.2.4"
371
372
  jsen "0.6.6"
372
373
  jsforce "^1.11.0"
373
374
  jsonwebtoken "8.5.0"
374
375
  mkdirp "1.0.4"
375
376
  semver "^7.3.5"
376
- sfdx-faye "^1.0.9"
377
377
  ts-retry-promise "^0.6.0"
378
378
 
379
379
  "@salesforce/dev-config@1.4.1":
@@ -723,7 +723,7 @@ arrify@^1.0.1:
723
723
  resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
724
724
  integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=
725
725
 
726
- asap@*, asap@~2.0.3, asap@~2.0.6:
726
+ asap@*, asap@~2.0.3:
727
727
  version "2.0.6"
728
728
  resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
729
729
  integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=
@@ -1223,7 +1223,7 @@ cross-spawn@^7.0.1:
1223
1223
  shebang-command "^2.0.0"
1224
1224
  which "^2.0.1"
1225
1225
 
1226
- csprng@*, csprng@~0.1.2:
1226
+ csprng@*:
1227
1227
  version "0.1.2"
1228
1228
  resolved "https://registry.yarnpkg.com/csprng/-/csprng-0.1.2.tgz#4bc68f12fa368d252a59841cbaca974b18ab45e2"
1229
1229
  integrity sha1-S8aPEvo2jSUqWYQcusqXSxirReI=
@@ -1586,13 +1586,6 @@ faye-websocket@>=0.9.1:
1586
1586
  dependencies:
1587
1587
  websocket-driver ">=0.5.1"
1588
1588
 
1589
- faye-websocket@~0.9.1:
1590
- version "0.9.4"
1591
- resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.9.4.tgz#885934c79effb0409549e0c0a3801ed17a40cdad"
1592
- integrity sha1-iFk0x57/sECVSeDAo4Ae0XpAza0=
1593
- dependencies:
1594
- websocket-driver ">=0.5.1"
1595
-
1596
1589
  faye@^1.4.0:
1597
1590
  version "1.4.0"
1598
1591
  resolved "https://registry.yarnpkg.com/faye/-/faye-1.4.0.tgz#01d3d26ed5642c1cb203eed358afb1c1444b8669"
@@ -3201,7 +3194,7 @@ pseudomap@^1.0.2:
3201
3194
  resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
3202
3195
  integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM=
3203
3196
 
3204
- psl@^1.1.24, psl@^1.1.28, psl@^1.1.33:
3197
+ psl@^1.1.28, psl@^1.1.33:
3205
3198
  version "1.8.0"
3206
3199
  resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24"
3207
3200
  integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==
@@ -3214,11 +3207,6 @@ pump@^3.0.0:
3214
3207
  end-of-stream "^1.1.0"
3215
3208
  once "^1.3.1"
3216
3209
 
3217
- punycode@^1.4.1:
3218
- version "1.4.1"
3219
- resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
3220
- integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=
3221
-
3222
3210
  punycode@^2.1.0, punycode@^2.1.1:
3223
3211
  version "2.1.1"
3224
3212
  resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
@@ -3490,17 +3478,6 @@ set-value@^2.0.0, set-value@^2.0.1:
3490
3478
  is-plain-object "^2.0.3"
3491
3479
  split-string "^3.0.1"
3492
3480
 
3493
- sfdx-faye@^1.0.9:
3494
- version "1.0.9"
3495
- resolved "https://registry.yarnpkg.com/sfdx-faye/-/sfdx-faye-1.0.9.tgz#24e678ddb783d7085f3e40a2c155ac367416be26"
3496
- integrity sha512-/p0Ifvhh9rVYj6YmYOBU+psQsP+9RrNrUU4lr1p+HhZhTgnviMIabcgKZUN12S69zUpl0YagpFdMhmxKGkf+5g==
3497
- dependencies:
3498
- asap "~2.0.6"
3499
- csprng "~0.1.2"
3500
- faye-websocket "~0.9.1"
3501
- tough-cookie "~2.4.3"
3502
- tunnel-agent "~0.6.0"
3503
-
3504
3481
  shebang-command@^1.2.0:
3505
3482
  version "1.2.0"
3506
3483
  resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
@@ -3969,14 +3946,6 @@ tough-cookie@*:
3969
3946
  punycode "^2.1.1"
3970
3947
  universalify "^0.1.2"
3971
3948
 
3972
- tough-cookie@~2.4.3:
3973
- version "2.4.3"
3974
- resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"
3975
- integrity sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==
3976
- dependencies:
3977
- psl "^1.1.24"
3978
- punycode "^1.4.1"
3979
-
3980
3949
  tough-cookie@~2.5.0:
3981
3950
  version "2.5.0"
3982
3951
  resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
@@ -4061,7 +4030,7 @@ tsutils@^2.29.0:
4061
4030
  dependencies:
4062
4031
  tslib "^1.8.1"
4063
4032
 
4064
- tunnel-agent@*, tunnel-agent@^0.6.0, tunnel-agent@~0.6.0:
4033
+ tunnel-agent@*, tunnel-agent@^0.6.0:
4065
4034
  version "0.6.0"
4066
4035
  resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
4067
4036
  integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=