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

Add a porter configuration file #612

Merged
merged 2 commits into from
Sep 17, 2019
Merged

Conversation

carolynvs
Copy link
Member

@carolynvs carolynvs commented Sep 14, 2019

The file must be placed in PORTER_HOME/config.toml|json|yaml|hcl.

The config is set up to use viper for smart configuration inheritance.

FLAGS > ENV VARS > CONFIG FILE

For example:

--debug > PORTER_DEBUG > config.toml's debug

The environment variable config is set up to automatically wire up
PORTER_* to --*. So PORTER_DEBUG is wired up to --debug.
@carolynvs carolynvs merged commit c8fd6c7 into getporter:master Sep 17, 2019
@carolynvs carolynvs deleted the config-file branch September 17, 2019 21:41
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.

3 participants