list_friends

Function list_friends 

Source
pub async fn list_friends(context: &CommandContext) -> Result<()>
Expand description

Lists all friends currently stored in the application.

The output includes the friend’s Peer ID and their nickname (if available).

§Arguments

  • context - The CommandContext providing access to the application’s state and node.

§Errors

This function returns an error if retrieving the friend list from storage fails.