ipinfo-cli allowing you to lookup IP deltails, ASN, IP geolocation,
IP CIDR, IP range.

WWW: https://github.com/ipinfo/cli
