This is an attempt to move a modified gogrep from the go-ruleguard project, so it can be used independently.
This repository contains two Go modules. One for the gogrep library and the second one for the command-line tool.
To get a gogrep library module, install the root Go module.
$ go get github.com/quasilyte/gogrep
To get a gogrep command-line tool, install the cmd/gogrep
Go submodule.
$ go install github.com/quasilyte/gogrep/cmd/gogrep@latest
See docs/gogrep_cli.md to learn how to use it.
A gogrep library is used by:
The original gogrep is written by the Daniel Martí.