quick-file-transfer 0.10.2

Transfer files quickly, safely, and painlessly between hosts on a local network
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::config::util::*;

#[derive(Debug, Args, Clone)]
#[command(flatten_help = true)]
pub struct MdnsResolveArgs {
    /// mDNS hostname to resolve e.g. `foo` (translates to `foo.local.`)
    pub hostname: String,
    /// Sets a timeout in milliseconds (default 10s)
    #[arg(long, default_value_t = 1000)]
    pub timeout_ms: u64,
    /// Exit as soon as the first IP of the specified hostname has been resolved
    #[arg(short, long, action = ArgAction::SetTrue)]
    pub short_circuit: bool,
}