summaryrefslogtreecommitdiffstats
path: root/src/repl/mod.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-10-26 19:28:57 +0800
committersigoden <sigoden@gmail.com>2023-10-26 19:28:57 +0800
commitb3f8f27018b1bbb3c1eb59ef05acc2d2a420b45e (patch)
treee885d5bfed53515c8ff341d1c92c76aafbf70dae /src/repl/mod.rs
parentc3f9ef6c396ba692e82cdfaa929429c85eebd289 (diff)
downloadaichat-b3f8f27018b1bbb3c1eb59ef05acc2d2a420b45e.tar.gz
refactor: improve code quanity
Diffstat (limited to 'src/repl/mod.rs')
-rw-r--r--src/repl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs
index 7c99757..ecb58d0 100644
--- a/src/repl/mod.rs
+++ b/src/repl/mod.rs
@@ -27,11 +27,11 @@ pub const REPL_COMMANDS: [(&str, &str); 14] = [
(".conversation", "Start a conversation."),
(".clear conversation", "End current conversation."),
(".copy", "Copy the last output to the clipboard"),
+ (".read", "Read the contents of a file into the prompt"),
(".history", "Print the history"),
(".clear history", "Clear the history"),
(".help", "Print this help message"),
(".exit", "Exit the REPL"),
- (".read", "Read the contents of a file into the prompt"),
];
impl Repl {