class Templatron::BuildCommand

Use to build stuff!

Public Instance Methods

execute() click to toggle source
# File lib/templatron/cli.rb, line 44
def execute
  # Instantiate the generator and build the stuff
  gen = Generator.new(
    template, 
    arguments, 
    output,
    delete?, 
    verbose?)
  t_start = Time.now      
  gen.build
  t_end = Time.now
  puts "BUILT in #{t_end - t_start} seconds"
end