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::{ArgUrl, CmdArg};

/// The exists command definition.
pub struct CmdExists;

impl CmdExists {
    pub fn build<'a, 'b>() -> App<'a, 'b> {
        SubCommand::with_name("exists")
            .about("Check whether a remote file exists")
            .visible_alias("e")
            .alias("exist")
            .arg(ArgUrl::build())
    }
}