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

Allow overriding environment files to load #75

Closed
wants to merge 3 commits into from

Conversation

maartenberg
Copy link
Member

This PR will add the VAULTENV_CONFIG_FILES / --config-files parameter as described in #72.

The parameter will contain a comma-separated list of filenames that are to be loaded instead of the default /etc/vaultenv.conf,$HOME/.config/vaultenv/vaultenv.conf,$CWD/.env.

- Add oConfigFiles to Options
- Add Megaparsec parser for comma-separated lists
- Add --config-file flag to parser
- Add listFromEnv, listFromEnvWithDefault, use for VAULTENV_CONFIG_FILES
- Split defaultEnvFiles into own function
@maartenberg
Copy link
Member Author

#76 changes the way configuration is parsed, this PR will be redone after #76 is merged.

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.

1 participant