add config sourcing
This commit is contained in:
parent
e80a328381
commit
4e6e891d9b
2 changed files with 11 additions and 1 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue