feat(cli): add 'message' subcommand to send private messages
`soulseek-rs message <username> <text>` connects, logs in, sends a private message and exits. Smoke-tested against a local soulfind server.
This commit is contained in:
@@ -89,6 +89,15 @@ pub enum Commands {
|
||||
)]
|
||||
max_concurrent_downloads: usize,
|
||||
},
|
||||
|
||||
/// Send a private message to another user
|
||||
Message {
|
||||
/// Username of the recipient
|
||||
username: String,
|
||||
|
||||
/// Message text to send
|
||||
message: String,
|
||||
},
|
||||
}
|
||||
|
||||
pub fn parse_server_address(server: &str) -> color_eyre::Result<(String, u16)> {
|
||||
|
||||
Reference in New Issue
Block a user