pub fn exec(pem: &Option<String>, opts: PublicOpts) -> AnyhowResult {
    let (principal_id, account_id) = get_public_ids(pem, opts)?;
    println!("Principal id: {}", principal_id.to_text());
    println!("Account id: {}", account_id);
    Ok(())
}
/// Prints the account and the principal ids.
Prints the account and the principal ids.
Prints the account and the principal ids .
pub fn exec(pem: &Option<String>, opts: PublicOpts) -> AnyhowResult {
    let (principal_id, account_id) = get_public_ids(pem, opts)?;
    println!("Principal id: {}", principal_id.to_text());
    println!("Account id: {}", account_id);
    Ok(())
}
pub fn exec ( pem : & Option < String > , opts : PublicOpts ) -> AnyhowResult { let ( principal_id , account_id ) = get_public_ids ( pem , opts ) ? ; println ! ( " " principal_id to_text ( ) ) ; println ! ( " " account_id ) ; Ok ( ( ) ) }
Prints the account and the principal ids.
Prints the account and the principal ids .
pem
&Option<String>
opts
PublicOpts