Skip to content

Commit

Permalink
Update help for fetch command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ladislav Prskavec committed Oct 13, 2014
1 parent ed545a9 commit 35c7d4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -47,7 +47,7 @@ machine, either using static files or using a standalone web server...
publish --api-name [API_NAME] \
--message [COMMIT_MESSAGE] Publish with custom commit message
fetch --api-name [API_NAME] Fetch apiary.apib from API_NAME.apiary.io

--output [FILE] Write apiary.apib into specified file
help Show this help
version Show version

Expand Down
2 changes: 2 additions & 0 deletions lib/apiary/cli.rb
Expand Up @@ -9,6 +9,8 @@ class CLI < Thor

desc "fetch", "Fetch apiary.apib from API_NAME.apiary.io"
method_option :api_name, :type => :string, :required => true, :default => ''
method_option :api_host, :type => :string, :banner => "HOST", :desc => "Specify apiary host"
method_option :output, :type => :string, :banner => "FILE", :desc => "Write apiary.apib into specified file"

def fetch
cmd = Apiary::Command::Fetch.new options
Expand Down

0 comments on commit 35c7d4f

Please sign in to comment.