Config is now setup mostly :3
This commit is contained in:
10
src/config/cli.rs
Normal file
10
src/config/cli.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
#[derive(Debug, Clone, Default, clap::Parser)]
|
||||
pub struct CliArgs {
|
||||
/// Configuration file path
|
||||
#[arg(long = "config", short = 'C', default_value = "./config.toml")]
|
||||
pub config_file: camino::Utf8PathBuf,
|
||||
|
||||
/// Output more information in logs
|
||||
#[arg(long = "verbose", short = 'v')]
|
||||
pub verbose: bool,
|
||||
}
|
||||
Reference in New Issue
Block a user