feat: updates
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use crate::keyutil::{parse_key_uri, KeyUri};
|
||||
use crate::{cmdutil, seutil};
|
||||
use crate::{cmdutil, seutil, util};
|
||||
use crate::util::{base64_decode, base64_encode};
|
||||
use clap::{App, Arg, ArgMatches, SubCommand};
|
||||
use rust_util::util_clap::{Command, CommandError};
|
||||
@@ -63,7 +63,7 @@ impl Command for CommandImpl {
|
||||
json.insert("signature_base64", base64_encode(&signature));
|
||||
json.insert("signature_hex", hex::encode(&signature));
|
||||
|
||||
println!("{}", serde_json::to_string_pretty(&json).unwrap());
|
||||
util::print_pretty_json(&json);
|
||||
} else {
|
||||
success!("Signature: {}", base64_encode(&signature));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user