awful 0.0.74 → 0.0.75

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: e1152069e1d64afd57c10949d82fcb35b39a31b9
4
- data.tar.gz: b0ada74b3bdca5b6ac135abc9e20222bc3b00493
3
+ metadata.gz: 6bec0e4317449f5c7364c828658d0d70385af170
4
+ data.tar.gz: b508430a4175eeb31cf3f2bfc2307461506c631b
5
5
  SHA512:
6
- metadata.gz: 3a81ee38fc4d2a461287b3c503ffda72cfa9ba8c77df12e4ef9952e4c5ad13ebd7b5aa519a69e18bb2d8a906269db98869787d430c0062b7b5f15063b0412f74
7
- data.tar.gz: 807174a9c8f82eedd4da2d2e5a583c6d6b34d6b7742a41073c0200adec490413c608a5223ac895419f1005ef3db6fe69998fc862dec153b8458be4fc9cf41fdd
6
+ metadata.gz: 5830ca455cd41dd0da1940211830a1d677773e976cef79da87cca3c5515d2bd714b8ed20fd2da5092d987f1d41c7ccaef2b6c29648ac4c8081f4e9ea90509391
7
+ data.tar.gz: 6d706e98078e370b2901c7c29097d81f0872e1ebeda68a064b3d77ff1590c23f8e2a45770770bb70d9b61459cc180d8562b767f50b2026795df1ccdff84a0597
@@ -59,6 +59,19 @@ module Awful
59
59
  end
60
60
  end
61
61
 
62
+ desc 'outputs NAME', 'get stack outputs as a hash'
63
+ def outputs(name)
64
+ cf.describe_stacks(stack_name: name).stacks.map do |stack|
65
+ stack.outputs.each_with_object({}) do |output, hash|
66
+ hash[output.output_key] = output.output_value
67
+ end
68
+ end.tap do |stacks|
69
+ stacks.each do |output|
70
+ print_table output
71
+ end
72
+ end
73
+ end
74
+
62
75
  desc 'template NAME', 'get template for stack named NAME'
63
76
  def template(name)
64
77
  cf.get_template(stack_name: name).template_body.tap do |template|
data/lib/awful/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = '0.0.74'
2
+ VERSION = '0.0.75'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.74
4
+ version: 0.0.75
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister