Thanks to visit codestin.com
Credit goes to github.com

Skip to content

JeevesInc/hunt

Repository files navigation

Run Animals on the Loose

Hunt

Track down and eliminate unused translation keys with the precision of a predator! 🦁

Install

git clone https://github.com/JeevesInc/hunt.git
cd hunt
chmod +x install.sh
./install.sh

or build manually:

cargo build --release
mkdir -p ~/.local/bin
cp target/release/hunt ~/.local/bin/hunt

Then add ~/.local/bin to your PATH. Add this line to ~/.bashrc or ~/.zshrc:

export PATH="$HOME/.local/bin:$PATH"

Then reload your shell: source ~/.bashrc or source ~/.zshrc

Usage

Check for unused keys:

hunt public/locales/en-US/

Automatically remove unused keys:

hunt public/locales/en-US/ --clear

Demo

Demo Screenshot

About

A lion's hunt for dead translation keys in your codebase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published