mirror of
https://github.com/NotAShelf/go-grep-cache.git
synced 2024-11-22 15:40:42 +00:00
docs: add usage instructions
This commit is contained in:
parent
746520f13a
commit
5f605ec92e
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -2,4 +2,18 @@
|
||||||
|
|
||||||
> Go port of https://github.com/delroth/grep-nixos-cache
|
> Go port of https://github.com/delroth/grep-nixos-cache
|
||||||
|
|
||||||
|
"A tool to efficiently grep the contents of many NixOS store paths for a given string to find. The main use case is looking for vendored libraries through the entirety of a Hydra evaluation."
|
||||||
|
|
||||||
**I'm petty, sue me.**
|
**I'm petty, sue me.**
|
||||||
|
|
||||||
|
# How to use
|
||||||
|
|
||||||
|
```console
|
||||||
|
grep-nixos-cache --needle "what-to-search" --path ""/nix/store/...""
|
||||||
|
```
|
||||||
|
|
||||||
|
# Why does this exist?
|
||||||
|
|
||||||
|
1. I don't want Rust on my system
|
||||||
|
2. I don't want flake-utils on my system
|
||||||
|
3. Felt like it
|
||||||
|
|
Loading…
Reference in a new issue