Add __main__.py entry point to enable CLI execution via python -m openjarvis.cli.

Previously, running `uv run jarvis start` would fail to start the process with error:
"No module named openjarvis.cli.__main__; 'openjarvis.cli' is a package and cannot be
directly executed" because the CLI package lacked an entry point.

Signed-off-by: Patrick Fung <patrick_fung@foxmail.com>
This commit is contained in:
Patrick Fung
2026-03-15 10:31:13 +08:00
parent 95281f9d0b
commit bb3053efca
+6
View File
@@ -0,0 +1,6 @@
"""Entry point for CLI execution."""
from openjarvis.cli import main
if __name__ == "__main__":
main()