bw/key_management/
mod.rs

1use clap::Args;
2
3#[derive(Args, Clone)]
4pub(crate) struct UnlockArgs {
5    pub(crate) password: Option<String>,
6
7    #[arg(long, help = "Environment variable storing your password.")]
8    pub(crate) passwordenv: Option<String>,
9
10    #[arg(
11        long,
12        help = "Path to a file containing your password as its first line."
13    )]
14    pub(crate) passwordfile: Option<String>,
15
16    #[arg(long, help = "Check lock status.")]
17    pub(crate) check: bool,
18
19    #[arg(long, help = "Only return the session key.")]
20    pub(crate) raw: bool,
21}