feat: add pgp card sign

This commit is contained in:
2021-07-11 09:46:33 +08:00
parent bc5167d287
commit 8a5bb56de9
3 changed files with 100 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ mod register;
mod sign;
mod pgp;
mod pgpcardlist;
mod pgpcardsign;
use clap::{App, AppSettings};
use cmd::{Command, CommandError};
@@ -26,6 +27,7 @@ fn inner_main() -> CommandError {
Box::new(sign::CommandImpl),
Box::new(pgp::CommandImpl),
Box::new(pgpcardlist::CommandImpl),
Box::new(pgpcardsign::CommandImpl),
];
let mut app = App::new(env!("CARGO_PKG_NAME"))
.version(env!("CARGO_PKG_VERSION"))