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.

Source Distribution

cmdln-1.1.2.zip (87.5 kB view details)

Uploaded Source

File details

Details for the file cmdln-1.1.2.zip.

File metadata

  • Download URL: cmdln-1.1.2.zip
  • Upload date:
  • Size: 87.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cmdln-1.1.2.zip
Algorithm Hash digest
SHA256 6b11124b6f846ab1f5ac7be0a7e3ccd2241e0f2fa318f5db66e3630235ed130a
MD5 3a7f003147ad9dfb9e7e3f2f4b6b11b2
BLAKE2b-256 f6940332cc4c30a289fe1e8ca2f1088283027ee83802e70abbaa1c4511cbe88f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page