Watch output and trigger on diff!
Ever want to have watch
output only tell you what changed? And not only what, but when? Now you can! Enter: watchdiff
.
Watchdiff will monitor command output and will output in the terminal whenever a difference was detected in the output of the running program.
```bash USAGE: watchdiff [FLAGS] [OPTIONS] [command]...
FLAGS: -h, --help Prints help information -p, --permament Compare to the initial output (permament mode) -V, --version Prints version information
OPTIONS:
-d, --delay
ARGS:
To run a command with arguments use --
to escape watchdiff
s argument parser, like so:
watchdiff -n 5 -- ls -alh
If you have Rust and Cargo installed, Watchdiff can be quickly compiled and installed by running the following command:
cargo install watchdiff
This will install Watchdiff to ~/.cargo/bin/watchdiff, which might need to be added to your shell's PATH variable.