CLI Command Reference
The hayate binary provides a CLI for encrypted peer-to-peer LAN transfers. All subcommands support --help for live documentation.
hayate receive
Starts a receiver that listens for incoming file or directory transfers. Runs until interrupted or a transfer completes.
Usage: hayate receive [OPTIONS]
Options
Examples
Environment variables
hayate send
Transmits a file or directory to a receiver. Uses either direct addressing or pairing-code discovery.
Usage: hayate send [OPTIONS] <PATH> [TARGET]
Positional arguments
Options
Examples
hayate discover
Scans the local network for active Hayate receivers using high-concurrency QUIC probes.
Usage: hayate discover [OPTIONS]
Options
Examples
How it works
discover probes every host in the target subnet(s) with a QUIC handshake, measuring round-trip time. Results stream live as peers respond — you don't wait for the full scan. Priority hosts (gateways: .1-.3, .253-.254) are probed first.