arcade-mcp/arcade/run_cli.py
Eric Gustin ce4a9b28a9
Add minor changes found during onboarding (#37)
* Add new tool to the arithmetic toolkit for summation of a range.
* Add ability to attach debugger to cli. Use `.vscode/launch.json`'s
"Debug arcade dev" to do so.
* Fix issue in cli's main that used the incorrect url.
2024-09-12 16:52:36 -07:00

8 lines
183 B
Python

import sys
from arcade.cli.main import cli
if __name__ == "__main__":
# Support attaching debugger to cli
mode = sys.argv[1] if len(sys.argv) > 1 else "dev"
cli([mode])