gloo-cli
A core gloo library for command-line interface applications.
Usage
Load this library in a gloo script:
> load lib cli
Objects
prompt— CLI prompt for user inputselect— prompt for user to select from a list of optionsconfirm— CLI confirmation promptmenu— a CLI menu, for a main loop or sub-menu of choicesmenu_item— a single element in a CLI menucolorize— write colored/styled output to the terminalshell— an interactive command-driven shell (REPL)command— a single command in a shell's command tree
Full Reference
Every object's children and messages are documented in-app once the library is loaded — e.g. help> object prompt.