vmaerten
vmaerten
TTask
Created by grumpper on 9/16/2024 in #help
dotnev variable value calculation
Hello ! It'll be true. Dotenv files are processed in the order they are defined. If an environment variable already exists, it won't be overridden.
7 replies
TTask
Created by mateothegreat on 8/10/2024 in #help
Blocking Task?
3 replies
TTask
Created by Leon on 7/10/2024 in #help
Path to Taskfile from environment variable
Hey ! Can you fill a Github issue for this feature request ? Thanks !
3 replies
TTask
Created by GokulnathP on 7/2/2024 in #help
Running task fails in git hooks
Hello can you post a minimal reproducing example ? with a Taskfile.yml and the git hook you are using please 🙂
2 replies
TTask
Created by sedyh on 5/22/2024 in #help
Supply non-constant arguments to dynamic variable
Yes AFAIK, there is nothing to hide commands' output in Task You may need play with redirect stdout and stderr
13 replies
TTask
Created by sedyh on 5/22/2024 in #help
Supply non-constant arguments to dynamic variable
The first one is with silent: true The second with silent: false
13 replies
TTask
Created by sedyh on 5/22/2024 in #help
Supply non-constant arguments to dynamic variable
No description
13 replies
TTask
Created by sedyh on 5/22/2024 in #help
Supply non-constant arguments to dynamic variable
Yes 🙂 cmd in cmds are executed after being remplaced by the template engine
13 replies
TTask
Created by sedyh on 5/22/2024 in #help
Supply non-constant arguments to dynamic variable
No description
13 replies
TTask
Created by sedyh on 5/22/2024 in #help
Supply non-constant arguments to dynamic variable
Hello ! Something like that should work :
version: "3"
silent: true
vars:
DIR: cache
GUM: go run github.com/charmbracelet/gum@latest
tasks:
clean:
cmds:
- '{{.GUM}} confirm "Clean?" && rm -rf {{.DIR}}'
version: "3"
silent: true
vars:
DIR: cache
GUM: go run github.com/charmbracelet/gum@latest
tasks:
clean:
cmds:
- '{{.GUM}} confirm "Clean?" && rm -rf {{.DIR}}'
13 replies