https://github.com/jsnjack/kazy-go
Highlights, filters and extracts string patterns from STDIN
https://github.com/jsnjack/kazy-go
colorization go golang stdin stdout
Last synced: about 2 months ago
JSON representation
Highlights, filters and extracts string patterns from STDIN
- Host: GitHub
- URL: https://github.com/jsnjack/kazy-go
- Owner: jsnjack
- Created: 2017-06-02T21:27:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-18T12:06:19.000Z (over 2 years ago)
- Last Synced: 2024-06-20T05:11:26.374Z (over 1 year ago)
- Topics: colorization, go, golang, stdin, stdout
- Language: Go
- Homepage:
- Size: 79.1 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
kažy-go
====### What is it?
kažy is an application that highlights, filters and extracts string patterns from STDIN### How to use?
```
$ kazy -h
Highlights, filters and extracts string patterns from STDINUsage:
kazy [...] [flags]Flags:
-b, --buffer int buffer size in KB (default 64)
-e, --exclude stringArray exclude from output lines which match provided patterns
-x, --extract count extract instead of highlighting. Can be provided multiple times to control which matched string is extracted
-h, --help help for kazy
-i, --include stringArray only include lines which match provided patterns
-l, --limit int limit the length of the line, characters
-r, --regexp use RegExp patterns instead of string patterns
--version print version and exit```
kažy is extremely useful when piping a command:
```bash
./kazy -h | ./kazy include exclude lines "match patterns" -e version
```
### How to install
```
grm install jsnjack/kazy-go
```