rgf

command module
v0.0.0-...-c467671 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2019 License: MIT Imports: 11 Imported by: 0

README

rgf

A wrapper around ripgrep to check for various common patterns.

Heavily inspired by the great gf project.

Why?

While developing my Osmedeus I found myself needing to grep a lot patterns for file and folder so I wrote rgf.

Usage

Config rgf
go get github.com/j3ssie/rgf

then add signatures to ~/.rgf/ folder.

Example command
rgf

rgf -dir /folder/to/grep/
rgf -file whateverfile
rgf -dir /folder/to/grep/ url

Adding pattern

./rgf.py -add url 'https?://(?:[-\w.]|(?:%[\da-fA-F]{2}))+

or just create it manually in ~/.rgf/your_pattern.json

Contact

@j3ssiejjj

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL