lib/augury/cli.rb in augury-1.0.2 vs lib/augury/cli.rb in augury-1.0.3
- old
+ new
@@ -70,10 +70,10 @@
links: false,
attribution: false,
},
)
- config_path = File.expand_path('~/.augury.yml')
+ config_path = File.expand_path(ENV.fetch('AUGURY_CFG_PATH', '~/.augury.yml'))
if File.file?(config_path)
config_options = Thor::CoreExt::HashWithIndifferentAccess.new(YAML.load_file(config_path) || {})
defaults = defaults.merge(config_options)
end