-
Notifications
You must be signed in to change notification settings - Fork 117
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
Yor could use a check mode (see PR#364) #366
Comments
hey @hartzell, |
I don't see confusion being a big issue, since all of the exiting (including mine) is done through Happy to connect it to dry-run though, that was my original intent but assumed that people didn't want it there. I've updated the PR. |
@hartzell what I meant is not to unite the flags. but when adding the new one you've suggested - make it turn on the dry mode as well, that way you will assure that this mode will have no side affects and only validate that there are no changes to be made |
@omryMen -- done. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closed by #364. |
A while back, in #254, I suggested that a dry-run mode would yor more useful, because I wanted to:
@hi-artem implemented the "don't actually change anything" side of the feature in #257, but it does not do anything useful with the exit status so we're left with parsing the CLI output.
I've submitted #364, which implements a
check
mode, which causes the output to be 0 if nothing changed and non-zero (vialog.Error
if anything changed (would have changed, if--dry-mode
).Feedback welcome.
The text was updated successfully, but these errors were encountered: