package
0.0.0-20210429125405-5d27ecb8db26
Repository: https://github.com/spoke-d/clui.git
Documentation: pkg.go.dev

# Functions

NewShell creates a REPL from a runnable and a command store.
NewText creates a Command with sane defaults.

# Variables

Disguard is used as a High Order Function to disguard error messages.
ErrShowHelp is a sentinel error message for showing help.
Nothing is used as a High Order Function to consume all group event runs into nothing.

# Structs

CommandContext is the context the command was run with.
Shell defines a REPL that can be interactively accessed.
Text defines a simple text based command, that can be useful for creating commands that require more text based explanations.

# Interfaces

Runnable allows the shell to interact with a given runnable type.
Store holds the command prefixes to able to walk over.