From bb3053efcac378928a8f8ad7ed1b698cf7bf4366 Mon Sep 17 00:00:00 2001 From: Patrick Fung Date: Sun, 15 Mar 2026 10:31:13 +0800 Subject: [PATCH] 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 --- src/openjarvis/cli/__main__.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/openjarvis/cli/__main__.py diff --git a/src/openjarvis/cli/__main__.py b/src/openjarvis/cli/__main__.py new file mode 100644 index 00000000..0055dc66 --- /dev/null +++ b/src/openjarvis/cli/__main__.py @@ -0,0 +1,6 @@ +"""Entry point for CLI execution.""" + +from openjarvis.cli import main + +if __name__ == "__main__": + main()