Class: WatirSplash::CLI
Instance Method Summary
collapse
frameworks_banner, supported_frameworks
Instance Method Details
#new(name = "ui-test") ⇒ Object
18
19
20
|
# File 'lib/watirsplash/cli.rb', line 18
def new(name = "ui-test")
WatirSplash::Generators::NewProject.start([name, options[:url], options[:framework]])
end
|
#page(page_name = "Main", *elements) ⇒ Object
31
32
33
|
# File 'lib/watirsplash/cli.rb', line 31
def page(page_name = "Main", *elements)
WatirSplash::Generators::Page.start([page_name.gsub("-", "_"), elements, options[:module].gsub("-", "_"), options[:spec], options[:url]])
end
|