#665 item 5: bare-mode hints point to working commands. @daemon (daemon.py) — 'daemon --help' (no such binary) -> 'drone @daemon --help' in hint/USAGE/error (3 spots). @memory (memory.py) — 'drone @memory help' -> standard 'drone @memory --help' (L78,L356; --help already wired). Both verified live.

This commit is contained in:
AIOSAI
2026-07-10 15:34:14 -07:00
parent 9dab0ca3f4
commit f4d067a3cc
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -110,7 +110,7 @@ def print_introspection(modules: List[Any]):
console.print(" [dim]No modules discovered[/dim]")
console.print()
console.print("[dim]Run 'daemon --help' for usage information[/dim]")
console.print("[dim]Run 'drone @daemon --help' for usage information[/dim]")
console.print()
@@ -132,8 +132,8 @@ def print_help(modules: List[Any]):
console.print("[bold cyan]USAGE:[/bold cyan]")
console.print()
console.print(" [dim]daemon <command> [args...][/dim]")
console.print(" [dim]daemon --help[/dim]")
console.print(" [dim]drone @daemon <command> [args...][/dim]")
console.print(" [dim]drone @daemon --help[/dim]")
console.print()
console.print("-" * 70)
console.print()
@@ -208,7 +208,7 @@ def main():
return 0
else:
console.print()
error(f"Unknown command: {command}", suggestion="Run 'daemon --help' for available commands")
error(f"Unknown command: {command}", suggestion="Run 'drone @daemon --help' for available commands")
console.print()
return 1
+2 -2
View File
@@ -75,7 +75,7 @@ def print_introspection():
console.print(" [dim]No modules discovered yet[/dim]")
console.print()
console.print("[dim]Run 'drone @memory help' for usage information[/dim]")
console.print("[dim]Run 'drone @memory --help' for usage information[/dim]")
console.print()
@@ -353,7 +353,7 @@ def main():
return # Module handled it successfully
else:
console.print()
error(f"Unknown command: {command}", suggestion="Run 'drone @memory help' for available commands")
error(f"Unknown command: {command}", suggestion="Run 'drone @memory --help' for available commands")
console.print()
return