lib/humidifier/cli.rb in humidifier-4.0.2 vs lib/humidifier/cli.rb in humidifier-4.1.1

- old
+ new

@@ -46,11 +46,19 @@ puts directory.to_cf end desc 'stacks', 'List the stacks known to Humidifier' def stacks - puts '🗒 Listing stacks' + puts '🗒 Listing stacks' puts Humidifier.config.stack_names.sort.map { |name| "- #{name}" } + end + + desc 'upgrade', 'Download the latest CloudFormation resource specification' + def upgrade + print '💾 Downloading...' + + version = Upgrade.perform + puts " upgraded to v#{version}" end desc 'upload [?stack]', 'Upload one or all stacks to S3' def upload(name = nil) authorize