1
0
Fork 0
forked from wry/wry

add config sourcing

This commit is contained in:
kossLAN 2026-04-04 20:47:43 -04:00
parent e80a328381
commit 4e6e891d9b
No known key found for this signature in database
2 changed files with 11 additions and 1 deletions

View file

@ -176,6 +176,12 @@ pub struct RunArgs {
/// which they will be tried. Multiple backends can be supplied as a comma-separated list.
#[clap(value_enum, use_value_delimiter = true, long)]
pub backends: Vec<CliBackend>,
/// Override the config directory.
///
/// If not specified, JAY_CONFIG_DIR is checked, then XDG_CONFIG_HOME/jay, then
/// ~/.config/jay.
#[clap(long, value_hint = ValueHint::DirPath)]
pub config_dir: Option<String>,
}
#[derive(Args, Debug)]