/opts

Fiddling with the Python option parsing library.

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

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