Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 950 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 950 Bytes

cli0

(cleo) cli zero —a simple shell script skeleton with no dependencies

Good for whipping up a quick command line interface with some familiar comforts:

  • argument parsing
  • usage info
  • colored output (when appropriate) that goes to the right place

usage

cli0 doesn't really do anything out of the box; it provides a template to be modified for your own purposes:

$ ./cli0
provides the skeleton of a simple cli

usage:
  cli0 [<service> | --<option>]

options:
  -h --help   show this usage info
  <service>   say, see, flip

cli0 provides sample service implementations to exercise the template and output formatting options:

./cli0 say

./cli0 see

./cli0 flip