An open API service indexing awesome lists of open source software.

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

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 STDIN

Usage:
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
```
![ScreenShot](https://raw.githubusercontent.com/jsnjack/kazy-go/master/screenshot.png)

### How to install

```
grm install jsnjack/kazy-go
```