feat: use password file as primary source if provided

This commit is contained in:
rustmailer
2025-12-26 14:44:49 +08:00
parent 4af5176b65
commit 0f3ad83004
2 changed files with 15 additions and 10 deletions
+1
View File
@@ -133,6 +133,7 @@ pub struct Settings {
#[clap(
long,
env,
default_value = "change-this-default-password-now",
help = "Set the encryption password for bichon. Alternatively, you can use --bichon-encrypt-password-file. If both are set, this parameter takes precedence over the file."
)]
pub bichon_encrypt_password: Option<String>,