import { Runner } from "https://deno.land/x/denon@2.5.0/mod.ts";
Handle all the things related to process management.
Scripts are built into executable commands that are
executed by Deno.run()
and managed in an Executable
object to make available process events.
Constructors
new
Runner(config: RunnerConfig, args?: string[])Methods
private
buildCliCommand(args: string[], global: ScriptOptions): Commandprivate
buildCommand(): Commandprivate
buildCommands(): Command[]private
cmd(cmd: string[], options: ScriptOptions): CommandBuild the script, in whatever form it is declared in,
to be compatible with Deno.run()
.
This function add flags, arguments and actions.
execute(command: Command): Deno.Process
Create an Execution
object to handle the lifetime
of the process that is executed.