wc.rs

ws impl with Rust

View the Project on GitHub PrivateRookie/wc.rs

wc.rs

ws impl with Rust

Installation & Usage

git clone https://github.com/PrivateRookie/wc.rs.git

cd wc.rs

cargo install .

wcrs --help

wc.rs 0.1.0
PrivateRookie <996514515@qq.com>
wc impl with Rust

USAGE:
    wcrs [FLAGS] <FILE>...

FLAGS:
    -m, --chars         Prints the character counts
    -h, --help          Prints help information
    -l, --lines         Prints the new line counts
        --no-color      Disable colorful output
        --no-headers    Do not show headers
        --no-sep        Disable sep in output
        --pure          Use pure mode
    -V, --version       Prints version information
    -w, --words         Prints the words counts

ARGS:
    <FILE>...    File path(s) to run wc

Sample

default

default

disable color

no_color

no column sep

no_sep

no decorators

pure