Skip to content

prabirshrestha/publicip.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Get the public ipv4 or ipv6 address

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages