1. Geert Jansen
  2. python-cli



== Introduction ==

This is python-cli, a CLI construction toolit for Python. It is similar in scope to Python's "cmd", "cmd2", and pyCLI. It has the following features:

  • Interactive and one-command modes
  • Can be used as a #! script interpreter
  • Shell redirects (including here-docs)
  • Pipelines
  • Shell commands (via "!")
  • Rigorous parser via PLY
  • Add commands by providing a Command subclass

== Installation ==

$ python setup.py build $ python setup.py install

== Usage ==

See the "lib/cli/commands" directory for some examples.