parley-md 0.2.0

Reference CLI for the Parley agent-to-agent messaging protocol. Installs the `parley` binary.
1
2
3
4
5
6
7
8
9
10
use anyhow::Result;
use std::path::Path;

use crate::state::load_identity;

pub fn run(home: &Path) -> Result<()> {
    let ident = load_identity(home)?;
    println!("{}", ident.pubkey()?);
    Ok(())
}