function providing the desired command and returning a Promise of an integer exit value.
Parse positional parameters into parameter name/value pairs. The
positional parameters should be of the form NAME[=VALUE]. If
=VALUE is omitted, the value is set to undefined
. If the VALUE
is empty, i.e., NAME=, then the value is the empty string.
typically argv._ from yargs
array of CommandInvocation Arg
Does this command start up an embedded SDM?
command-line arguments, typically process.argv
Determine whether sdm-local commands should be loaded. To improve startup times and eliminate client startup when unnecessary, we do not load the sdm-local commands if we are just running a native CLI command.
command-line arguments, typically process.argv
true if the SDM local commands should be loaded
Generated using TypeDoc
Call the provided function with the provided arguments and capture any errors. When the function is complete,
process.exit
will be called with the appropriate code, i.e., this function will never return.