Skip to content

Commit

Permalink
Updated tasks reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Casabianca committed Sep 5, 2024
1 parent f7288cc commit 1822523
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ Arguments:

- print: text to print (string).
- color: text color (string).
- noreturn: if set to true, do not print a newline at the end (bool, optional).

Possible colors are black, red, green, yellow, blue, magenta, cyan and white.

Expand Down Expand Up @@ -623,13 +624,15 @@ Sleep given number of seconds.
Arguments:

- sleep: duration to sleep in seconds (float).
- mute: if set to true, do not print a message (bool, optional).

Examples:

# sleep for 1.5 seconds
- sleep: 1.5
# sleep for 3 seconds (3.0 as a float)
# sleep for 3 seconds without message
- sleep: 3.0
mute: true

## start

Expand Down

0 comments on commit 1822523

Please sign in to comment.