bin/cfnlego in cfnlego-0.1.1 vs bin/cfnlego in cfnlego-0.2.0
- old
+ new
@@ -14,9 +14,15 @@
opts.on("-i", "--indent TOKEN", "Use TOKEN for indent character (default space)") do |i|
options[:indent_token] = i
end
+ opts.on("-l", "--list", "List supported resources") do
+ options[:list_resources] = true
+ puts Cfnlego.Resources
+ exit
+ end
+
opts.on("-c",
"--indent-count [COUNT]",
Integer,
"Count of characters to use for indenting. (default: 2)") \
do |count|