#watch #command #unix

app unix-watch

Simple rust implementation of the Unix watch command

1 unstable release

0.1.0 Apr 17, 2023

#1486 in Filesystem

27 downloads per month

Apache-2.0

14KB
74 lines

unix-watch

Crates.io CI

Installation

Install with:

cargo install --git https://github.com/MilesCranmer/unix-watch

You can then execute the binary with:

watch [-n <seconds>] -- <command>

Note that unlike the watch command on Linux, you must separate CLI flags from the command with a --. Note also that only the -n flag is supported. ANSI color codes are forwarded automatically.

License

Licensed under

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Dependencies

~3–11MB
~68K SLoC