4 releases (2 breaking)
0.3.1 | Nov 19, 2024 |
---|---|
0.3.0 | Aug 3, 2023 |
0.2.0 | Mar 15, 2022 |
0.1.0 | Oct 28, 2021 |
#252 in Unix APIs
207 downloads per month
17KB
watchr
This is a tool similar to Linux watch(1)
which runs your command periodically. The enhancement in this tool over that one is that this
one allows you to see the history of the runs if you want to compare your command's current output
with an iteration a few seconds ago.
Installation
cargo install watchr
This will deploy a binary named wr
in your .cargo
directory.
Usage
Incomplete `GNU cat` in Rust for learning purposes
Usage: wr [OPTIONS] <command>
Arguments:
<command>
Options:
-c
-d <duration> [default: 1]
-h, --help Print help
-V, --version Print version
Caveats
- Does not support error propagation if exit code is not 0 of your command
- Linux only
Dependencies
~1.1–1.7MB
~32K SLoC