apiaryio 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/apiary/cli.rb +2 -2
- data/lib/apiary/version.rb +1 -1
- metadata +1 -1
data/lib/apiary/cli.rb
CHANGED
@@ -8,7 +8,7 @@ module Apiary
|
|
8
8
|
class CLI < Thor
|
9
9
|
|
10
10
|
desc 'fetch', 'Fetch API Description Document from API_NAME.apiary.io'
|
11
|
-
method_option :api_name, :type => :string, :required => true
|
11
|
+
method_option :api_name, :type => :string, :required => true
|
12
12
|
method_option :api_host, :type => :string, :banner => 'HOST', :desc => 'Specify apiary host'
|
13
13
|
method_option :output, :type => :string, :banner => 'FILE', :desc => 'Write API Description Document into specified file'
|
14
14
|
|
@@ -35,7 +35,7 @@ module Apiary
|
|
35
35
|
method_option :message, :type => :string, :banner => 'COMMIT_MESSAGE', :desc => 'Publish with custom commit message'
|
36
36
|
method_option :path, :type => :string, :desc => 'Specify path to API Description Document. When given a directory, it will look for apiary.apib or swagger.yaml file'
|
37
37
|
method_option :api_host, :type => :string, :banner => 'HOST', :desc => 'Specify apiary host'
|
38
|
-
method_option :api_name, :type => :string, :required => true
|
38
|
+
method_option :api_name, :type => :string, :required => true
|
39
39
|
|
40
40
|
def publish
|
41
41
|
cmd = Apiary::Command::Publish.new options
|
data/lib/apiary/version.rb
CHANGED