Versions in this module Expand all Collapse all v0 v0.1.0 Oct 5, 2026 Changes in this version + type AbortedError struct + Reason string + func (e *AbortedError) Error() string + type ArithmeticError struct + Msg string + func (e *ArithmeticError) Error() string + type Bash struct + func New(opts BashOptions) (*Bash, error) + func (b *Bash) Aliases() command.AliasTable + func (b *Bash) Exec(ctx context.Context, script string, opts ExecOptions) (BashExecResult, error) + func (b *Bash) FS() gbfs.FileSystem + func (b *Bash) History() command.HistoryRing + func (b *Bash) RegisterTransformPlugin(p transform.Plugin) + func (b *Bash) Registry() *command.Registry + func (b *Bash) Shopt() command.ShoptTable + type BashExecResult struct + Env map[string]string + Metadata map[string]any + type BashOptions struct + Commands []command.Name + CustomCommands []command.Command + Cwd string + Env map[string]string + ExecutionLimits *ExecutionLimits + FS fs.FileSystem + Fetch network.Doer + Files map[string]fs.FileInit + JavaScript *JavaScriptConfig + Logger Logger + MaxCallDepth int + MaxCommandCount int + MaxLoopIterations int + Network *network.Config + ProcessInfo *ProcessInfo + Python *PythonConfig + Sleep SleepFunc + Trace TraceFunc + TransformPlugins []transform.Plugin + type ExecOptions struct + Args []string + Cwd string + Env map[string]string + RawScript bool + ReplaceEnv bool + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + type ExecResult struct + ExitCode int + Stderr string + Stdout string + type ExecutionLimitError struct + Limit string + Value int + func (e *ExecutionLimitError) Error() string + type ExecutionLimits struct + MaxArrayElements *int + MaxAwkIterations *int + MaxBraceExpansionResults *int + MaxCallDepth *int + MaxCommandCount *int + MaxFileDescriptors *int + MaxFileSystemBytes *int + MaxGlobOperations *int + MaxHeredocSize *int + MaxInputSize *int + MaxJqIterations *int + MaxJsTimeout *time.Duration + MaxLoopIterations *int + MaxOutputSize *int + MaxPythonTimeout *time.Duration + MaxSedIterations *int + MaxSourceDepth *int + MaxSqliteTimeout *time.Duration + MaxStringLength *int + MaxSubstitutionDepth *int + type ExitError struct + Code int + func (e *ExitError) Error() string + type InvokeToolFunc = command.InvokeToolFunc + type JavaScriptConfig struct + Bootstrap string + InvokeTool InvokeToolFunc + type LexerError struct + Col int + Line int + Msg string + func (e *LexerError) Error() string + type Logger interface + Debug func(msg string, fields map[string]any) + Info func(msg string, fields map[string]any) + type ParseError = parser.ParseError + type PosixFatalError struct + Code int + Msg string + func (e *PosixFatalError) Error() string + type ProcessInfo struct + GID int + PID int + PPID int + UID int + type PythonConfig struct + type ResolvedLimits = command.Limits + func DefaultLimits() ResolvedLimits + func ResolveLimits(in *ExecutionLimits) ResolvedLimits + type SecurityViolationError struct + Msg string + func (e *SecurityViolationError) Error() string + type SleepFunc = command.SleepFunc + type TraceEvent = command.TraceEvent + type TraceFunc = command.TraceFunc