X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/6cd57312a1396543f14b243ff19d2cf0db973588..4ce194afe28e8918d066b267dec8ea9cf6b4b2a0:/client/src/cli.rs diff --git a/client/src/cli.rs b/client/src/cli.rs index e5a5a878..e0abb717 100644 --- a/client/src/cli.rs +++ b/client/src/cli.rs @@ -84,6 +84,8 @@ pub enum CliCommands { }, GetUserStatus { recipient: Vec, + #[arg(long)] + username: Vec, }, JoinGroup { #[arg(long)] @@ -277,6 +279,14 @@ pub enum CliCommands { #[arg(short = 's', long)] stop: bool, }, + SendMessageRequestResponse { + recipient: Vec, + + #[arg(short = 'g', long = "group-id")] + group_id: Vec, + + r#type: MessageRequestResponseType, + }, SetPin { pin: String, }, @@ -405,7 +415,7 @@ pub enum CliCommands { #[arg(long = "about-emoji")] about_emoji: Option, - #[arg(long = "mobile-coin-address")] + #[arg(long = "mobile-coin-address", visible_alias = "mobilecoin-address")] mobile_coin_address: Option, #[arg(long)] @@ -447,3 +457,10 @@ pub enum GroupPermission { EveryMember, OnlyAdmins, } + +#[derive(ValueEnum, Clone, Debug)] +#[value(rename_all = "kebab-case")] +pub enum MessageRequestResponseType { + Accept, + Delete, +}