Usage:
_..._
.-'_..._''. .---.
_________ _...._ _..._ _________ _...._ .' .' '.\ | |
\ |.' '-. .' '. \ |.' '-. / .' | |
\ .'''''. '. . .-. . \ .'''''. '. . ' .| | |
\ | \ \| ' ' | \ | \ \| | .' |_ | |
_ _ | | | || | | | | | | || | .' || |
| ' / | | \ / . | | | | | \ / . . ' '--. .-'| |
.' | .' | | |\''-.-' .' | | | | | |\''-.-' .' \ '. .| | | |
/ | / | | | '-....-'' | | | | | | '-....-'' '. '._____.-'/| | | |
| ''. | .' '. | | | | .' '. '-.______ / | '.''---'
' .'| '/'-----------' | | | |'-----------' ' | /
'-' '--' '--' '--' ''-'
Usage:
upnpctl [flags]
upnpctl [command]
Available Commands:
help Help about any command
monitor Monitor HTTPU packages and print them on stdout
scan Scan the network for possible Devices and persist them
Flags:
-h, --help help for upnpctl
Use "upnpctl [command] --help" for more information about a command.
Save a scan of your local network to a json file:
upnpctl scan > /tmp/scan.json
Scan the network for possible Devices and persist them
Usage:
upnpctl scan [flags]
Flags:
-h, --help help for scan
-j, --json --json (default true)
-n, --num int --num <num> (default 10)
-w, --wait int --wait <num> (default 30)
Monitor the device discovery (or other httpu packages):
upnpctl monitor
Monitor HTTPU packages and print them on stdout
Usage:
upnpctl monitor [flags]
Flags:
-a, --addr string --addr <hostname>:<port> (default "239.255.255.250:1900")
-h, --help help for monitor
-i, --iface string --iface <interfacename>
-m, --multicast --multicast <true|false> (default true)
-p, --print-body --print-body <true|false> (doesn't really make sense for ssdp discovery)