publicip 0.3.0

Get the public ipv4 or ipv6 address
Documentation

publicip

Get your public IP addreess

Install

cargo install publicip

Usage

USAGE:
    publicip [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -4, --ipv4 <ipv4>    Return the IPv4 address [default: true]
    -6, --ipv6 <ipv6>    Return the IPv6 address [default: false]

Examples

$ publicip
10.11.12.10

License

MIT