allow taking multiple --config arguments to "include"/merge more config files

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-09-20 16:22:29 -04:00
parent 6acdd0d947
commit 73afc1fd8f
2 changed files with 15 additions and 18 deletions

View file

@ -14,7 +14,7 @@ use conduit::{
pub(crate) struct Args {
#[arg(short, long)]
/// Path to the config TOML file (optional)
pub(crate) config: Option<PathBuf>,
pub(crate) config: Option<Vec<PathBuf>>,
/// Override a configuration variable using TOML 'key=value' syntax
#[arg(long, short('O'))]