1
0
Эх сурвалжийг харах

Merge pull request #1227 from rickmacgillis/patch1

Document thor docs:download --all
Simon Legner 5 жил өмнө
parent
commit
d563667dbd
2 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 1 1
      README.md
  2. 1 1
      lib/tasks/docs.thor

+ 1 - 1
README.md

@@ -34,7 +34,7 @@ bundle exec rackup
 
 Finally, point your browser at [localhost:9292](http://localhost:9292) (the first request will take a few seconds to compile the assets). You're all set.
 
-The `thor docs:download` command is used to download pre-generated documentations from DevDocs's servers (e.g. `thor docs:download html css`). You can see the list of available documentations and versions by running `thor docs:list`. To update all downloaded documentations, run `thor docs:download --installed`.
+The `thor docs:download` command is used to download pre-generated documentations from DevDocs's servers (e.g. `thor docs:download html css`). You can see the list of available documentations and versions by running `thor docs:list`. To update all downloaded documentations, run `thor docs:download --installed`. To download and install all documentation this project has available, run `thor docs:download --all`.
 
 **Note:** there is currently no update mechanism other than `git pull origin master` to update the code and `thor docs:download --installed` to download the latest version of the docs. To stay informed about new releases, be sure to [watch](https://github.com/freeCodeCamp/devdocs/subscription) this repository.
 

+ 1 - 1
lib/tasks/docs.thor

@@ -119,7 +119,7 @@ class DocsCLI < Thor
     puts 'Done'
   end
 
-  desc 'download (<doc> <doc@version>... | --default | --installed)', 'Download documentations'
+  desc 'download (<doc> <doc@version>... | --default | --installed | --all)', 'Download documentations'
   option :default, type: :boolean
   option :installed, type: :boolean
   option :all, type: :boolean