-
Notifications
You must be signed in to change notification settings - Fork 152
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
Replace structopt with Clap v3, and add support for env overrides for all flags #1541
Replace structopt with Clap v3, and add support for env overrides for all flags #1541
Conversation
f4856d1
to
c56fe80
Compare
Can we also port this to 1.2.0 branch? It might simplify deployment if there isn't config churn? |
Is there an an actual reason to do that? I'd prefer if we didn't do the block version env rename (IMO we should prefix everything with MC_) |
I guess I was just trying to think about if this will save jason any work. I thought we were doing this partially to simplify the deployment stuff which currently maps a lot of env's onto flags. But maybe it doesn't save work, because the deployment is currently working without any of these new env's, so 1.2.0 is fine. |
This is awesome and will reduce complexity in the long run, but I don't think we need to backport this into 1.2. We'll need some time to refactor helm charts and deployments to take advantage of not needing to map configs to command line args. |
409620b
to
bedac20
Compare
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, but I'd prefer if the test vectors string-as-errors thing was reverted for reasons described in situ.
…ides for most flags. * Update CHANGELOG for next MC release. * Cleanup: Pad spaces around equal signs.
9fc490d
to
cb81ec4
Compare
Co-authored-by: James Cape <[email protected]>
No description provided.