Skip to content
/ cli0 Public

cli zero —a simple shell script skeleton with no dependencies

License

Notifications You must be signed in to change notification settings

ellemenno/cli0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

cli zero —a simple shell script skeleton with no dependencies

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages