Appearance
Home > resol-vbus-core-toolbox > ScriptEngine > initializeFromCommandLineArgs
ScriptEngine.initializeFromCommandLineArgs() method
Initialize this script engine from the provided command line arguments.
Signature:
typescript
initializeFromCommandLineArgs(args: string[]): Promise<CliParserOutput | CliParserFailure | undefined>;
Parameters
Parameter | Type | Description |
---|---|---|
args | string[] | The command line arguments. |
Promise<CliParserOutput | CliParserFailure | undefined>
Either undefined on success or the CLI parser result.