diff --git a/Taskfile.yaml b/Taskfile.yaml index c3b7bca..443e678 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -28,6 +28,38 @@ tasks: silent: true cmds: ["task -l"] + init: + desc: Initialize workstation dependencies with Brew + cmds: + - brew install {{.DEPS}} {{.CLI_ARGS}} + preconditions: + - sh: command -v brew + msg: | + Homebrew is not installed. Using MacOS, Linux or WSL? + Head over to https://brew.sh to get up and running. + vars: + DEPS: >- + age + ansible + direnv + derailed/k9s/k9s + fluxcd/tap/flux + go-task/tap/go-task + helm + ipcalc + jq + kubernetes-cli + kustomize + pre-commit + prettier + sops + stern + terraform + tflint + weaveworks/tap/gitops + yamllint + yq + configure-venv: desc: Install or upgrade the Python virtual env cmds: