mirror of
https://github.com/go-task/task.git
synced 2026-07-08 06:28:44 +00:00
feat(remote): add a command to clear the cache (#1639)
* feat(remote): add a command to clear the cache * Update cmd/task/task.go Co-authored-by: Andrey Nering <andrey@nering.com.br> * rebase --------- Co-authored-by: Andrey Nering <andrey@nering.com.br>
This commit is contained in:
@@ -106,6 +106,7 @@ internet, you will still be able to run your tasks by specifying the `--offline`
|
||||
flag. This will tell Task to use the latest cached version of the file instead
|
||||
of trying to download it. You are able to use the `--download` flag to update
|
||||
the cached version of the remote files without running any tasks.
|
||||
You are able to use the `--clear-cache` flag to clear all cached version of the remote files without running any tasks.
|
||||
|
||||
By default, Task will timeout requests to download remote files after 10 seconds
|
||||
and look for a cached copy instead. This timeout can be configured by setting
|
||||
|
||||
Reference in New Issue
Block a user