cli
cli copied to clipboard
Official Command Line Interface for the IPinfo API (IP geolocation and other types of IP data)
fixed #85
fixed #101
closes #107
An IP tool subcommand `ipinfo tool upper ` -> `end IP of input`. Input can also be retrieved via `stdin`, in a stream, so multiple outputs are possible.
An IP tool subcommand `ipinfo tool lower ` -> `start IP of input`. Input can also be retrieved via `stdin`, in a stream, so multiple outputs are possible.
I think this can technically be done in Python and other languages without any rocket science, but just throwing ideas here anyway: An expression resolving subcommand that implements a very...
``` $ ipinfo splitCidr 1.1.1.0/24 25 1.1.1.0/25 1.1.1.128/25 $ ipinfo splitCidr 1.1.1.0/24 27 1.1.1.0/27 1.1.1.32/27 1.1.1.64/27 1.1.1.96/27 1.1.1.128/27 1.1.1.160/27 1.1.1.192/27 1.1.1.224/27 ```
Those flags currently properly auto-complete for e.g. `myip`, `bulk`, etc., but we currently aren't able to easily specify that completion must occur for the raw IP / ASN subcommands. Find...
Here's some new subcommand ideas: - `ipinfo calc ` - `ipinfo ip2n` (ip to number) - `ipinfo n2ip` (number to ip - v4 if it fits, v6 otherwise, with an...
Sometime ago, I used the /me EP to validate the token during auth. The /me EP actually returns usefull quota information, but at this point it is not used. I...