import { Context } from "https://deno.land/x/dax@0.36.0/src/shell.ts";
Constructors
new
Context(opts: { stdin: ShellPipeReader; stdout: ShellPipeWriter; stderr: ShellPipeWriter; env: Env; commands: Record<string, CommandHandler>; shellVars: Record<string, string>; signal: KillSignal; })Methods
applyChanges(changes: EnvChange[] | undefined)
asCommandContext(args: string[]): CommandContext
clone()
getCommand(command: string)
getCwd()
getVar(key: string)
setEnvVar(key: string, value: string | undefined)
setShellVar(key: string, value: string | undefined)