Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.57 KB

readme.md

File metadata and controls

53 lines (41 loc) · 1.57 KB
$ hivemind-presence --help
Usage: hivemind-presence [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  announce  Advertise node in the local network
  scan      scan for hivemind nodes in the local network
$ hivemind-presence announce --help
Usage: hivemind-presence announce [OPTIONS]

  Advertise node in the local network

Options:
  --port INTEGER      HiveMind port number (default: 5678)
  --name TEXT         friendly device name (default: HiveMind-Node)
  --service TEXT      HiveMind service type (default: HiveMind-websocket)
  --zeroconf BOOLEAN  advertise via zeroconf
  --upnp BOOLEAN      advertise via UPNP
  --ssl BOOLEAN       report ssl support
  --help              Show this message and exit.
$ hivemind-presence scan --help
Usage: hivemind-presence scan [OPTIONS]

 scan for hivemind nodes in the local network

Options:
 --zeroconf BOOLEAN  scan via zeroconf
 --upnp BOOLEAN      scan via UPNP
 --help              Show this message and exit.


$ hivemind-presence scan
            HiveMind Nodes            
┏━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━┓
┃ Friendly Name ┃ Host         ┃ Port ┃
┡━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━┩
│   living_room │ 192.168.1.9  │ 5678 │
│       kitchen │ 192.168.1.13 │ 5678 │
└───────────────┴──────────────┴──────┘