Skip to content

phylake/go-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status godoc reference

go-cli

A minimalist framework for CLIs containing nested commands.

There's a surprising amount of entirely uninteresting code needed to create a human and machine friendly CLI such as

  • ensuring proper exit codes on invalid input
  • calculating sub-command list padding
  • parsing os.Args so each command is passed only the arguments scoped to it

See the example

About

Minimalist CLI framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published