WIP on simple disk serve

This commit is contained in:
Dominik Werder
2021-03-31 22:17:54 +02:00
commit 6dbc7cb605
14 changed files with 359 additions and 0 deletions

20
retrieval/src/cli.rs Normal file
View File

@@ -0,0 +1,20 @@
use clap::{Clap, crate_version};
#[derive(Debug, Clap)]
#[clap(name="retrieval", author="Dominik Werder <dominik.werder@gmail.com>", version=crate_version!())]
pub struct Opts {
#[clap(short, long, parse(from_occurrences))]
pub verbose: i32,
#[clap(subcommand)]
pub subcmd: SubCmd,
}
#[derive(Debug, Clap)]
pub enum SubCmd {
Version,
Retrieval(Retrieval),
}
#[derive(Debug, Clap)]
pub struct Retrieval {
}