-
Notifications
You must be signed in to change notification settings - Fork 158
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 support for config file as an alternative to Environment variables #1117
Comments
@ejholmes Looks as though it'll need to change again to Whilst trying to add the wrapper to allow the flags to be defined as an alternative source, the current package throws type errors: urfave/cli#561 I'll have a play around, I may just be doing it wrong. I was trying:
With |
When running the empire server the configuration is loaded through either flags or environment variables.
The latest
codegansta/cli
(nowurfave/cli
) package has added support for TOML/YAML files.I've created a PR to update the cli package: #1116
Having the ability to load the configuration from a file instead of environment variables would make configuration management a little easier I believe.
The text was updated successfully, but these errors were encountered: