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

Move the verbose flag from the subcommands to the main list of options #39

Closed
apauley opened this issue Apr 27, 2019 · 1 comment
Closed
Labels
help wanted Extra attention is needed

Comments

@apauley
Copy link
Owner

apauley commented Apr 27, 2019

Related to #14

The --verbose flag is currently enabled on each subcommand, e.g.:

$ hledger-flow import --verbose
2019-04-27 11:03:05.808182368 SAST	hledger-flow Starting import

or

$ hledger-flow report --verbose
2019-04-27 11:03:33.90158193 SAST	hledger-flow Something will be here Real Soon Now (tm)

Change this so that the verbose flag is part of the main options, similar to --help and --version.

However, unlike --help and --version, the verbose flag should not just print some output and exit.
Instead, it should continue to expect one of the subcommands to be supplied, and then run the relevant subcommand with verbose output enabled.

@apauley
Copy link
Owner Author

apauley commented May 5, 2019

Closing: fixed by @jecaro in #42

@apauley apauley closed this as completed May 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant