Skip to content

Commit

Permalink
more feedbacl after creating a credential
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-animo committed Mar 10, 2022
1 parent 78ea9db commit 87df0ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cli/src/modules/credential_definition.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use agent_controller::modules::credential_definition::CredentialDefinitionModule;
use clap::{Args, Subcommand};
use colored::*;
use log;
use serde_json::json;

Expand Down Expand Up @@ -68,7 +69,11 @@ pub async fn parse_credential_definition_args(
agent.create(schema_id.to_string()).await.map(|cred_def| {
loader.stop();
copy!("{}", cred_def.credential_definition_id);
log::info!("{}", cred_def.credential_definition_id);
log::info!(
"{} credential definition (ID: {}).",
"Created".green(),
cred_def.credential_definition_id
)
})
}
}
Expand Down

0 comments on commit 87df0ae

Please sign in to comment.