use crate::commands::command::Cmd;
use crate::error::KeyToolError;
use clap::Args;
#[derive(Args, Debug, Clone)]
pub struct PrintCertCmd {
/// Alias name of the certificate
#[arg(long)]
pub alias: String,
}
impl Cmd for PrintCertCmd {
fn run(&self) -> Result<(), KeyToolError> {
println!("执行 printcert 命令,参数: {:?}", self);
Ok(())
}
}