Skip to main content

An improved cmd.py for writing multi-command scripts and shells.

Project description

cmdln.py is an extension of Python’s default cmd.py module that provides “a simple framework for writing line-oriented command interpreters”. The idea (with both cmd.py and cmdln.py) is to be able to quickly build multi-sub-command tools (think cvs or svn) and/or simple interactive shells (think gdb or pdb). Cmdln’s extensions make it more natural to write sub-commands, integrate optparse for simple option processing, and make having good command documentation easier.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cmdln, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size cmdln-2.0.0.zip (61.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page