feat: hide .recover from tab completions when no session is active
This commit is contained in:
+1
-1
@@ -281,7 +281,7 @@ static REPL_COMMANDS: LazyLock<[ReplCommand; 59]> = LazyLock::new(|| {
|
|||||||
ReplCommand::new(
|
ReplCommand::new(
|
||||||
".recover",
|
".recover",
|
||||||
"Recover interrupted session after API error or Ctrl+C",
|
"Recover interrupted session after API error or Ctrl+C",
|
||||||
AssertState::pass(),
|
AssertState::True(StateFlags::SESSION_EMPTY | StateFlags::SESSION),
|
||||||
),
|
),
|
||||||
ReplCommand::new(
|
ReplCommand::new(
|
||||||
".regenerate",
|
".regenerate",
|
||||||
|
|||||||
Reference in New Issue
Block a user