okapi 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/okapi/cli.rb +2 -2
- data/lib/okapi/help.rb +1 -1
- data/lib/okapi/version.rb +1 -1
- metadata +3 -3
data/lib/okapi/cli.rb
CHANGED
@@ -9,13 +9,13 @@ module Apiary
|
|
9
9
|
def initialize(args)
|
10
10
|
case args.first
|
11
11
|
when 'help'
|
12
|
-
|
12
|
+
Apiary::Okapi::Help.show
|
13
13
|
exit 0
|
14
14
|
when 'version'
|
15
15
|
puts VERSION
|
16
16
|
exit 0
|
17
17
|
when 'okapi'
|
18
|
-
|
18
|
+
Apiary::Okapi::Help.okapi
|
19
19
|
exit 0
|
20
20
|
else
|
21
21
|
parse_options!(args)
|
data/lib/okapi/help.rb
CHANGED
@@ -21,7 +21,7 @@ module Apiary
|
|
21
21
|
puts "\t-u, --test_url url to test (default: " + TEST_URL + ")"
|
22
22
|
puts "\t-a, --apiary apiary url (default: " + APIARY_URL + ")"
|
23
23
|
puts "\t-s, --config config file (default: " + CONFIG_PATH + ")"
|
24
|
-
puts "\t-p, --params prints used parameters
|
24
|
+
puts "\t-p, --params prints used parameters"
|
25
25
|
puts "\n"
|
26
26
|
puts "\thelp Show this help"
|
27
27
|
puts "\n"
|
data/lib/okapi/version.rb
CHANGED
metadata
CHANGED