Class: Workshop::Cli

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

Instance Method Summary collapse

Instance Method Details

#create(name) ⇒ Object



15
16
17
18
# File 'lib/workshop/cli.rb', line 15

def create(name)
  dir = File.expand_path('./' + name)
  Workshop::Project::Setup.new(dir, name).run
end