Skip to content

Feat/utility commands#13

Draft
trisdoan wants to merge 5 commits intomainfrom
feat/utility-commands
Draft

Feat/utility commands#13
trisdoan wants to merge 5 commits intomainfrom
feat/utility-commands

Conversation

@trisdoan
Copy link
Collaborator

@trisdoan trisdoan commented Mar 3, 2026

  • group commands into category?

trisdoan added 5 commits March 3, 2026 15:24
Move ODOO_URLS, iter_org_entries(), get_repo_tasks() from main.py to utils.py.
Eliminates duplication and allows reuse by other modules (e.g., doctor.py).
Add check_repos() function to diagnose repo state (exists, clone-able, git status).
Wire into run_doctor() as "Repositories" check group.
Fix check_config message (remove version count).
Add 7 new test cases covering repo validation scenarios.
…handling

- Add --version/-V flag with version callback
- Add --debug flag to show full stack traces on error
- Add --quiet/-q flag to suppress informational output
- Implement cli() wrapper with top-level exception handling
- Update entry point from 'app' to 'cli' in pyproject.toml
- Add epilog to CLI help with docs link
- Use Annotated types for improved CLI option definitions
- Add err=True to all typer.secho() calls for error/warning output
- Route progress bar output to stderr via Console(stderr=True)
- Add err=True to doctor command docstring
- Ensures proper output stream separation between stdout and stderr
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