chore: log

This commit is contained in:
2021-01-01 22:38:28 +08:00
parent de0184e253
commit 0941f9e340
2 changed files with 3 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ impl Command for CommandImpl {
}
let (pri_key, pub_key) = make_key_pair();
let json_key_pair = JsonKeyPair::from(pri_key, pub_key, tag.map(|t| t.into()));
success!("Write gen key file: {}", output);
fs::write(output, json_key_pair.to_json()?.as_bytes())?;
Ok(())
}