Track down and eliminate unused translation keys with the precision of a predator! 🦁
git clone https://github.com/JeevesInc/hunt.git
cd hunt
chmod +x install.sh
./install.shor build manually:
cargo build --release
mkdir -p ~/.local/bin
cp target/release/hunt ~/.local/bin/huntThen 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
Check for unused keys:
hunt public/locales/en-US/Automatically remove unused keys:
hunt public/locales/en-US/ --clear