Knack

Latest version: v0.11.0

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

Scan your dependencies

Page 5 of 7

0.5.0

+++++
* Adds support for positional arguments with the .positional helper method on ArgumentsContext.
* Removes the necessity for the type field in help.py. This information can be inferred from the class, so specifying it causes unnecessary crashes.
* Adds support for examining the result of a command after a call to invoke. The raw object, error (if any) an exit code are accessible.
* Adds support for accessing the command instance from inside custom commands by putting the special argument cmd in the signature.
* Fixes an issue with the default config directory. It use to be .cli and is now based on the CLI name.
* Fixes regression in knack 0.4.5 in behavior when cli_name --verbose/debug is used. Displays the welcome message as intended.
* Adds ability to specify line width for help text display.

0.4.5

+++++
* Preserves logging verbosity and output format on the namespace for use by validators.

0.4.4

+++++
* Adds ability to set config file name.
* Fixes bug with argument deprecations.

0.4.3

+++++
* Fixes issue where values were sometimes ignored when using deprecated options regardless of which option was given.

0.4.2

+++++
* Bug fix: disable number parse on table mode PR 88

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.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.