mirror of
https://github.com/go-task/task.git
synced 2026-07-09 06:55:14 +00:00
Add -f flag to force execution even when task is up-to-date
This commit is contained in:
@@ -24,6 +24,7 @@ hello:
|
||||
'''
|
||||
`)
|
||||
}
|
||||
flag.BoolVar(&task.Force, "f", false, "forces execution even when the task is up-to-date")
|
||||
flag.Parse()
|
||||
task.Run()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user