Class: CwTestGen::CLI

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

Instance Method Summary collapse

Instance Method Details

#project(name) ⇒ Object



11
12
13
14
15
# File 'lib/cwtestgen/cli.rb', line 11

def project(name)
  with_page_templates = options[:with_page_templates] ? 'true' : 'false'
  with_lib_symlink = options[:with_lib_symlink] ? 'true' : 'false'
  CwTestGen::Generators::Project.start([name, with_page_templates, with_lib_symlink])
end