//! Shared CLI options between controller and breakpoint.
use clap::ValueEnum;
/// Which underlying transport to use.
#[derive(Clone, Debug, PartialEq, Eq, ValueEnum)]
pub(crate) enum ConnectVia {
/// Controller listens for a TCP callback. Port-forwarding may be
/// required. See `--tcp-call` and `--tcp-listen`.
Tcp,
/// Negotiate a connection over Magic Wormhole. May involve
/// passing the encrypted communications through a public relay.
Wormhole,
}