Document thor docs:download --all
Unified · Split
| @@ -34,7 +34,7 @@ bundle exec rackup · 33 unmodified lines | |||
| 34 | 34 | ||
| 35 | 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. | 35 | 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. |
| 36 | 36 | ||
| 37 | 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`. | 37 | 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`. |
| 38 | 38 | ||
| 39 | **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. | 39 | **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. |
| 40 | 40 | ||
| @@ -119,7 +119,7 @@ class DocsCLI < Thor · 118 unmodified lines | |||
| 119 | puts 'Done' | 119 | puts 'Done' |
| 120 | end | 120 | end |
| 121 | 121 | ||
| 122 | desc 'download (<doc> <doc@version>... | --default | --installed)', 'Download documentations' | 122 | desc 'download (<doc> <doc@version>... | --default | --installed | --all)', 'Download documentations' |
| 123 | option :default, type: :boolean | 123 | option :default, type: :boolean |
| 124 | option :installed, type: :boolean | 124 | option :installed, type: :boolean |
| 125 | option :all, type: :boolean | 125 | option :all, type: :boolean |