sndr 0.3.0

Easily and securely share files from the command line. A fully featured Send client (formerly ffsend, rebranded by tarnover).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use clap::{App, SubCommand};

use crate::cmd::arg::{ArgHost, CmdArg};

/// The version command definition.
pub struct CmdVersion;

impl CmdVersion {
    pub fn build<'a, 'b>() -> App<'a, 'b> {
        SubCommand::with_name("version")
            .about("Determine the Send server version")
            .alias("ver")
            .visible_alias("v")
            .arg(ArgHost::build())
    }
}