Files
cdk/crates/cdk-mintd/src/cli.rs
thesimplekid 6a315fc3b9 feat: mintd axum server
feat: deafult NUT-04 and NUT-05 settings to enable bolt11 sats
2024-07-05 23:49:31 +01:00

25 lines
678 B
Rust

use std::path::PathBuf;
use clap::Parser;
#[derive(Parser)]
#[command(about = "A cashu mint written in rust", author = env!("CARGO_PKG_AUTHORS"), version = env!("CARGO_PKG_VERSION"))]
pub struct CLIArgs {
#[arg(
short,
long,
help = "Use the <directory> as the location of the database",
required = false
)]
pub work_dir: Option<PathBuf>,
#[arg(
short,
long,
help = "Use the <file name> as the location of the config file",
required = false
)]
pub config: Option<PathBuf>,
#[arg(short, long, help = "Recover Greenlight from seed", required = false)]
pub recover: Option<String>,
}