mirror of
https://github.com/go-task/task.git
synced 2025-07-15 01:35:00 +02:00
feat: CLI_FORCE special variable (#1434)
This commit is contained in:
@ -312,6 +312,7 @@ func run() error {
|
||||
}
|
||||
|
||||
globals.Set("CLI_ARGS", taskfile.Var{Value: cliArgs})
|
||||
globals.Set("CLI_FORCE", taskfile.Var{Value: flags.force || flags.forceAll})
|
||||
e.Taskfile.Vars.Merge(globals)
|
||||
|
||||
if !flags.watch {
|
||||
|
Reference in New Issue
Block a user