Class: Rubotnik::CLI

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

Instance Method Summary collapse

Instance Method Details

#new(path = nil) ⇒ Object



8
9
10
11
12
# File 'lib/rubotnik/cli.rb', line 8

def new(path = nil)
  generator = Rubotnik::Generator.new
  generator.destination_root = path
  generator.invoke_all
end