Crates.io | mamegrep |
lib.rs | mamegrep |
version | 0.3.0 |
created_at | 2025-02-25 23:57:20.098734+00 |
updated_at | 2025-04-29 06:23:03.285544+00 |
description | Git grep TUI frontend |
homepage | https://github.com/sile/mamegrep |
repository | https://github.com/sile/mamegrep |
max_upload_size | |
id | 1569829 |
size | 484,797 |
mamegrep
offers an interactive terminal interface (TUI) for $ git grep
, allowing users to easily edit search patterns and view results.
Pre-built binaries for Linux and MacOS are available in the releases page.
// An example to download the binary for Linux.
$ VERSION=0.2.1
$ curl -L https://github.com/sile/mamegrep/releases/download/v${VERSION}/mamegrep-${VERSION}.x86_64-unknown-linux-musl -o mamegrep
$ chmod +x mamegrep
$ ./mamegrep -h
If you have installed cargo
(the package manager for Rust), you can install mamegrep
with the following command:
$ cargo install mamegrep
$ mamegrep -h
Please refine the following section:
To use mamegrep
, execute the command within a Git directory.
Once launched, key bindings will appear in the top-right corner of the terminal.
To perform a search, enter your search pattern and press the Enter key.
If mamegrep
exits, the equivalent $ git grep
command used to generate the result will be displayed in the standard output.
$ git diff
and $ git apply