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

bind pflags with viper for env variable usage #44

Closed
bketelsen opened this issue Jan 3, 2023 · 1 comment
Closed

bind pflags with viper for env variable usage #44

bketelsen opened this issue Jan 3, 2023 · 1 comment

Comments

@bketelsen
Copy link
Member

see https://github.com/spf13/viper#working-with-flags for specifics.

This would allow apx to recognize environment variables like APX_NAME to set the --name flag. Super powerful when combined with direnv

.envrc:
export APX_NAME=mycontainer
apx enter

@bketelsen
Copy link
Member Author

closed by #45

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

No branches or pull requests

1 participant