//! `/rename` (alias `/title`) -- rename the current session. use crate::app::actions::Action; use crate::slash::command::{CommandExecCtx, CommandResult, SlashCommand}; /// Rename the current session's title/summary. pub struct RenameCommand; impl SlashCommand for RenameCommand { fn name(&self) -> &str { "rename" } fn aliases(&self) -> &[&str] { &["title"] } fn description(&self) -> &str { "Rename the current session" } fn session_scoped(&self) -> bool { true } fn usage(&self) -> &str { "/rename