From 33bb85f0e5fa93268cfcaa9d4fa7458536bea028 Mon Sep 17 00:00:00 2001 From: Rick Mac Gillis <8941225+rickmacgillis@users.noreply.github.com> Date: Mon, 18 May 2020 09:06:18 -0400 Subject: [PATCH 1/2] Console docs for --all --- lib/tasks/docs.thor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/docs.thor b/lib/tasks/docs.thor index 4e7cbcce..65f62980 100644 --- a/lib/tasks/docs.thor +++ b/lib/tasks/docs.thor @@ -119,7 +119,7 @@ class DocsCLI < Thor puts 'Done' end - desc 'download ( ... | --default | --installed)', 'Download documentations' + desc 'download ( ... | --default | --installed | --all)', 'Download documentations' option :default, type: :boolean option :installed, type: :boolean option :all, type: :boolean From fd5b25c92adb80c2b39431f8fc9d993d99886b8d Mon Sep 17 00:00:00 2001 From: Rick Mac Gillis <8941225+rickmacgillis@users.noreply.github.com> Date: Mon, 18 May 2020 09:07:50 -0400 Subject: [PATCH 2/2] Document thor docs:download --all --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63d31ddc..cecd5627 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,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.