A lightweight Go CLI that fetches WHOIS records for domains from the terminal, optimized for quick, scriptable lookups.
brew tap bilalbaraz/tap
brew install bilalbaraz/tap/whoiswhois lookup <domain> [flags]--rawPrints only the raw WHOIS response (no server header).--jsonPrints the response as JSON (parsed fields; falls back to raw when parsing fails).--serverManually set the WHOIS server (host only). Overrides automatic referral lookup.
No config file. All behavior is controlled via CLI flags.
- Errors are printed to stderr and exit with code 1 on invalid input.