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
pub mod completions;

use clap::{App, AppSettings, SubCommand};

use completions::CmdCompletions;

/// The generate command definition.
pub struct CmdGenerate;

impl CmdGenerate {
    pub fn build<'a, 'b>() -> App<'a, 'b> {
        SubCommand::with_name("generate")
            .about("Generate assets")
            .visible_alias("gen")
            .setting(AppSettings::SubcommandRequiredElseHelp)
            .subcommand(CmdCompletions::build())
    }
}