coreos / mayday

A diagnostics tool for capturing system state.
Apache License 2.0
80 stars 27 forks source link

allow changing of profile by setting --profile #49

Closed tschuy closed 7 years ago

tschuy commented 8 years ago

I'm thinking we could make another option, --config-file, that can be used iff --profile isn't set that overrides where viper looks for the config, and uses that config file instead.

But for now, we can set the profile name, which is just the name of the .json/.yaml/.whatever file used to config.

brianredbeard commented 7 years ago

LGTM

LGTM