Sha256: 9fa501ed37ae477842a0a7200af885c1db37a077c4c198627b09ed63ef210fad
Contents?: true
Size: 898 Bytes
Versions: 2
Compression:
Stored size: 898 Bytes
Contents
require 'thor' require 'lono_cfn/cli/help' module LonoCfn class CLI < Thor class_option :verbose, type: :boolean class_option :noop, type: :boolean class_option :project_root, desc: "Project folder. Defaults to current directory", default: '.' # common to create and update class_option :template, desc: 'override convention and specify the template file to use' class_option :params, desc: 'override convention and specify the params file to use' class_option :lono, type: :boolean, desc: 'invoke lono to generate CloudFormation templates', default: true desc "create STACK", "create a CloudFormation stack" long_desc Help.create def create(name) Create.new(name, options).run end desc "update STACK", "update a CloudFormation stack" long_desc Help.update def update(name) Update.new(name, options).run end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lono-cfn-0.0.3 | lib/lono_cfn/cli.rb |
lono-cfn-0.0.2 | lib/lono_cfn/cli.rb |