The Changes
v0.3.1
- Let debug raise the original exception.
v0.3
- Support Python 3.
- Fixed an error when no usage. Thanks uranusjr.
- Let exception just be raised when debug.
v0.2.7
- It now generates metavar for argument which has default value.
- Fixed argument whose default is bool took next command line argumnet as its
value. (
--bool shouldnttake
)
- Fixed it caught option-like string in option description.
- Refactored the
parse()
.
v0.2.4
- Fixed a bug of finding docstring of command.
- Added support for using
f
and float
as metavar in docstring. Thanks
for the contribution from mail6543210.
v0.2.3
- It now shows the doc of program only if the object is a module
- It is also a command now. You can use
clime
from shell.
v0.2.2
- It now prints the doc of default command if doc of program is not available.
v0.2.1
- Fixed the bug of program name.
v0.1.9
- Added
clime.core.CMD_SUFFIX
and an argument, white_pattern, for
clime.core.Program
.
v0.1.8
- It now exits with 1 if there has error – issue #14.
v0.1.7
- Fixed the bug with generator – issue #12.
v0.1.6
- It now supports the ignore_return in
Program
class.
- Added a shortcut,
customize()
, of using Program class.
- Fixed the support of the
-kmeta
format in docstring.
v0.1.5
- It now uses <meta> instead of META.
- It supports more metavars, include <json> for the string in json format.
- It supports more options of creating a program, include white_list,
black_list, ignore_help, debug, ...
- It repects __all__ now.
- Refactored the code a lot and the whole file structure.