CLI tool to inform the region where a phone number is from.
To install, use go get
:
$ go get github.com/ryoma123/phong/...
Pass one phone number as an argument.
$ phong 0363849000
🇯🇵 Japan -- Tokyo
$ phong 092-651-1111
🇯🇵 Japan -- Fukuoka, Fukuoka
Default is Japan. Other countries use country calling code or specify the country code using the region option.
$ phong +41446681800
🇨🇭 Switzerland -- Zurich
$ phong -r US 6502530000
🇺🇸 United States of America -- Mountain View, CA
Display a help message.
Show the list of country code (alpha-2).
$ phong l
Display all 249 lines? (Y or n)
🇦🇲 AM -- Armenia
🇨🇦 CA -- Canada
🇳🇿 NZ -- New Zealand
...
Pass phone number region. (default: JP)
Display the version of phong.