Cliar

Latest version: v1.3.2

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

Scan your dependencies

Page 1 of 5

1.3.2

- **[Breaks backward compatibility]** Global args are now stored in `self.global_args` instead of `self._root_args`.
- Global args are now available in nested commands. [Read more](https://moigagoo.github.io/cliar/tutorial/global-arguments).

1.3.1

- Commands can now access root command args via `self._root_args`. [Read more](https://moigagoo.github.io/cliar/tutorial/root-command).

1.3.0

- Add support for nested commands. [Read more](https://moigagoo.github.io/cliar/tutorial/nested-commands).
- Fix incorrect mapping from handler params to optional CLI args.

1.2.5

- Prepare for postponed annotation evaluation, which will be the default in Python 4.0 (see 2).

1.2.4

- Add `show_defaults` param to `set_help` util. [Read more](https://moigagoo.github.io/cliar/tutorial/argument-descriptions).

1.2.3

- Fix Python 3.7 incompatibility.
- Add `set_sharg_map` to override or disable short arg names.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.