Autoclick

Latest version: v0.8.1

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

Scan your dependencies

Page 1 of 3

0.8.1

* Automatically add version option `version` argument to command/group decorator is not `None`

0.8.0

* Remove `extra_click_kwargs` parameter to command/group decorator - instead, any extra keyword arguments to the decorator are passed to the Command/Group initializer.
* Add ability to automatically run a command/group when a module is called as an executable (i.e. when __name__ == "__main__") by setting `main=True` in the command/group decorator.

0.7.0

* Remove support for *args and **kwargs (these never worked properly anyway)
* Add support for aggregate types
* Implement auto-conversion for dict types
* Enable type conversions to be used generically - conversions with type parameters can optionally match the generic type

0.6.1

* Fix error due to difference between python 3.6 and 3.7

0.6.0

* Add additional types
* Add version option
* EnumChoice: don't try to convert if the value is already an enum

0.5.1

* Fix bug in get_conversion in which wrong type was being used to look up automatic conversion function

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.