Sha256: 190697de59227a19c0359628ed43430ef58a866bbf11500088f133aa184e12fd
Contents?: true
Size: 542 Bytes
Versions: 2
Compression:
Stored size: 542 Bytes
Contents
require 'slop' require "aws/cfn/dsl/base" module Aws module Cfn module Dsl class Main < Base def run @opts = Slop.parse(help: true) do on :j, :template=, 'The template to convert', as: String on :o, :output=, 'The directory to output the DSL to.', as: String end unless @opts[:template] puts @opts exit end load @opts[:template] pprint(simplify(@items)) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aws-cfn-dsl-0.2.0 | lib/aws/cfn/dsl/main.rb |
aws-cfn-dsl-0.1.0 | lib/aws/cfn/dsl/main.rb |