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-2.0.0.zip
(61.1 kB
view details)
File details
Details for the file cmdln-2.0.0.zip
.
File metadata
- Download URL: cmdln-2.0.0.zip
- Upload date:
- Size: 61.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b036d89914b49f5f3166a8b3730729f17a7fb533f6a264947a8bbef016d7e20 |
|
MD5 | f3d690e7b7b9d2659aa9172aaac39822 |
|
BLAKE2b-256 | 26237654219ac89aa48190341b7c7114fea21e21889693def5f625ef2a218d5d |