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

Add ComputedOption to update config at command runtime #2

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

alexandrevilain
Copy link

Hi :)

I added theWithComputedOption to update configuration just before running the gRPC request.
It allows to use external configuration flags.

On a CLI managing multiple environments it's easier to set --env=prod than --server-addr=my-prod.endpoint: 8080. But using --env=prod the command needs to do more computation, and at runtime. That's why I added this feature.

I hope you'll find it useful :)

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

Successfully merging this pull request may close these issues.

2 participants