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.3.1.zip (80.7 kB view details)

Uploaded Source

File details

Details for the file cmdln-1.3.1.zip.

File metadata

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

File hashes

Hashes for cmdln-1.3.1.zip
Algorithm Hash digest
SHA256 f755bfad53c4a938b42626e0755b860a90b32f5f4886d2921398248662e75a0d
MD5 7c07a2f1d3ec2af53262f2bf1454db55
BLAKE2b-256 5dbe4987113b922809d42594e0feebcb27f168920389031fa1ef60cffe76103a

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