Class: Apiary::Okapi::Help
- Inherits:
-
Object
- Object
- Apiary::Okapi::Help
- Defined in:
- lib/okapi/help.rb
Class Method Summary collapse
Class Method Details
.banner ⇒ Object
10 11 12 13 |
# File 'lib/okapi/help.rb', line 10 def self. puts "\nUsage: okapi [options]" puts "Try 'okapi help' for more information." end |
.okapi ⇒ Object
32 33 34 |
# File 'lib/okapi/help.rb', line 32 def self.okapi puts File.read(File.dirname(__FILE__) + '/okapi') end |
.options ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/okapi/help.rb', line 15 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" puts "\tversion Show version" puts "\n" end |
.show ⇒ Object
5 6 7 8 |
# File 'lib/okapi/help.rb', line 5 def self.show end |