diff --git a/deltachat-repl/src/cmdline.rs b/deltachat-repl/src/cmdline.rs index 26dacb139..e7d7cbda4 100644 --- a/deltachat-repl/src/cmdline.rs +++ b/deltachat-repl/src/cmdline.rs @@ -333,8 +333,6 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu _ => println!( "==========================Database commands==\n\ info\n\ - open \n\ - close\n\ set []\n\ get \n\ oauth2\n\ @@ -349,6 +347,8 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu ==============================Chat commands==\n\ listchats []\n\ listarchived\n\ + start-realtime \n\ + send-realtime \n\ chat [|0]\n\ createchat \n\ creategroup \n\ @@ -364,6 +364,7 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu dellocations\n\ getlocations []\n\ send \n\ + sendempty\n\ sendimage []\n\ sendsticker []\n\ sendfile []\n\ @@ -382,7 +383,7 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu unmute \n\ delchat \n\ accept \n\ - decline \n\ + blockchat \n\ ===========================Message commands==\n\ listmsgs \n\ msginfo \n\ @@ -399,7 +400,6 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu addcontact [] \n\ contactinfo \n\ delcontact \n\ - cleanupcontacts\n\ block \n\ unblock \n\ listblocked\n\ diff --git a/deltachat-repl/src/main.rs b/deltachat-repl/src/main.rs index dabfb466a..ec7d4a15e 100644 --- a/deltachat-repl/src/main.rs +++ b/deltachat-repl/src/main.rs @@ -179,9 +179,11 @@ const DB_COMMANDS: [&str; 11] = [ "housekeeping", ]; -const CHAT_COMMANDS: [&str; 36] = [ +const CHAT_COMMANDS: [&str; 39] = [ "listchats", "listarchived", + "start-realtime", + "send-realtime", "chat", "createchat", "creategroup", @@ -197,13 +199,16 @@ const CHAT_COMMANDS: [&str; 36] = [ "dellocations", "getlocations", "send", + "sendempty", "sendimage", + "sendsticker", "sendfile", "sendhtml", "sendsyncmsg", "sendupdate", "videochat", "draft", + "devicemsg", "listmedia", "archive", "unarchive", @@ -211,46 +216,46 @@ const CHAT_COMMANDS: [&str; 36] = [ "unpin", "mute", "unmute", - "protect", - "unprotect", "delchat", "accept", "blockchat", ]; -const MESSAGE_COMMANDS: [&str; 9] = [ +const MESSAGE_COMMANDS: [&str; 10] = [ "listmsgs", "msginfo", + "download", + "html", "listfresh", "forward", "resend", "markseen", "delmsg", - "download", "react", ]; -const CONTACT_COMMANDS: [&str; 8] = [ +const CONTACT_COMMANDS: [&str; 7] = [ "listcontacts", "addcontact", "contactinfo", "delcontact", - "cleanupcontacts", "block", "unblock", "listblocked", ]; -const MISC_COMMANDS: [&str; 12] = [ +const MISC_COMMANDS: [&str; 14] = [ "getqr", "getqrsvg", "getbadqr", "checkqr", "joinqr", + "setqr", "createqrsvg", + "providerinfo", "fileinfo", + "estimatedeletion", "clear", "exit", "quit", "help", - "estimatedeletion", ]; impl Hinter for DcHelper {