Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Merging pull request #56: Update help for fetch command
Browse files Browse the repository at this point in the history
  • Loading branch information
Almad committed Oct 13, 2014
2 parents 2d0fd8e + 35c7d4f commit bf321d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 bf321d3

Please sign in to comment.