#watch #command #modern #color #text #numeric

app neowatch

A modern alternative to watch command

6 releases

0.2.1 Feb 24, 2023
0.2.0 Sep 6, 2022
0.1.3 Jan 15, 2022
0.1.2 Oct 30, 2021

#2452 in Command line utilities

LGPL-2.1

19KB
412 lines

neowatch

neowatch

Usage

USAGE:
    neowatch [OPTIONS] [SUBCOMMAND]

OPTIONS:
        --change-color <COLOR>      Color for changed text [word|ANSI|rr,gg,bb]
    -d, --differences               Highlight differences since last update
        --decrease-color <COLOR>    Color for decreasing numeric values
    -e, --errexit                   Exit on non-zero return code
    -g, --chgexit                   Exit on output change
    -h, --help                      Print help information
        --increase-color <COLOR>    Color for increaseing numeric values
    -n, --interval <SECS>           Set update insterval [default: 1.0]
        --new-color <COLOR>         Color for new text [word|ANSI|rr,gg,bb]
    -p, --precise                   Attempt to run command at precise intervals
        --radix <radix>             Radix for numbers [default: 10]
    -V, --version                   Print version information
    -z, --number-changes            Highlight number changes based on increase/decrease

Example

neowatch -n 0.1 --new-color=magenta --change-color=255,155,0 -d sensors

Installation

Currently the neowatch app is available on crates.io

cargo install neowatch

Dependencies

~2.5–9MB
~87K SLoC