Skip to content

refactor: make --config a true global CLI option#313

Merged
privateip merged 1 commit intoitential:develfrom
privateip:make-config-global-option
Feb 14, 2026
Merged

refactor: make --config a true global CLI option#313
privateip merged 1 commit intoitential:develfrom
privateip:make-config-global-option

Conversation

@privateip
Copy link
Member

  • Restructured argument parser using argparse parents pattern
  • Created _create_global_options_parser() for shared global options
  • Updated all subparsers to inherit global options
  • Removed redundant --config definitions from run and test commands
  • Updated documentation to show both usage positions
  • --config now works before or after command name

- Restructured argument parser using argparse parents pattern
- Created _create_global_options_parser() for shared global options
- Updated all subparsers to inherit global options
- Removed redundant --config definitions from run and test commands
- Updated documentation to show both usage positions
- --config now works before or after command name
@privateip privateip requested a review from a team as a code owner February 14, 2026 21:52
@privateip privateip merged commit 1442721 into itential:devel Feb 14, 2026
4 checks passed
@privateip privateip deleted the make-config-global-option branch February 14, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant