Versions in this module Expand all Collapse all v1 v1.0.0 Jan 23, 2023 Changes in this version + type Command struct + Data map[string]interface{} + Handler HandlerType + MinNumOfArgs int + Name string + func NewCommand(name string, minNumOfArgs int, handler HandlerType) *Command + type CommandInput struct + Args []string + Cmd *Command + Shell *Shell + Stdout io.Writer + type HandlerType func(*CommandInput) error + type Shell struct + LinePrefix string + Path map[string]*Command + func NewShell(cmds ...*Command) (*Shell, error) + func (s *Shell) GetHistory() []string + func (s *Shell) Run() error