-
Notifications
You must be signed in to change notification settings - Fork 2
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
Define hierarchal configuration support #20
Comments
The primary influence of my design for configuration is coming from "Build Awesome Command-Line Apps in Ruby 2", Chapter 6. This is a pragmatic programmer's title. |
From what I gleaned from the chapter: after default options are created, merge values from a config file before the command line is parsed. I thought I read something about the user of ENV variables, but I might be mistaken. |
The question now is: can I use I suspect the answer is no. |
I also might punt on this specific issue. Side-Note: I wonder why I can't use a |
There is one thing for certain: there are no default values for the Harvest credential information. Because access to the Harvest API is central to this tool's operation, I feel even more compelled to punt on this issue. |
Maybe the path forward is this:
This solves the problem of getting people to create a configuration file, with information on what needs to be set, and how. And it solves the problem I have: needing a configuration file for use that doesn't interfere with development and testing. |
Define and document how hammerhead's configuration can be specified and overridden.
This goes from configuration file, environment variables, to command-line arguments, flags, and parameters.
This must be clearly documented.
The text was updated successfully, but these errors were encountered: