bin/rivet in rivet-1.0.8 vs bin/rivet in rivet-1.1.0

- old
+ new

@@ -10,11 +10,12 @@ INFO = Logger::INFO # Default option values options = { :log_level => INFO, - :profile => 'default' + :profile => 'default', + :definitions_directory => './autoscale' } OptionParser.new do |o| o.on('-g', '--group [GROUP_NAME]', String, 'Autoscaling group name') do |g| options[:group] = g @@ -29,9 +30,13 @@ options[:profile] = p end o.on('-s', '--sync', "Sync the changes remotely to AWS") do |s| options[:sync] = s + end + + o.on('-d', '--definitions-directory [PATH]', "The autoscale definitions directory to use (default is ./autoscale)") do |d| + options[:definitions_directory] = d end o.on('-h') { puts o; exit } o.parse! end