opts is a simple python library which allows you to easiely parse command line arguments.
- Supports so called commands e.g.
hg clone
. - Supports abbreviations of commands and options e.g.
hg cl
instead ofhg clone
orhg --he
instead ofhg --help
. - Shows possible alternatives if you pass a command or an option does not exist
- Declarative syntax for commands and parser.