2 hours ago · Tech · hide · 0 comments

♠ hwatch: hwatch: alternative watch command with history, diff view, JSONL logging, and change hooks. since 2018. Or, even better, from its man page hwatch(1): hwatch is like watch command, repeatedly executes a command and displays its output. However, the output results can be scrolled and displayed. In addition, the difference of the execution result is recorded with the time stamp, and it can be checked later. When checking, it is also possible to display the diff with the previous difference together. This is the first project I’ve ever stumbled upon that (i) is written in Rust, and (ii) doesn’t brag about being written in Rust. Am I having a dream? Not kidding, there’s not a single mention of Rust in its README.md. As usual, it is available via your favorite package manager. I particularly like: that records the result of command execution, can display it history and diffs […] A simple way to test it: % hwatch git status Then make a silly change like: % touch foo It behaves just…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.