Create cli based forms from a set of widgets (slope module)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sloum 56a2b11dd1 0.1.0 commit 4 weeks ago
README.md 0.1.0 commit 4 weeks ago
main.slo 0.1.0 commit 4 weeks ago
module.json Initial commit 4 weeks ago

README.md

cli-forms

Create command line forms from widgets. The following are supported:

  1. select - move a cursor up/down to select a single option from a list
  2. input - standard input field with a title/prompt
  3. check - move a cursor up/down and check/uncheck various options from a list
  4. date-select - use a cursor to select a month, day, and year
  5. spinner - display a spinner while doing something else

input, select, and check all have a title, spinner and date-select do not. All widgets that use a cursor to move up and down in fields use arrow keys, vim movement keys, and tab/shift-tab to move around. To check/uncheck a check box use space. All widgets are submitted by pressing Enter.

For specifics of how the various widgets work see (and its respective subentries):

(load-mod cli-forms)
(usage cli-forms::)