cloudformation-tool 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35d1d6a119c8dd62db646b78a1f9859b441573b0
4
- data.tar.gz: fbc546ea971958148e264a9779ee3423bd1537e5
3
+ metadata.gz: 932b14aeed2e60db02aaf267be74ab94e7f0a4ac
4
+ data.tar.gz: 5a577c95d8156d68ea50d3ca220e4ccc483693f3
5
5
  SHA512:
6
- metadata.gz: c9ecbda94ac37c11b04da5f011692d5b5e53255b2fadb51e71aec2c3d74498561aebdca42c13a0a4c4d149a61637512c939099408f7dc6eded95747c9cfd370a
7
- data.tar.gz: c270096217da50f41757a76a3586a2fe39df2651af707363e31fd45ff3b6a5cc2fc471686b6af9e1e4ffc29c79a92455618b6a616b9629da3842246f3ff1b653
6
+ metadata.gz: ec9e9e6e145825aa8b505d840273f45bca9b5d6c4c788f780b602aec101dcb577b4ed474179b56a68697e0299115ebcb51697f6e77555d251608811d36e67c18
7
+ data.tar.gz: 12cb8132e4c2bfe7dc96df4428e9f7c3f452395b812bd72ec88b253cf582ae347af30d4bd86c07387b3ad614cdb0a301d115105496e04e05df7c4fd0b6c3da6e
@@ -21,6 +21,12 @@ module CloudFormationTool
21
21
  $__profile = s
22
22
  end
23
23
 
24
+ option [ "-v", "--version" ], :flag, "Print the version and exit" do
25
+ require 'cloud_formation_tool/version'
26
+ puts CloudFormationTool::VERSION
27
+ exit 0
28
+ end
29
+
24
30
  subcommand 'list', "List CloudFormation stacks", ListStacks
25
31
  subcommand 'parameters', "List template parameters and their default values", Parameters
26
32
  subcommand 'compile', "Compile the specified template", Compile
@@ -1,4 +1,5 @@
1
1
  require 'zlib'
2
+ require 'yaml'
2
3
 
3
4
  module CloudFormationTool
4
5
  class CloudInit
@@ -1,3 +1,3 @@
1
1
  module CloudFormationTool
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudformation-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oded Arbel