Conditional-parser

Latest version: v0.2.1

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

Scan your dependencies

0.2.1

Added
Tests for more use cases.
Explanation of how to handle subparser-like functionality.

0.2.0

Added
- New `_prepare_help` method to show all conditional arguments in help output
- Added conditional argument availability messages in help text
- Added `_callable_representation` method to generate human-readable condition descriptions
- Added comprehensive internal method documentation in API docs
- Added more thorough help text testing

Changed
- Help system now shows all possible conditional arguments regardless of current state
- Help messages now include information about when conditional arguments become available
- Improved error handling in `add_conditional` method
- Updated documentation to reflect new help system behavior
- Code formatting improvements for better readability
- Added black code formatter to project

Removed
- Removed behavior where help messages would only show currently available arguments

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.