Class: Lono::Template

Inherits:
Command
  • Object
show all
Defined in:
lib/lono/template.rb

Defined Under Namespace

Modules: AwsServices, Help, Helpers Classes: Bashify, DSL, Template, Upload

Instance Method Summary collapse

Methods inherited from Command

dispatch

Instance Method Details

#bashify(path) ⇒ Object



31
32
33
# File 'lib/lono/template.rb', line 31

def bashify(path)
  Bashify.new(path: path).run
end

#generateObject



20
21
22
# File 'lib/lono/template.rb', line 20

def generate
  DSL.new(options.clone).run
end

#uploadObject



25
26
27
# File 'lib/lono/template.rb', line 25

def upload
  Upload.new(options.clone).run
end