Clg

Latest version: v3.3.0

Safety actively analyzes 638330 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

1.1.1

~~~~~~~~~~~~~~~~~~

* Correct a bug when using ``version`` action.

1.1

~~~~~~~~~~~~~~~~
* Add a ``version`` keyword for options, allowing to use ``version`` action.
* Allow an option ``add_help_cmd`` in the root of the configuration that
automatically add a ``help`` command that show the arborescence of all
commands with their descriptions.
* Allow the use of ``argparse.SUPPRESS`` with ``__SUPPRESS__`` "builtin".
* Replace the "builtins" __CHOICES__, __MATCH__ and __FILE__ in the help
message by the respectives values of those keywords.
* Add the parameter ``allow_abbrev`` in parser configuration, controlling
abbrevations behaviour (http://bugs.python.org/issue14910).

1.0

~~~~~~~~~~~~~~~~
* Rewrite module for matching at best ``argparse``.
* Allow bultins.
* Drop compatibility to python2.6 (because of dict comprehension).

0.5

~~~~~~~~~~~~~~~~
* Port code to Python 3 (with compatiblity at least until Python 2.6).

0.4

~~~~~~~~~~~~~~~~
* Add description of parser (via *desc* keyword).

0.3

~~~~~~~~~~~~~~~~
* Add an iterable and accessible namespace for arguments.
* Change behaviour of *parse* method (now return a namespace with arguments).
* Set the default value for *list* type to an empty list.
* Changes the behaviour of the execution of an external module. It is no
longer a python path of a module in 'sys.path' but directly the path of a
file. In addition, keyword 'lib' has be replaced by 'path'.
* Replace '__FILE__' in the default value of an option by the directory of the
program.
* Update the license to MIT.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.