1
0
mirror of https://github.com/go-task/task.git synced 2025-11-25 22:32:55 +02:00

Watch task

This commit is contained in:
Andrey Nering
2017-04-01 16:04:52 -03:00
parent 36614dccf8
commit 72a6727e31
4 changed files with 116 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ hello:
pflag.PrintDefaults()
}
pflag.BoolVarP(&task.Force, "force", "f", false, "forces execution even when the task is up-to-date")
pflag.BoolVarP(&task.Watch, "watch", "w", false, "enables watch of the given task")
pflag.Parse()
task.Run()
}