Versions in this module Expand all Collapse all v0 v0.1.0 Jun 24, 2026 Changes in this version + var CleanPath = cmds.CleanPath + var WalkDir = cmds.WalkDir + func ErrIsDirectory(p string) error + func ErrNotDirectory(p string) error + func ErrNotFound(p string) error + func SplitArgs(line string) []string + type CmdContext = cmds.CmdContext + type FileInfo = cmds.FileInfo + func Dir(p string, modTime time.Time) *FileInfo + func File(name, filePath string, content []byte, modTime time.Time) *FileInfo + type FileSystem = cmds.FileSystem + type Shell struct + func NewShell(fs FileSystem) *Shell + func (s *Shell) AllEnv() map[string]string + func (s *Shell) Cwd() string + func (s *Shell) DeleteEnv(key string) + func (s *Shell) Exec(cmdLine string, w io.Writer, errW io.Writer, stdin io.Reader) int + func (s *Shell) ExecPipeline(line string, w io.Writer, errW io.Writer, stdin io.Reader) int + func (s *Shell) FS() FileSystem + func (s *Shell) GetEnv(key string) string + func (s *Shell) Resolve(p string) string + func (s *Shell) RunInteractive(rw io.ReadWriter, errW io.Writer, motd string, prompt string) + func (s *Shell) SetCwd(dir string) + func (s *Shell) SetEnv(key, value string)