Class: Honey::Okapi::Help
- Inherits:
-
Object
- Object
- Honey::Okapi::Help
- Defined in:
- lib/okapi/help.rb
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
11 12 13 14 |
# File 'lib/okapi/help.rb', line 11 def self. puts "\nUsage: okapi [options]" puts "Try 'okapi help' for more information." end |
.okapi ⇒ Object
31 32 33 |
# File 'lib/okapi/help.rb', line 31 def self.okapi puts File.read(File.dirname(__FILE__) + '/okapi') end |
.options ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/okapi/help.rb', line 16 def self. puts "\nCurrently available okapi options are:\n\n" puts "\t-b, --blueprint path to the blueprint (default: " + BLUEPRINT_PATH + " )" puts "\t-t, --test_spec path to the test specification (default: " + TEST_SPEC_PATHS + " )" #puts "\t-o, --output output format (default: " + OUTPUT + ")" puts "\t-u, --test_url url to test (default: " + TEST_URL + ")" puts "\t-a, --apiary apiary url (default: " + APIARY_URL + ")" puts "\t-s, --config config file (default: " + CONFIG_PATH + ")" puts "\t-p, --params prints used parameters" puts "\n" puts "\thelp Show this help" puts "\n" end |
.show ⇒ Object
6 7 8 9 |
# File 'lib/okapi/help.rb', line 6 def self.show end |