Allow overriding args
parent
2603c046f6
commit
36c18008a0
|
@ -6,7 +6,7 @@ use clap::{arg, Parser, ValueHint};
|
|||
use crate::heatmap::{ColorLogic, Format, HeatmapColors};
|
||||
|
||||
#[derive(Clone, Debug, Parser, PartialEq, Eq)]
|
||||
#[command(version, about, author, long_about = None)]
|
||||
#[command(version, about, author, long_about = None, args_override_self = true)]
|
||||
pub struct CliArgs {
|
||||
#[arg(long("root-dir"), value_hint = ValueHint::DirPath)]
|
||||
pub root_dir: Option<PathBuf>,
|
||||
|
|
Loading…
Reference in New Issue