-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support for environment variables #35
Comments
Note: a non-existent referenced environment variable would return an empty string instead of an error, if possible. |
hey @falzm sorry that it took me so long to respond here, unfortunately I stared at it for far too long in my email :( I originally had a PR open previously for adding in environment variables #19, it was closed as it was previously determined that using environment variables for configuration should be left to the application rather than My thinking specific with 12fa is that I really like the nested config file approach, rather than having to do Some options (syntax TDB) but:
Or maybe, we make an option that will just override settings from environment variables. For example:
When the parser gets to I think both of these examples are a little different from what you are proposing which is more support for interpolation of environment variables in configuration options, but maybe being able to do |
Yes, that would work for me :) |
@brettlangdon please let know if you're adding env variables support. |
It would be super handy if Forge could support calling environment variables from configuration files, for example:
The token format is up to you (suggestions:
%env{VARIABLE}
,$env{VARIABLE}
...), this is just to illustrate the idea :)The text was updated successfully, but these errors were encountered: