-
Notifications
You must be signed in to change notification settings - Fork 12
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
Adding dry-run/confirm flags to the 'add' command #91
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me aside from the CC feedback. It does look like it's false-positively erroring on the import like it did to me last pull tho. :\
doc/commands/add.md
Outdated
@@ -1,7 +1,7 @@ | |||
# add | |||
|
|||
```text | |||
add [-f|--force] KEY VALUE PATH | |||
add [-f|--force] [-y|--commit] [-n|--dry-run] KEY VALUE PATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--confirm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution! 🙇
I agree with @mattlqx. CC is behaving strange lately for
go vet
. I was runninggo vet
locally on your branch and everything works fine. Concerning the return statement limit excess: i think it is fine here. I will mark both CC issues as resolved.Please only adjust the typo mentioned above :)
Will do. Thank you!
Thank you for the contribution! 🙇 I agree with @mattlqx. CC is behaving strange lately for Please only adjust the typo mentioned above :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thank you!
Adding similar behavior from the 'replace' command for --dry-run and --confirm args.