dax
Version:
Cross platform shell tools inspired by zx.
16 lines • 1.75 kB
TypeScript
export { type BeforeCommandCallback, type BeforeCommandSyncCallback, CommandBuilder, CommandChild, CommandResult, escapeArg, KillController, KillSignal, type KillSignalListener, type NonRedirectTemplateExpr, RawArg, rawArg, ShellError, type StreamKind, type TemplateExpr, } from "./src/command.js";
export type { CommandContext, CommandHandler, CommandPipeReader, CommandPipeWriter } from "./src/commandHandler.js";
export { type AwaitableReadable, type Closer, type ErrorTailOptions, type Reader, type ShellPipeReaderKind, type ShellPipeWriterKind, type TailDisplayOptions, type TailHeader, type TailHeaderContext, type TailMaxLines, type TailMaxLinesContext, type WriterSync, } from "./src/pipes.js";
export { type CdChange, type ContinueExecuteResult, type EnvChange, type ExecuteResult, type ExitExecuteResult, type SetEnvVarChange, type SetOptionChange, type SetShellVarChange, type ShellOption, type UnsetVarChange, } from "./src/result.js";
export { type ShellOptionsState, WhichEnv, whichRealEnv } from "./src/shell.js";
export { createExecutableCommand, type CreateExecutableCommandOptions } from "./src/commands/executable.js";
export { type Stderr, stderr, type Stdin, stdin, type Stdout, stdout } from "./src/streams.js";
export { $, type $Base, type $Type, build$, type Create$Options } from "./src/dollar.js";
import { $ } from "./src/dollar.js";
export default $;
export { create, FsFile, open, type OpenOptions, type WriteFileOptions } from "./src/fsFile.js";
export type { Signal } from "./src/signal.js";
export { type Delay, delayToMs } from "./src/common.js";
export type { ConsoleSize } from "../../console-static-text/0.3.4/mod.js";
export { FsFileWrapper, Path } from "../../path/0.3.2/mod.js";
//# sourceMappingURL=mod.d.ts.map