@@ -99,9 +99,9 @@ from stdin, you must specify the `-t/--taskfile` flag with the special `-`
9999value. You may then pipe into Task as you would any other program :
100100
101101` ` ` shell
102- task -t - <(cat ./Taskfile.yml)
102+ taskr -t - <(cat ./Taskfile.yml)
103103# OR
104- cat ./Taskfile.yml | task -t -
104+ cat ./Taskfile.yml | taskr -t -
105105` ` `
106106
107107# # Environment variables
@@ -341,7 +341,7 @@ tasks:
341341If you run `task -a` it will print :
342342
343343` ` ` sh
344- task : Available tasks for this project:
344+ taskr : Available tasks for this project:
345345* greet:
346346* foo
347347` ` `
@@ -1187,7 +1187,7 @@ listed below (most important first):
11871187Example of sending parameters with environment variables :
11881188
11891189` ` ` shell
1190- $ TASK_VARIABLE=a-value task do-something
1190+ $ TASK_VARIABLE=a-value taskr do-something
11911191` ` `
11921192
11931193:: : tip
@@ -1201,7 +1201,7 @@ Since some shells do not support the above syntax to set environment variables
12011201command.
12021202
12031203` ` ` shell
1204- $ task write-file FILE=file.txt "CONTENT=Hello, World!" print "MESSAGE=All done!"
1204+ $ taskr write-file FILE=file.txt "CONTENT=Hello, World!" print "MESSAGE=All done!"
12051205` ` `
12061206
12071207Example of locally declared vars :
@@ -1758,14 +1758,14 @@ and store the result in the `.SERVICE` variable which is then echoed out in the
17581758cmds :
17591759
17601760` ` ` shell
1761- $ task start:foo
1761+ $ taskr start:foo
17621762Starting foo
17631763` ` `
17641764
17651765You can use whitespace in your arguments as long as you quote the task name :
17661766
17671767` ` ` shell
1768- $ task "start:foo bar"
1768+ $ taskr "start:foo bar"
17691769Starting foo bar
17701770` ` `
17711771
@@ -1774,7 +1774,7 @@ be used. If you are using included Taskfiles, tasks in parent files will be
17741774considered first.
17751775
17761776` ` ` shell
1777- $ task start:foo:3
1777+ $ taskr start:foo:3
17781778Starting foo with 3 replicas
17791779` ` `
17801780
@@ -2002,8 +2002,8 @@ tasks:
20022002` ` `
20032003
20042004` ` ` shell
2005- ❯ task dangerous
2006- task : "This is a dangerous command... Do you want to continue?" [y/N]
2005+ ❯ taskr dangerous
2006+ taskr : "This is a dangerous command... Do you want to continue?" [y/N]
20072007` ` `
20082008
20092009Prompts can be a single value or a list of prompts, like below :
@@ -2029,7 +2029,7 @@ will exit with [exit code](/docs/reference/cli#exit-codes) 205. If approved,
20292029Task will continue as normal.
20302030
20312031` ` ` shell
2032- ❯ task example
2032+ ❯ taskr example
20332033not dangerous command
20342034task: "This is a dangerous command. Do you want to continue?" [y/N]
20352035y
@@ -2220,7 +2220,7 @@ tasks:
22202220` ` `
22212221
22222222` ` ` shell
2223- $ task default
2223+ $ taskr default
22242224::group::default
22252225Hello, World!
22262226::endgroup::
@@ -2245,8 +2245,8 @@ tasks:
22452245` ` `
22462246
22472247` ` ` shell
2248- $ task passes
2249- $ task errors
2248+ $ taskr passes
2249+ $ taskr errors
22502250output-of-errors
22512251task: Failed to run task "errors": exit status 1
22522252` ` `
@@ -2278,7 +2278,7 @@ tasks:
22782278` ` `
22792279
22802280` ` ` shell
2281- $ task default
2281+ $ taskr default
22822282[print-foo] foo
22832283[print-bar] bar
22842284[print-baz] baz
0 commit comments