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

Getting all the switches used by default #217

Closed
kkaarreell opened this issue Dec 20, 2019 · 2 comments · Fixed by #218
Closed

Getting all the switches used by default #217

kkaarreell opened this issue Dec 20, 2019 · 2 comments · Fixed by #218
Assignees

Comments

@kkaarreell
Copy link

When running the git like "did last" having multiple services configured, I would like to see the an equivalent command line with all the service specific switches included. It would let me to easily fine tune the parameters instead of having to reconstruct it on my own.
The output doesn't have to be covered by and extra switch, I would be fine with seeing the output e.g. in the verboseverbose (vv) or debug log. Or it could be some git config subcommand, all are really care about are the switches on by default.

Example:
$ did last
having and equivalent
$ did --bz --jira --nitrate --wiki last

@psss
Copy link
Owner

psss commented Jan 6, 2020

I see. Makes sense and could be useful. What about including this in the info output?

> DEBUG=1 did
[INFO] Inspecting config file '/home/psss/.did/config'.
[INFO] Default command line: did --bz --tools --tests --rpms --ci --github --gitlab --pagure
Status report for the week 02 (2020-01-06 to 2020-01-12).
...

The debug output is a little bit too verbose for this.

@psss psss self-assigned this Jan 6, 2020
@kkaarreell
Copy link
Author

INFO would be great. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants