hl

Crates.iohl
lib.rshl
version0.4.0
sourcesrc
created_at2020-03-21 03:52:17.97192
updated_at2020-03-21 23:42:30.615632
descriptionHighlight patterns.
homepage
repositoryhttps://github.com/twe4ked/hl
max_upload_size
id220864
size96,550
Odin Dutton (twe4ked)

documentation

README

hl

Help

USAGE:
    hl [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --black <PATTERN>           Highlight PATTERN in black
    -b, --blue <PATTERN>            Highlight PATTERN in blue
    -c, --cyan <PATTERN>            Highlight PATTERN in cyan
        --dark-blue <PATTERN>       Highlight PATTERN in dark-blue
        --dark-cyan <PATTERN>       Highlight PATTERN in dark-cyan
        --dark-green <PATTERN>      Highlight PATTERN in dark-green
        --dark-grey <PATTERN>       Highlight PATTERN in dark-grey
        --dark-magenta <PATTERN>    Highlight PATTERN in dark-magenta
        --dark-red <PATTERN>        Highlight PATTERN in dark-red
        --dark-yellow <PATTERN>     Highlight PATTERN in dark-yellow
    -g, --green <PATTERN>           Highlight PATTERN in green
        --grey <PATTERN>            Highlight PATTERN in grey
    -m, --magenta <PATTERN>         Highlight PATTERN in magenta
    -r, --red <PATTERN>             Highlight PATTERN in red
    -w, --white <PATTERN>           Highlight PATTERN in white
    -y, --yellow <PATTERN>          Highlight PATTERN in yellow

Example:

$ cargo install hl
$ hl --red foo\ bar\ baz --blue ba --green bar < fixtures/example.txt
Commit count: 34

cargo fmt