import { Scripts } from "https://deno.land/x/lume@v1.19.0/core.ts";
Script runner to store and run commands or execute functions It can execute the scripts and functions in parallel or sequentially
Properties
logger: Logger
The logger to output messages in the terminal
scripts: Map<string, ScriptOrFunction[]>
All registered scripts and functions
Methods
run(...names: ScriptOrFunction[]): Promise<boolean>
Run one or more commands
set(name: string, ...scripts: ScriptOrFunction[]): void
Register one or more scripts under a specific name