1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

Add --status flag to check is a task is up-to-date

Closes #81
This commit is contained in:
Andrey Nering
2017-12-26 21:43:52 -02:00
parent dfd890c8a6
commit 78f6cb08d8
3 changed files with 30 additions and 0 deletions

View File

@@ -300,6 +300,9 @@ generate-files:
You can use `--force` or `-f` if you want to force a task to run even when
up-to-date.
Also, `task --status [tasks]...` will exit with non-zero exit code if any of
the tasks is not up-to-date.
### Variables
When doing interpolation of variables, Task will look for the below.