CmDO 0.7
Create command-driven scripts with smart arguments and help derived from decorated functions.
Simplifies construction of command-based tools. Tool development consists of:
- Creating module files in one of several known locations using special file extensions.
- Writing ordinary Python functions.
- Adding decorators to choose exported functions and to describe argument types/repetition/defaults.
- Creating new argument type classes as needed.
- Adding descriptive documentation as structured text in doc strings, decorators, and or separate documentation modules.
Benefits include:
- Full command line interpretation, including support for both user-friendly simplified syntax and developer-friendly Python expressions.
- Argument type and quantity checking.
- Argument validation, conversion and defaults.
- Keyword assignment for optional arguments.
- Automatic support for simple bash shell command line completion.
- Command line help for modules, functions and other documentation.
- Publish help to pretty text, HTML, XML, or custom format.
- View help in browser or other viewer based on mime type.
- On-demand module loading.
- Import-less inter-module calling and references through special CMDO namespace.
- Complete support for all normal Python capabilities.
- Error handling, logging, traceback, etc.
- Simple interactive prompted command input.
- Author: Steve Cooper <steve at wijjo com>
- Home Page: http://wijjo.com/cmdo
- Download URL: http://wijjo.com/download
- License: GPL2
- Platform: Linux
-
Categories
- Development Status :: 3 - Alpha
- Environment :: Console
- Environment :: Web Environment
- Intended Audience :: Developers
- License :: OSI Approved :: GNU General Public License (GPL)
- Operating System :: POSIX
- Programming Language :: Python
- Topic :: Documentation
- Topic :: Software Development
- Topic :: Software Development :: Documentation
- Topic :: Software Development :: Libraries :: Application Frameworks
- Topic :: Software Development :: Libraries :: Python Modules
- Topic :: Text Processing :: Markup
- Topic :: Text Processing :: Markup :: HTML
- Topic :: Text Processing :: Markup :: XML
- Topic :: Utilities
- Package Index Owner: scooper
- DOAP record: CmDO-0.7.xml
