lib/simple_deploy/cli.rb in simple_deploy-0.3.1 vs lib/simple_deploy/cli.rb in simple_deploy-0.3.2
- old
+ new
@@ -3,10 +3,11 @@
module SimpleDeploy
module CLI
def self.start
@opts = Trollop::options do
+ version SimpleDeploy::VERSION
banner <<-EOS
Deploy and manage resources in AWS
simple_deploy environments
@@ -106,10 +107,10 @@
:logger => @logger
end
case @cmd
when 'attributes'
- @stack.attributes.each_pair { |k, v| puts "#{k}: #{v}" }
+ @stack.attributes.each_pair { |k, v| puts "#{k}=#{v}" }
when 'create'
@stack.create :attributes => attributes,
:template => @opts[:template]
@logger.info "#{@opts[:name]} created."
when 'delete', 'destroy'