Class: Bookery::CLI

Inherits:
Thor
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/bookery/cli.rb

Instance Method Summary collapse

Instance Method Details

#new(path, template_name = 'book') ⇒ Object



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

def new(path, template_name = 'book')
  directory(template_name, path)
end