feat: remove session hub and related commands from the application
This commit is contained in:
@@ -4,16 +4,14 @@ use crate::app::mode::ModeKind;
|
||||
pub enum Command {
|
||||
Help,
|
||||
Quit,
|
||||
Resume,
|
||||
LessonCreate(String),
|
||||
LessonExport(String),
|
||||
LessonImport(String),
|
||||
LessonAccept(String),
|
||||
LessonReject(String),
|
||||
LessonList,
|
||||
Mode(ModeKind),
|
||||
Clear,
|
||||
Save,
|
||||
LessonList,
|
||||
Login { provider: String },
|
||||
Unknown(String),
|
||||
}
|
||||
@@ -30,9 +28,7 @@ pub fn parse_command(text: &str) -> Command {
|
||||
match cmd {
|
||||
"/help" => Command::Help,
|
||||
"/quit" => Command::Quit,
|
||||
"/resume" => Command::Resume,
|
||||
"/clear" => Command::Clear,
|
||||
"/save" => Command::Save,
|
||||
"/mode" => {
|
||||
let mode = match arg1 {
|
||||
"chat" | "c" => ModeKind::Chat,
|
||||
|
||||
Reference in New Issue
Block a user