Class: Creact::Generate

Inherits:
Thor
  • Object
show all
Defined in:
lib/creact/cli.rb

Instance Method Summary collapse

Instance Method Details

#generate(template = nil) ⇒ Object

option :upcase



21
22
23
24
25
26
# File 'lib/creact/cli.rb', line 21

def generate( template=nil )
  # greeting = "Hello, #{template}"
  # greeting.upcase! if options[:upcase]
  # puts greeting
  Creact::FileOperations.run_generator
end