Find a suitable IP host to access local network-based applications.
Inspired on dev-ip by @shakyShane.
pip install dev-ip
$ devip --help
Usage: devip [OPTIONS]
Find a suitable IP host to access local network-based applications.
Options:
-a, --all List all IP addresses.
-r, --reverse List in reverse order.
-l, --loopback Include loopback.
--help Show this message and exit.
$ devip
192.168.1.45
$ devip -la
127.0.0.1
192.168.1.45
python -m http.server --bind $(devip)