2 releases (1 stable)

2.0.1 Oct 21, 2023
0.0.0 Oct 11, 2023

#13 in #hostname

MIT license

5KB
94 lines

HGET

Simple Terminal Utility: Resolves Hostnames

$ hget --help
Resolves Hostnames

Usage: hget [OPTIONS] <HOSTNAMES>...

Arguments:
  <HOSTNAMES>...

Options:
  -p, --port <PORT>  [default: 80]
  -c, --crash        crash upon non-ability to name-resolution
  -s, --show-domain  respectively displays the domain names wherein IP-address resolve
  -h, --help         Print help
  -V, --version      Print version

Examples

hget -s apple.com alphabet.xyz amazon.com meta.com

Dependencies

~1.1–1.7MB
~31K SLoC