task icon indicating copy to clipboard operation
task copied to clipboard

Fix handling of CLI provided global vars.

Open trulede opened this issue 7 months ago • 0 comments

When CLI provided global vars are provided, they are placed in e.Taskfile.Vars after the global vars from the Taskfile. As a result, global vars defined in the Taskfile cannot reference those provided at the CLI. This PR changes the order that those CLI provided global vars are merged into e.Taskfile.Vars but/and retains priority for the CLI provided global vars.

fixes #1580 fixes #1565 (probably) fixes #2090 fixes #1108

trulede avatar Jun 08 '25 21:06 trulede