Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/twe4ked/hl
Highlight patterns.
https://github.com/twe4ked/hl
command-line rust unix
Last synced: 29 days ago
JSON representation
Highlight patterns.
- Host: GitHub
- URL: https://github.com/twe4ked/hl
- Owner: twe4ked
- Created: 2017-11-05T05:23:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-21T23:44:39.000Z (over 4 years ago)
- Last Synced: 2024-10-06T03:54:41.201Z (about 1 month ago)
- Topics: command-line, rust, unix
- Language: Rust
- Homepage: https://crates.io/crates/hl
- Size: 96.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hl
![](https://raw.githubusercontent.com/twe4ked/hl/master/screenshot.png)
## Help
```
USAGE:
hl [OPTIONS]FLAGS:
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
--black Highlight PATTERN in black
-b, --blue Highlight PATTERN in blue
-c, --cyan Highlight PATTERN in cyan
--dark-blue Highlight PATTERN in dark-blue
--dark-cyan Highlight PATTERN in dark-cyan
--dark-green Highlight PATTERN in dark-green
--dark-grey Highlight PATTERN in dark-grey
--dark-magenta Highlight PATTERN in dark-magenta
--dark-red Highlight PATTERN in dark-red
--dark-yellow Highlight PATTERN in dark-yellow
-g, --green Highlight PATTERN in green
--grey Highlight PATTERN in grey
-m, --magenta Highlight PATTERN in magenta
-r, --red Highlight PATTERN in red
-w, --white Highlight PATTERN in white
-y, --yellow Highlight PATTERN in yellow
```## Example:
```
$ cargo install hl
$ hl --red foo\ bar\ baz --blue ba --green bar < fixtures/example.txt
```