-Added descriptive docstrings across `Falyx` and `CommandArgumentParser` internals: - `is_cli_mode`, `get_tip`, and `_render_help` in `falyx.py` - Validation and parsing helpers in `command_argument_parser.py` (`_validate_nargs`, `_normalize_choices`, `_validate_default_list_type`, `_validate_action`, `_register_store_bool_optional`, `_register_argument`, `_check_if_in_choices`, `_raise_remaining_args_error`, `_consume_nargs`, `_consume_all_positional_args`, `_handle_token`, `_find_last_flag_argument`, `_is_mid_value`, `_is_invalid_choices_state`, `_value_suggestions_for_arg`) - Introduced `_raise_suggestion_error()` utility to standardize error messages when required values are missing, including defaults and choices. - Replaced duplicated inline suggestion/error logic in `APPEND`, `EXTEND`, and generic STORE handlers with this helper. - Improved error chaining with `from error` for clarity in `_normalize_choices` and `_validate_action`. - Consolidated `HELP`, `TLDR`, and `COUNT` default-value validation into a single check. - Enhanced completions: - Extended suggestion logic to show remaining flags for `APPEND`, `EXTEND`, and `COUNT` arguments when last tokens are not keywords. - Added `.config.json` to `.gitignore`. - Bumped version to 0.1.85.
19 lines
165 B
Plaintext
19 lines
165 B
Plaintext
__pycache__/
|
|
*.py[cod]
|
|
*.log
|
|
*.db
|
|
*.sqlite3
|
|
.env
|
|
.venv
|
|
.cache
|
|
.mypy_cache
|
|
.pytest_cache
|
|
dist/
|
|
build/
|
|
*.egg-info/
|
|
.idea/
|
|
.vscode/
|
|
coverage.xml
|
|
.coverage
|
|
.config.json
|