Cliar

Latest version: v1.3.2

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

Scan your dependencies

Page 2 of 5

1.2.2

- Make `_root` not an abstract method.

1.2.1

- Fix critical bug that disallowed string params.

1.2.0

- Boolean handler params are converted into `store_true` arguments. Before that, params with default value of `True` were much confusingly converted into `store_false` arguments.
- Support `List[int]` and similar arg types. If the param type is a subclass of `typing.Iterable` and has a type specified in brackets, it's converted into multivalue arg of the type in the brackets.
- Do not print help whenever `_root` command is invoked.
- Convert the `cliar` module into a package.
- Add tests.
- Switch to Poetry.

1.1.9

- Add the ability to set help messages for arguments.
- Add the ability to set metavars for arguments.

1.1.8

- **[Breaks backward compatibility]** Base CLI class renamed from `CLI` to `Cliar`.
- Fixed a bug where commandline args with dashes weren't mapped to corresponding param names with underscores.

1.1.7

- Add the ability to override mapping between commandline args and and handler params. By default, handler params correspond to args of the same name with underscores replaced with dashes.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.