From 541c0cb90e5f73eab106f91bc4a99094bc3be5ed Mon Sep 17 00:00:00 2001 From: N4CH723HR3R Date: Wed, 21 Jan 2026 12:35:31 +0100 Subject: [PATCH] feat(cli): add value_delimiter to supply multiple config files (#612) Refs: #612 --- src/cli.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index e3af1288..c435be19 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -44,7 +44,9 @@ 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, env = "HIMALAYA_CONFIG")] + /// you can also provide multiple paths by delimiting them with a : + /// like you would when setting $PATH in a posix shell + #[arg(short, long = "config", global = true, env = "HIMALAYA_CONFIG", value_delimiter = ':')] #[arg(value_name = "PATH", value_parser = path_parser)] pub config_paths: Vec,