bin/castronaut in relevance-castronaut-0.5.1 vs bin/castronaut in relevance-castronaut-0.5.2

- old
+ new

@@ -18,9 +18,15 @@ end opts.on("-C", "--config", "Config File") do |c| options[:config_file] = ARGV[0] end + + opts.on("-F", "--fresh", "Directory") do |f| + FileUtils.cp(File.join(File.dirname(__FILE__), '..', 'config', 'castronaut.example.yml'), "#{ARGV[0]}/castronaut.yml") + puts "Writing config file to #{ARGV[0]}/castronaut.yml" + exit(1) + end end.parse! if options[:config_file] Castronaut.config = Castronaut::Configuration.load(options[:config_file]) else