Using HIMALAYA_CONFIG as a way to provide himalaya configuration file from environment.

This commit is contained in:
Guillaume Yziquel
2024-05-22 21:53:15 +00:00
parent 7a951b4830
commit 1b35da2d07
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ pub struct Cli {
/// configuration file. Other paths are merged with the first one,
/// which allows you to separate your public config from your
/// private(s) one(s).
#[arg(short, long = "config", global = true)]
#[arg(short, long = "config", global = true, env = "HIMALAYA_CONFIG")]
#[arg(value_name = "PATH", value_parser = config::path_parser)]
pub config_paths: Vec<PathBuf>,