feat: v1.13.7, add subcommand yubikey
This commit is contained in:
@@ -14,14 +14,8 @@ impl Command for CommandImpl {
|
||||
fn subcommand<'a>(&self) -> App<'a, 'a> {
|
||||
SubCommand::with_name(self.name())
|
||||
.about("YubiKey HMAC encrypt")
|
||||
.arg(
|
||||
Arg::with_name("plaintext")
|
||||
.long("plaintext")
|
||||
.takes_value(true)
|
||||
.required(true)
|
||||
.help("Plaintext"),
|
||||
)
|
||||
.arg(Arg::with_name("password").long("password").takes_value(true).help("Password"))
|
||||
.arg(Arg::with_name("plaintext").long("plaintext").short("t").takes_value(true).required(true).help("Plaintext"))
|
||||
.arg(Arg::with_name("password").long("password").short("P").takes_value(true).help("Password"))
|
||||
.arg(cmdutil::build_with_pbe_encrypt_arg())
|
||||
.arg(cmdutil::build_double_pin_check_arg())
|
||||
.arg(cmdutil::build_pbe_iteration_arg())
|
||||
|
||||
Reference in New Issue
Block a user