import { Context } from "https://dotland.deno.dev/x/dax@0.39.2/src/shell.ts";
Methods
applyChanges(changes: EnvChange[] | undefined)
asCommandContext(args: string[]): CommandContext
clone()
error(text: string): Promise<ExecuteResult> | ExecuteResult
error(code: number, text: string): Promise<ExecuteResult> | ExecuteResult
error(codeOrText: number | string, maybeText: string | undefined): Promise<ExecuteResult> | ExecuteResult
getCommand(command: string)
getCwd()
getFdReader(fd: number)
getFdWriter(fd: number)
getVar(key: string)
setEnvVar(key: string, value: string | undefined)
setShellVar(key: string, value: string | undefined)
withInner(opts: Partial<Pick<ContextOptions, "stdout" | "stderr" | "stdin">>)