mirror of
https://github.com/qwjyh/xdbm
synced 2025-07-17 03:59:19 +09:00
add option to provide config dir
This commit is contained in:
parent
24f34da588
commit
9935f79920
2 changed files with 13 additions and 4 deletions
|
@ -12,6 +12,10 @@ pub(crate) struct Cli {
|
|||
#[command(subcommand)]
|
||||
pub(crate) command: Commands,
|
||||
|
||||
/// Customized config dir.
|
||||
#[arg(short, long)]
|
||||
pub(crate) config_dir: Option<PathBuf>,
|
||||
|
||||
#[command(flatten)]
|
||||
pub(crate) verbose: Verbosity,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue