Skip to main content

run() function

Signature:
export declare function run(template: Template<any>, argv?: readonly string[]): Promise<void>;

Parameters

ParameterTypeDescription
templateTemplate<any>Template
argvreadonly string[](Optional) Command line arguments
Returns:

Promise<void>

Remarks

When an error occurred, it prints error to logger and terminates current process.