Knack

Latest version: v0.12.0

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

Scan your dependencies

Page 6 of 7

0.4.1

+++++
* Fixes bug with deprecation mechanism.
* Fixes an issue where the command group table would only be filled by calls to create CommandGroup classes. This resulted in some gaps in the command group table.

0.4.0

+++++
* Add mechanism to deprecate commands, command groups, arguments and argument options.
* Improve help display support for Unicode.

0.3.3

+++++
* expose a callback to let client side perform extra logics (80)
* output: don't skip false value on auto-tabulating (83)

0.3.2

+++++
* ArgumentsContext.ignore() should use hidden options_list (76)
* Consolidate exception handling (66)

0.3.1

+++++
* Performance optimization - Delay import of platform and colorama (47)
* CLIError: Inherit from Exception directly (65)
* Explicitly state which packages to include (so exclude 'tests') (68)

0.2.0

+++++
* Support command level and argument level validators.
* knack.commands.CLICommandsLoader now accepts a command_cls argument so you can provide your own CLICommand class.
* logging: make determine_verbose_level private method.
* Allow overriding of NAMED_ARGUMENTS
* Only pass valid argparse kwargs to argparse.ArgumentParser.add_argument and ignore the rest
* logging: make determine_verbose_level private method
* Remove cli_command, register_cli_argument, register_extra_cli_argument as ways to register commands and arguments.

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.