bin/massa in massa-0.0.9 vs bin/massa in massa-0.1.0
- old
+ new
@@ -7,9 +7,15 @@
options = {}
OptionParser.new do |opts|
opts.banner = 'Usage: massa [options]'
+ opts.on('-g', '--generate-config', 'Generate config file') do
+ template = File.expand_path('../../lib/massa/templates/massa.yml', __FILE__)
+ FileUtils.cp(template, "#{Dir.pwd}/config/massa.yml")
+ exit
+ end
+
opts.on('-h', '--help', 'Display this help') do
puts opts
puts
puts 'You can read the official documentation here:'
puts 'https://github.com/lucascaton/massa#massa'