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
17
18
use clap::{App, SubCommand};

use crate::cmd::arg::{ArgOwner, ArgPassword, ArgUrl, CmdArg};

/// The info command definition.
pub struct CmdInfo;

impl CmdInfo {
    pub fn build<'a, 'b>() -> App<'a, 'b> {
        SubCommand::with_name("info")
            .about("Fetch info about a shared file")
            .visible_alias("i")
            .alias("information")
            .arg(ArgUrl::build())
            .arg(ArgOwner::build())
            .arg(ArgPassword::build())
    }
}