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:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user