Versions in this module Expand all Collapse all v1 v1.0.1 Mar 17, 2026 v1.0.0 Mar 11, 2026 Changes in this version + func AllHelpString(node *CommandNode) string + func AllHelpStringInner(node *CommandNode) (ret [][]string) + func ExecuteCommand(mgr *base.TaskActionManager, rl *readline.Instance, input string) + func GetCurrentReadlineInstance() *readline.Instance + func HistoryCmd(base.TaskActionImpl, []string) string + func NewCompleter() *readline.PrefixCompleter + func QuitCmd(base.TaskActionImpl, []string) string + func ReadLine() + func RegisterCommand(path []string, fn CommandFunc, argsInfo string, desc string, ...) + func RegisterCommandDefaultTimeout(path []string, fn CommandFunc, argsInfo string, desc string, ...) + func StdoutLog(log string) + type CommandFunc func(base.TaskActionImpl, []string) string + type CommandNode struct + ArgsInfo string + Children map[string]*CommandNode + Desc string + DynamicComplete readline.DynamicCompleteFunc + FullName string + Func CommandFunc + Name string + Timeout time.Duration + func FindCommand(path string) (args []string, node *CommandNode) + func MutableCommandRoot() *CommandNode + func (node *CommandNode) SelfHelpString() []string + type HistoryManager struct + File string + Items []string + Set map[string]struct{} + func NewHistoryManager(file string, cleanDuplicates bool) *HistoryManager + type TaskActionCmd struct + Fn func() + func (t *TaskActionCmd) HookRun() error + func (t *TaskActionCmd) Log(format string, a ...any)