Class: Cello::Commands::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/cello/commands/help.rb

Class Method Summary collapse

Class Method Details

.runObject



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/cello/commands/help.rb', line 3

def self.run
  puts "Usage: cello <command> [options*]\n\ncello version \#{Cello::VERSION}: Cucumber Page-Object integration made easy\n\nAvailable commands:\n\n  help              Show this help text\n  \n  -nP, --new-project       Creates the structure of a cello project  \n  -np, --new-page          Curl the page and creates the page object for that url\n  -nf, --new-feature       Creates a new feature file and its step definition\n\n  -r,  --run-tests         Runs all the tests\n  -w,  --run-wip           Runs all the tests\n  \n  -d,  --debbug            Runs all the tests\n    \n  --version, -v:   Print version and exit\n  --help, -h:   Show this message\n\n  For more support read our api >> http://rubydoc.info/gems/cello\n  Have a nice day :)\n  HELP\nend\n"