Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Verbose/Debug Mode in CLI #27

Open
skyl opened this issue Nov 11, 2024 · 0 comments
Open

Implement Verbose/Debug Mode in CLI #27

skyl opened this issue Nov 11, 2024 · 0 comments

Comments

@skyl
Copy link
Owner

skyl commented Nov 11, 2024

We need to add a --verbose flag (e.g., -v, -vv) to the CLI to control the verbosity of console output. The goal is to allow different levels of verbosity in our Typer commands without scattering if statements throughout the code.

Key Points:

  • Use the existing Rich and Typer libraries to integrate verbosity levels.
  • Integrate with logging or message handling for various verbosity levels (INFO, DEBUG, etc.).
  • Allow multiple verbosity levels via a simple command-line flag like --verbose or -v.
  • Provide console outputs at different levels of verbosity without repetitive conditionals.

Consider designing a mechanism that respects verbosity settings and enhances debugging efficiency in an interactive way, keeping code clean and maintainable. The exact implementation is up to the contributor to design.

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

No branches or pull requests

1 participant