The ./hermes convenience script still used the legacy Fire-based cli.main wrapper, which doesn't support subcommands (gateway, cron, doctor, etc.). The installed 'hermes' command already uses hermes_cli.main:main (argparse) — this aligns the launcher. Salvaged from PR #2009 by gito369.
12 lines
262 B
Python
Executable File
12 lines
262 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Hermes Agent CLI launcher.
|
|
|
|
This wrapper should behave like the installed `hermes` command, including
|
|
subcommands such as `gateway`, `cron`, and `doctor`.
|
|
"""
|
|
|
|
if __name__ == "__main__":
|
|
from hermes_cli.main import main
|
|
main()
|