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 <<-HELP
Usage: cello <command> [options*]

cello version #{Cello::VERSION}: Cucumber Page-Object integration made easy

Available commands:

  help              Show this help text
  
  -nP, --new-project       Creates the structure of a cello project  
  -np, --new-page          Curl the page and creates the page object for that url
  -nf, --new-feature       Creates a new feature file and its step definition

  -r,  --run-tests         Runs all the tests
  -w,  --run-wip           Runs all the tests
  
  -d,  --debbug            Runs all the tests
    
  --version, -v:   Print version and exit
  --help, -h:   Show this message

  For more support read our api >> http://rubydoc.info/gems/cello
  Have a nice day :)
  HELP
end