lib/simple_deploy/cli/update.rb in simple_deploy-0.4.8 vs lib/simple_deploy/cli/update.rb in simple_deploy-0.5.0

- old
+ new

@@ -15,10 +15,11 @@ EOS opt :help, "Display Help" opt :attributes, "= seperated attribute and it's value", :type => :string, :multi => true opt :environment, "Set the target environment", :type => :string + opt :force, "Force an update to proceed" opt :log_level, "Log level: debug, info, warn, error", :type => :string, :default => 'info' opt :name, "Stack name(s) of stack to deploy", :type => :string, :multi => true end @@ -36,10 +37,10 @@ opts[:name].each do |name| stack = Stack.new :environment => opts[:environment], :name => name, :config => config, :logger => logger - stack.update :attributes => attributes + stack.update :force => opts[:force], :attributes => attributes end end end end end