feat: updates
This commit is contained in:
@@ -7,7 +7,7 @@ use yubikey::piv::{metadata, sign_data, AlgorithmId, ManagementAlgorithmId};
|
||||
use yubikey::YubiKey;
|
||||
|
||||
use crate::util::base64_encode;
|
||||
use crate::{argsutil, cmdutil, pivutil};
|
||||
use crate::{argsutil, cmdutil, pivutil, util};
|
||||
|
||||
pub struct CommandImpl;
|
||||
|
||||
@@ -80,7 +80,7 @@ impl Command for CommandImpl {
|
||||
}
|
||||
|
||||
if json_output {
|
||||
println!("{}", serde_json::to_string_pretty(&json).unwrap());
|
||||
util::print_pretty_json(&json);
|
||||
}
|
||||
Ok(None)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user