Sha256: 99761c5ee9d7d09c4a08f3f6e2dd2345ebe0c475618754bfcefc574e4c692ab8
Contents?: true
Size: 957 Bytes
Versions: 28
Compression:
Stored size: 957 Bytes
Contents
module Lono class Template < Command class_option :quiet, type: :boolean, desc: "silence the output" class_option :noop, type: :boolean, desc: "noop mode, do nothing destructive" desc "generate", "Generate the CloudFormation templates" long_desc Lono::Help.text("template/generate") option :clean, type: :boolean, desc: "remove all output files before generating" def generate(blueprint=nil) Blueprint::Find.one_or_all(blueprint).each do |b| Generator.new(b, options).run end end desc "upload", "Uploads templates to configured s3 folder" def upload(blueprint) Upload.new(blueprint, options.clone).run end desc "bashify URL-OR-PATH", "Convert the UserData section of an existing CloudFormation Template to a starter bash script that is compatiable with lono" long_desc Lono::Help.text("template/bashify") def bashify(path) Bashify.new(path: path).run end end end
Version data entries
28 entries across 28 versions & 1 rubygems