Python option parsing library.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
.gitignore
LICENSE
Makefile
README.rst
distribute_setup.py
opts.py
setup.cfg
setup.py
tests.py

README.rst

Welcome to opts

opts is a simple python library which allows you to easiely parse command line arguments.

Features

  • Supports so called commands e.g. hg clone.
  • Supports abbreviations of commands and options e.g. hg cl instead of hg clone or hg --he instead of hg --help.
  • Shows possible alternatives if you pass a command or an option does not exist
  • Declarative syntax for commands and parser.

Links