X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/abde122a35d85f5db956d652300d7a995d460863..cf07512d2403cd428959f96840ee923a606d78d9:/client/src/cli.rs diff --git a/client/src/cli.rs b/client/src/cli.rs index bc6a3079..a98b16d3 100644 --- a/client/src/cli.rs +++ b/client/src/cli.rs @@ -49,6 +49,10 @@ pub enum CliCommands { #[clap(short = 'g', long)] group_id: Vec, }, + DeleteLocalAccountData { + #[clap(long = "ignore-registered")] + ignore_registered: Option, + }, GetUserStatus { recipient: Vec, }, @@ -61,11 +65,21 @@ pub enum CliCommands { name: String, }, ListAccounts, - ListContacts, + ListContacts { + recipient: Vec, + #[clap(short = 'a', long = "all-recipients")] + all_recipients: bool, + #[clap(long, parse(try_from_str))] + blocked: Option, + #[clap(long)] + name: Option, + }, ListDevices, ListGroups { #[clap(short = 'd', long)] detailed: bool, + #[clap(short = 'g', long = "group-id")] + group_id: Vec, }, ListIdentities { #[clap(short = 'n', long)] @@ -150,6 +164,15 @@ pub enum CliCommands { sticker: Option, }, SendContacts, + SendPaymentNotification { + recipient: String, + + #[clap(long)] + receipt: String, + + #[clap(long)] + note: String, + }, SendReaction { recipient: Vec, @@ -225,13 +248,13 @@ pub enum CliCommands { #[clap(long = "read-receipts", parse(try_from_str))] read_receipts: Option, - #[clap(long = "unidentified-delivery-indicators")] + #[clap(long = "unidentified-delivery-indicators", parse(try_from_str))] unidentified_delivery_indicators: Option, - #[clap(long = "typing-indicators")] + #[clap(long = "typing-indicators", parse(try_from_str))] typing_indicators: Option, - #[clap(long = "link-previews")] + #[clap(long = "link-previews", parse(try_from_str))] link_previews: Option, }, UpdateContact { @@ -268,6 +291,12 @@ pub enum CliCommands { #[clap(long = "remove-admin")] remove_admin: Vec, + #[clap(long)] + ban: Vec, + + #[clap(long)] + unban: Vec, + #[clap(long = "reset-link")] reset_link: bool, @@ -299,6 +328,9 @@ pub enum CliCommands { #[clap(long = "about-emoji")] about_emoji: Option, + #[clap(long = "mobile-coin-address")] + mobile_coin_address: Option, + #[clap(long)] avatar: Option,