Sha256: 4fea0df70e9d189d3ff4062e650d28cc6fdfbb3479188f8d4946d0e7de957a50
Contents?: true
Size: 523 Bytes
Versions: 1
Compression:
Stored size: 523 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] abort! @opts end load(@opts[:template]) save(@opts[:output]) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aws-cfn-dsl-0.5.0 | lib/aws/cfn/dsl/main.rb |