-
Notifications
You must be signed in to change notification settings - Fork 273
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
cli: add support for runtime config files and env vars #309
Labels
enhancement
stale
Label that's automatically set by stalebot. Stale issues get closed after 14 days of inactivity.
Comments
@edvald, was the conclusion to implement this in Go? |
That would make sense, since it'll affect behavior at that level. |
This was referenced Jan 10, 2019
See also #668. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing in favour of #1523. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
stale
Label that's automatically set by stalebot. Stale issues get closed after 14 days of inactivity.
We should support per user and per project CLI runtime configuration files.
User settings could be at
$Home/.gardenrc
and project settings at/path/to/project/.gardenrc
. Among other things, the config files could contain settings for CLI arguments and options. Here's how yarn does it. Other settings could also be added there as applicable.This would also be a good chance to improve how we handle env variables, it's pretty ad hoc at the moment.
I'm guessing the order of precedence should be:
where
cli args
has the highest precedence.The text was updated successfully, but these errors were encountered: