cli
cli copied to clipboard
Official Command Line Interface for the IPinfo API (IP geolocation and other types of IP data)
Originally tracking this work in #3 but splitting this out as a more specific issue. Allow users to download and get automatic updates for our binaries via Windows package managers...
This returns really messed up CSV output because the fields aren't quoted: ```bash $ printf "%s\n" 43.250.184.0 43.250.186.0 43.250.187.0 | ipinfo -f abuse ip,abuse_address,abuse_country,abuse_country_name,abuse_email,abuse_name,abuse_network,abuse_phone Flat C, 23/F, Lucky Plaza,, 315-321...
If we get a 401 due to using a token that doesn't have permissions for that API, we should show a better error. Here's what we currently show: ```bash $...
I added support for bulk ip info requests using domain names. The CLI now attempts to solve the ip of a domain even in bulk mode. It does this just...
I would like to use domain names directly in the bulk command, like `ipinfo bulk 1.1.1.1 github.com` I actually made a PR for this in https://github.com/ipinfo/cli/pull/89.
Similar to `grepip`, but for domains! Would convert to punycode by default (https://pkg.go.dev/golang.org/x/net/idna), but could be passed `-np` to avoid the processing.
Presently the utility would just return an IP defined at the start of a CIDR block or the IPs on either end of an IP range. It would be great...
Right now we don't support looking up ASNs in bulk, but it's a useful feature to have. In the process, we should actually support mixing together IPs & ASNs in...
Flags like `ipinfo --help` or `ipinfo -h` are not getting suggested in auto-completion; only the subcommands are. This is a bug in the completion fork we made: fix it to...
CLI currently lets you paste in an existing API token. It'd be awesome if it supported signing up for a new token and creating an account from the CLI. Would...