-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Refactor opts #2829
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
Refactor opts #2829
Conversation
|
This might be a good place to cherry-pick some of the new verbiage from shykes#63, to help cut down on merge work later. |
|
@tianon: done |
|
👍 |
|
@creack when you cherry picked, you imported:
Could you remove it (it's unused outside 0.7) |
|
@vieux done |
|
@creack this needs to be rebased |
|
@vieux done |
|
@crosbymichael let's be careful on this one 😆 |
|
ping @vieux @crosbymichael @shykes. Unit tests are in #2892 |
Conflicts: commands.go
|
ping @vieux @crosbymichael @shykes. Unit tests are in #2892 |
|
LGTM |
1 similar comment
|
LGTM |
Refactor *Opts in order to make the code more consistent and easy to read.
Before the PR, we had some opts that used Custom type, other the utils.ListOpts, some validations by type, some somewhere else.
This PR tries to clean things up.