Class: TestGen::CLI
- Inherits:
-
Thor
- Object
- Thor
- TestGen::CLI
- Defined in:
- lib/testgen/cli.rb
Instance Method Summary collapse
Instance Method Details
#project(name) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/testgen/cli.rb', line 12 def project(name) driver = [:pageobject_driver].nil? ? 'none' : [:pageobject_driver] with_lib = [:with_lib] ? 'true' : 'false' with_gametel = [:with_gametel] ? 'true' : 'false' with_mohawk = [:with_mohawk] ? 'true' : 'false' TestGen::Generators::Project.start([name, driver, with_lib, with_gametel, with_mohawk]) end |