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

Parse flags also from env vars #19

Open
skaldesh opened this issue Apr 1, 2020 · 1 comment
Open

Parse flags also from env vars #19

skaldesh opened this issue Apr 1, 2020 · 1 comment

Comments

@skaldesh
Copy link
Member

skaldesh commented Apr 1, 2020

Maybe we can use this package to automatically register and parse environment variables on every flag.

@skaldesh
Copy link
Member Author

@r0l1 Do you think env vars would be useful? Like if one had a flag on a command ("timeout", for example), would it be useful to have two options cmd --timeout 10s and CMD_TIMEOUT=10s cmd?

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

No branches or pull requests

1 participant