@go-task/cli
Advanced tools
Changelog
v3.28.0 - 2023-07-24
for
(#82, #1220 by @pd93).--exit-code
code flag was not returning the correct
exit code when calling commands indirectly (#1266, #1270 by @pd93).nil
panic when a dependency was commented out or left empty (#1263
by @neomantra).Changelog
v3.27.1 - 2023-06-30
.env
directory (not file) is present on current directory
(#1244, #1245 by @pd93).Changelog
v3.27.0 - 2023-06-29
taskfile.yml
, taskfile.yaml
, taskfile.dist.yml
&
taskfile.dist.yaml
--experiments
flag to allow you to see which experiments are
enabled (#1242 by @pd93).Changelog
v3.26.0 - 2023-06-10
.task
if the checksum has changed (#1185,
#1194 by @deviantintegral).version: 2
schema. This will be removed in the next major release
(#1197, #1198, #1199 by @pd93).prompt:
prop to set a warning prompt to be shown before running
a potential dangerous task (#100, #1163 by @MaxCheetham,
Documentation).cmd:
in a task, avoiding the more complex
cmds: []
when you have only a single command for that task (#1130, #1131 by
@timdp).Changelog
v3.25.0 - 2023-05-22
silent:
when calling another tasks (#680, #1142 by @danquah).version
is omitted from a Taskfile (#1148,
#1149 by @pd93).Changelog
v3.24.0 - 2023-04-15
master
to main
(#1049, #1048 by
@pd93)..hg
(Mercurial) to the list of ignored directories when using --watch
(#1098 by @misery).--sort
flag for use with --list
and --list-all
(#946, #1105 by
@pd93).Changelog
v3.23.0 - 2023-03-26
Task now has an
official extension for Visual Studio Code
contributed by @pd93! :tada: The extension is maintained in a
new repository under the go-task
organization. We're looking to gather feedback from the community so please give
it a go and let us know what you think via a
discussion,
issue or on our
Discord!
NOTE: The extension requires v3.23.0 to be installed in order to work.
--json
flag output (#1056 by @pd93)task --init
from Taskfile.yaml
to
Taskfile.yml
(#1062 by @misitebao).splitArgs
template function
({{splitArgs "foo bar 'foo bar baz'"}}
) to ensure string is split as
arguments (#1040, #1059 by @dhanusaputra).{{.CHECKSUM}}
variable in status (#1076, #1080 by @pd93).Changelog
v3.22.0 - 2023-03-10
--global
(-g
) flag that will run a Taskfile from your
$HOME
directory. This is useful to have automation that you can run from
anywhere in your system!
(Documentation, #1029
by @andreynering).error_only: true
on the group
output mode. This will
instruct Task to only print a command output if it returned with a non-zero
exit code (#664, #1022 by @jaedle)..task/checksum
file was sometimes not being created when
task also declares a status:
(#840, #1035 by @harelwa, #1037 by @pd93).run: once
(#715, #1025 by
@theunrepentantgeek).Changelog
v3.21.0 - 2023-02-22
TASK_VERSION
special variable (#990, #1014 by @ja1code).FORCE_COLOR
support to force color output.
Useful for environments without TTY (#1003 by @automation-stack)Changelog
v3.20.0 - 2023-01-14
timestamp
mode (#976, #977 by @aminya).set
and
shopt
builtins (#908, #929 by @pd93,
Documentation).platforms:
attribute to task
and cmd
, so it's now possible to
choose in which platforms that given task or command will be run on. Possible
values are operating system (GOOS), architecture (GOARCH) or a combination of
the two. Example: platforms: [linux]
, platforms: [amd64]
or
platforms: [linux/amd64]
. Other platforms will be skipped (#978, #980 by
@leaanthony).