A modern alternative to watch command

Overview

neowatch

neowatch

Usage

USAGE:
    neowatch [OPTIONS] [SUBCOMMAND]

OPTIONS:
        --change-color 
   
          Color for changed text [word|ANSI|rr,gg,bb]
    -d, --differences               Highlight differences since last update
        --decrease-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 for increaseing numeric values
    -n, --interval 
      
                  Set update insterval [default: 1.0]
        --new-color 
       
         Color for new text [word|ANSI|rr,gg,bb] -p, --precise Attempt to run command at precise intervals --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
You might also like...
QuickDash A modern alternative to QuickSFV using Rust.
QuickDash A modern alternative to QuickSFV using Rust.

QuickDash A modern alternative to QuickSFV using Rust. It's supports BLAKE3 and BLAKE2 hashes, CRC32, MD5, SHA1, SHA2, SHA3, xxHash The docs for user

A modern alternative to ‘PDFtk Server’.

dugon A modern alternative to ‘PDFtk Server’. Features Merge PDF Documents Split PDF Pages into a New Document Rotate PDF Pages or Documents Decrypt I

A modern alternative to fortune(1).

lot A modern alternative to fortune(1). Author Kees van Voorthuizen License Licensed under either of Apache License, Version 2.0 (LICENSE-APACHE or ht

CLI app to display list of trending anime, music charts or recommend anime to watch or song to listen to.

Description Anitrendz is a cli app that uses data from the anitiop api to list the top anime and songs or recommend a random anime to watch or song to

tri-angle trader without trade, just watch pair's price change, print arbtrage chance.

tri-angle trader without trade, just watch pair's price change, print arbtrage chance.

A Tauri Plugin to watch the filesystem for changes

Tauri Plugin FSWatch This plugin provides a "classical" Tauri Plugin Interface to watch changes on files and directories through notify. Architecture

Watch output and trigger on diff!

watchdiff 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

Watch classic spongebob from the terminal
Watch classic spongebob from the terminal

Watch classic spongebob from the terminal! Remake of the original spongbob cli written in py by TrakBan

A Telegram bot to watch animes

AmimeWatch A Telegram bot to watch animes. Re-written version of AmimeWatch in Rust. Preparing Configuration Create a file named config.toml and fill

A ln scraper to read light novels and watch anime in your terminal (Written in rust)

Readme Table of content Why use kami Dependencies Install Linux/mac Windows Honorable mentions Why use kami Well its a fast and easy way to watch anim

Play or watch Othello in your terminal!
Play or watch Othello in your terminal!

othello-cli othello-cli is a cli version of Othello (Reversi) written in Rust. You can play against another player, the AI, or watch two AIs play each

Watch for changes on a webpage and do anything with it!

Sukurappa Watch for changes on a webpage and do anything with it! Install With cargo: cargo install sukurappa Or use the install-script and add $HOME/

Haylou Smart Watch 2 (LS02) reverse-engineering project

Haywatch Haywatch Hello Haylou Watch features Device communication General command structure Pairing Unpairing Battery Firmware Date and time Pulses U

A bit like tee, a bit like script, but all with a fake tty. Lets you remote control and watch a process

teetty teetty is a wrapper binary to execute a command in a pty while providing remote control facilities. This allows logging the stdout of a process

Core lightning (CLN) plugin to watch channel health, gossip health and ping amboss for online status

vitality Core lightning (CLN) plugin to watch channel health, gossip health and ping amboss for online status Installation Building Usage Telegram Opt

fcp is a significantly faster alternative to the classic Unix cp(1) command
fcp is a significantly faster alternative to the classic Unix cp(1) command

A significantly faster alternative to the classic Unix cp(1) command, copying large files and directories in a fraction of the time.

Terminal command correction, alternative to thefuck written in Rust
Terminal command correction, alternative to thefuck written in Rust

Pay Respects Typed a wrong command? Pay Respects will try to correct your wrong console command by simply pressing F! 🚀 Blazing fast suggestion: You

Terminal command correction, alternative to thefuck written in Rust
Terminal command correction, alternative to thefuck written in Rust

Pay Respects Typed a wrong command? Pay Respects will try to correct your wrong console command by simply pressing F! 🚀 Blazing fast suggestion: You

Comments
  • 'cargo install neowatch' fails on Windows

    'cargo install neowatch' fails on Windows

    Hi! Just tried to install neowatch on my box (rust 1.63.0 and 1.65.0-nightly)

    On stable , 'cargo install neowatch' fails with 4 errors :

    error[E0432]: unresolved import libc::SIGHUP --> C:\Users\olivier.cargo\registry\src\github.com-1ecc6299db9ec823\neowatch-0.1.3\src\signal.rs:1:41 | 1 | use libc::{c_int, sighandler_t, signal, SIGHUP, SIGINT, SIGTERM}; | ^^^^^^ no SIGHUP in the root

    error[E0554]: #![feature] may not be used on the stable release channel --> C:\Users\olivier.cargo\registry\src\github.com-1ecc6299db9ec823\neowatch-0.1.3\src\main.rs:1:12 | 1 | #![feature(termination_trait_lib)] | ^^^^^^^^^^^^^^^^^^^^^

    error[E0554]: #![feature] may not be used on the stable release channel --> C:\Users\olivier.cargo\registry\src\github.com-1ecc6299db9ec823\neowatch-0.1.3\src\main.rs:2:12 | 2 | #![feature(int_abs_diff)] | ^^^^^^^^^^^^

    error[E0053]: method report has an incompatible type for trait --> C:\Users\olivier.cargo\registry\src\github.com-1ecc6299db9ec823\neowatch-0.1.3\src\error.rs:48:24 | 48 | fn report(self) -> i32 { | ^^^ | | | expected struct ExitCode, found i32 | help: change the output type to match the trait: ExitCode | = note: expected fn pointer fn(Exit<'_>) -> ExitCode found fn pointer fn(Exit<'_>) -> i32

    On nightly (with the features that solves 2 of the 4 above errors), 'cargo install neowatch' fails with the 2 remaining errors :

    error[E0432]: unresolved import libc::SIGHUP --> C:\Users\olivier.cargo\registry\src\github.com-1ecc6299db9ec823\neowatch-0.1.3\src\signal.rs:1:41 | 1 | use libc::{c_int, sighandler_t, signal, SIGHUP, SIGINT, SIGTERM}; | ^^^^^^ no SIGHUP in the root

    error[E0053]: method report has an incompatible type for trait --> C:\Users\olivier.cargo\registry\src\github.com-1ecc6299db9ec823\neowatch-0.1.3\src\error.rs:48:24 | 48 | fn report(self) -> i32 { | ^^^ | | | expected struct ExitCode, found i32 | help: change the output type to match the trait: ExitCode | = note: expected fn pointer fn(Exit<'_>) -> ExitCode found fn pointer fn(Exit<'_>) -> i32

    2nd error : error message is explicit, should be easy to solve.

    1sr error : off course libc has SIGHUP etc. only for linux/*bsd/solaris etc. Unices. There are crates (e.g. ctrlc) to get portable CTRL-C handlers (i.e. not having to deal with winapi SetConsoleCtrlHandler on Windows).

    Hope this helps.

    opened by olivier-fs 2
Owner
Tavo Annus
Computer Science student at TalTech
Tavo Annus
A simple, fast and user-friendly alternative to 'find'

fd [中文] [한국어] fd is a program to find entries in your filesytem. It is a simple, fast and user-friendly alternative to find. While it does not aim to

David Peter 25.8k Dec 30, 2022
`cd` alternative. Navigate by typing abbreviation of paths.

kn /n/ kn is an alternative to cd. It lets you navigate quickly by typing abbreviations. It doesn't track frecency or any other statistics. WARNING: T

Mikołaj Powierża 70 Dec 30, 2022
A modern replacement for ps written in Rust

procs procs is a replacement for ps written in Rust. Documentation quick links Features Platform Installation Usage Configuration Features Output by t

null 3.6k Jan 5, 2023
A modern replacement for ‘ls’.

exa exa is a modern replacement for ls. README Sections: Options — Installation — Development exa is a modern replacement for the venerable file-listi

Benjamin Sago 20.3k Jan 6, 2023
Small command-line JSON Log viewer

fblog A small tool to view json log files. Filter To filter log messages it is possible to use lua fblog -f 'level ~= "info"' # will print all message

null 256 Jan 2, 2023
minimalistic command launcher in rust

rrun Note: Apart from the occasional fix, this project is not actively developed anymore. rrun works fine and should run/compile for the time being on

null 105 Nov 18, 2022
Performs distributed command execution, written in Rust w/ Tokio

Concurr: Distributed and Concurrent Command Execution, in Rust This project is dual licensed under MIT and Apache 2.0. Originally inspired by the GNU

Michael Murphy 93 Dec 18, 2022
The next gen ls command

LSD (LSDeluxe) Table of Contents Description Screenshot Installation Configuration External Configurations Required Optional F.A.Q. Contributors Credi

Pierre Peltier 9k Jan 2, 2023
Super-fast command aliases with arguments.

Bonnie Bonnie is a command aliasing tool. If you have a super-long command that you have to run all the time, Bonnie is for you! Just define the comma

arctic_hen7 58 Dec 22, 2022
tkn-watch - watch a PipelineRuns on its way to success or failures

tkn-watch - watch a PipelineRuns on its way to success or failures tkn-watch is a simple extension to the tkn command line tool that watches a Pipelin

Chmouel Boudjnah 11 Dec 15, 2022