mirror of https://github.com/aliasrobotics/cai.git
fix(cli): improve fallback message for failed or unknown commands
- Replaced misleading "Unknown command" message with "Command failed or unknown"
This commit is contained in:
parent
67e041c610
commit
62474048bb
|
|
@ -1290,7 +1290,7 @@ def run_cai_cli(
|
|||
|
||||
# If command wasn't recognized, show error (skip for /shell or /s)
|
||||
if command not in ("/shell", "/s"):
|
||||
console.print(f"[red]Unknown command: {command}[/red]")
|
||||
console.print(f"[red]Command failed or unknown: {command}[/red]")
|
||||
continue
|
||||
from rich.text import Text
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue