feat: v0.3.5, add subcommand yubikey-init-master-key

This commit is contained in:
2024-09-03 23:19:17 +08:00
parent d6c49a15ea
commit b188a2bc1e
5 changed files with 94 additions and 24 deletions

View File

@@ -13,6 +13,7 @@ mod serve_status;
mod serve_init;
mod serve_encrypt_decrypt;
mod serve_read_write;
mod yubikey_init_master_key;
pub struct DefaultCommandImpl;
@@ -46,6 +47,7 @@ fn inner_main() -> CommandError {
let commands: Vec<Box<dyn Command>> = vec![
Box::new(cli::CommandImpl),
Box::new(serve::CommandImpl),
Box::new(yubikey_init_master_key::CommandImpl),
];
let mut app = App::new(env!("CARGO_PKG_NAME"))
.version(env!("CARGO_PKG_VERSION"))