yapv

Crates.ioyapv
lib.rsyapv
version0.2.0
sourcesrc
created_at2020-07-12 05:01:06.114912
updated_at2023-02-22 06:05:23.389883
descriptionYest Another Pipe Viewer
homepagehttps://github.com/kromych/yapv
repositoryhttps://github.com/kromych/yapv
max_upload_size
id264302
size23,399
(kromych)

documentation

README

Yet Another Pipe Viewer

This is an educational project that follows the Packt's book on system programming in Rust. The utility is similar to pv, and outputs number of bytes processed and statistics.

Command line parameters:

Yet Another Pipe Viewer 

USAGE:
    yapv [FLAGS] [OPTIONS] [infile]

FLAGS:
    -h, --help       Prints help information
    -s, --silent     Be silent. Also can set YAPV_SILENT for the effect
    -V, --version    Prints version information

OPTIONS:
    -o, --outfile <outfile>    Write to a file rather than stdout

ARGS:
    <infile>    Read from a file rather than stdin

Here is a fun example to give you an idea:


yes | target/release/yapv -o /dev/null

Commit count: 20

cargo fmt