sleep

Crates.iosleep
lib.rssleep
version1.0.2
sourcesrc
created_at2020-06-09 08:44:56.20401
updated_at2023-12-18 17:56:03.233362
descriptionsimple sleep tool for windows
homepage
repositoryhttps://github.com/hardliner66/sleep-rs
max_upload_size
id251825
size8,428
Steve Biedermann (hardliner66)

documentation

README

sleep

About

Windows has no simple tool or command to wait for a certain amount of time while executing a batch file.

I already have rust installed on all my computers so I thought it would be fitting to create a simple sleep command which can be installed directly through cargo.

Installation & Update

With cargo:

cargo install sleep --force

Command Line

sleep 1.0
Sleep for a given amount of time

USAGE:
    sleep <TIME>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <TIME>    The time to sleep in milliseconds

Examples

Sleep for one second:

sleep 1000
Commit count: 9

cargo fmt