|
It uses a simple decorator to create scripts with "sub-commands", similar to Django's manage.py, svn, hg, and others.
Baker maps command line options to function parameters in the most natural way available.
Baker lets you specify help for parameters in three ways: in the decorator, in Python 3.x (use parameter annotations to associate doc strings with parameters) and parse the function's docstring for Sphinx-style :param blocks.
Single-character short options are enabled.
What's New in This Release: [ read full changelog ]
· Better Python 3 support.
· Improved test coverage.
· *varargs are now displayed in command help.
· Fixed annoying beavhior of *varargs help when no keyword arguments are present.
Via: Baker 1.3
0 Comment:
Post a Comment