X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/6cd57312a1396543f14b243ff19d2cf0db973588..a6ec71dc315e5b259a7bfe70cad46b7780b73fa9:/client/src/cli.rs diff --git a/client/src/cli.rs b/client/src/cli.rs index e5a5a878..4ff9d458 100644 --- a/client/src/cli.rs +++ b/client/src/cli.rs @@ -277,6 +277,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 +413,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 +455,10 @@ pub enum GroupPermission { EveryMember, OnlyAdmins, } + +#[derive(ValueEnum, Clone, Debug)] +#[value(rename_all = "kebab-case")] +pub enum MessageRequestResponseType { + Accept, + Delete, +}