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

Make Info and Verbose argument flags mutually exclusive #17

Open
Vadoola opened this issue Sep 11, 2024 · 0 comments
Open

Make Info and Verbose argument flags mutually exclusive #17

Vadoola opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Vadoola
Copy link
Owner

Vadoola commented Sep 11, 2024

Part of how I resolves issue #11 was to turn off info printing by default. As the main use for a lot of people is probably through QElectrotech this probably makes sense. However if you are running it from the CLI, it probably makes sense to default to printing the info.

It's a low priority but I should be able to make the info and the verbose options as mutually exclusive by using an enum with clap. I've never tried this but I'm pretty sure this is possible. That way it defaults to printing the info, but when the -v flag is used it disables the info as well.

@Vadoola Vadoola added the enhancement New feature or request label Sep 11, 2024
@Vadoola Vadoola self-assigned this Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant