mirror of
https://github.com/nushell/nushell
synced 2024-12-30 15:03:25 +00:00
0dd1403a69
* Add deserialization of Primitive::Duration; Fixes #2373 * Implement Sleep command * Add comment saying you should name your rest field "rest" * Fix typo * Add documentation for sleep command
21 lines
No EOL
269 B
Markdown
21 lines
No EOL
269 B
Markdown
# sleep
|
|
|
|
Delay for a specified amount of time
|
|
|
|
Syntax: `sleep <time> [additional_time]...`
|
|
|
|
## Flags
|
|
`-h`, `--help`
|
|
Display help message.
|
|
|
|
## Examples
|
|
|
|
Sleep for 3 seconds
|
|
```shell
|
|
> sleep 3sec
|
|
```
|
|
|
|
Sleep for 1 minute and 2 seconds
|
|
```shell
|
|
> sleep 1sec 1min 1sec
|
|
``` |