chore: for card-cli

This commit is contained in:
2022-03-29 00:37:27 +08:00
parent 0f002c16e9
commit 3c8746a4e4

View File

@@ -26,7 +26,7 @@ impl DefaultCommandImpl {
app app
} }
pub fn run(_arg_matches: &ArgMatches) -> CommandError { pub fn run(_arg_matches: &ArgMatches) -> CommandError {
information!("WebAuthn(OpenPGP) cli, use --help for help"); information!("Card(WebAuthn, OpenPGP, YubiKey) cli, use --help for help");
Ok(None) Ok(None)
} }
} }
@@ -54,7 +54,7 @@ fn inner_main() -> CommandError {
let mut app = App::new(env!("CARGO_PKG_NAME")) let mut app = App::new(env!("CARGO_PKG_NAME"))
.version(env!("CARGO_PKG_VERSION")) .version(env!("CARGO_PKG_VERSION"))
.about(env!("CARGO_PKG_DESCRIPTION")) .about(env!("CARGO_PKG_DESCRIPTION"))
.long_about("Webauthn Cli is a command tool register and sign using FIDO security key") .long_about("Card Cli is a command tool for WebAuthn, OpenPGP, YubiKey ... smart cards")
.setting(AppSettings::ColoredHelp); .setting(AppSettings::ColoredHelp);
app = DefaultCommandImpl::process_command(app); app = DefaultCommandImpl::process_command(app);
for command in &commands { for command in &commands {