@rehydra/cli
v0.6.3
Published
CLI for Rehydra PII anonymization — anonymize, rehydrate, and inspect text from the terminal
Maintainers
Readme
@rehydra/cli
Command-line interface for Rehydra PII anonymization.
Install
npm install -g @rehydra/cliUsage
# Anonymize text
echo "Contact [email protected]" | rehydra anonymize
# Anonymize a file
rehydra anonymize input.txt -o output.txt
# Rehydrate (restore original PII)
rehydra rehydrate output.txt
# Inspect (dry-run, shows detected PII)
rehydra inspect input.txt
# Enable NER (detects names, orgs, locations)
rehydra anonymize input.txt --ner quantized
# JSON output
rehydra anonymize input.txt -f json
# Full help
rehydra --helpSee the main repo for full documentation.
