Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ One line for run OpenManus:
python main.py
```

Or after installing the package, you can use the `openmanus` command:

```bash
openmanus
```

Then input your idea via terminal!

For MCP tool version, you can run:
Expand Down
9 changes: 7 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from app.logger import logger


async def main():
async def async_main():
# Parse command line arguments
parser = argparse.ArgumentParser(description="Run Manus agent with a prompt")
parser.add_argument(
Expand All @@ -32,5 +32,10 @@ async def main():
await agent.cleanup()


def main():
"""Entry point for the openmanus console script."""
asyncio.run(async_main())


if __name__ == "__main__":
asyncio.run(main())
main()