Class: TestGen::CLI

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

Instance Method Summary collapse

Instance Method Details

#project(name) ⇒ Object



12
13
14
15
16
17
# File 'lib/testgen/cli.rb', line 12

def project(name)
  with_lib = options[:with_lib] ? 'true' : 'false'
  with_mohawk = options[:with_mohawk] ? 'true' : 'false'
  with_appium = options[:with_appium] ? 'true' : 'false'
  TestGen::Generators::Project.start([name, with_lib, with_mohawk, with_appium])
end