Function: constructCliCommand()
constructCliCommand(
processEnv,cliArgs):ICliCommand|undefined
Construct the CLI command from the parsed arguments.
Parameters
processEnv
The environment variables from the process.
cliArgs
The parsed CLI arguments.
Returns
ICliCommand | undefined
The constructed CLI command.
Throws
GeneralError if the command is missing.