* 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.
8 lines
183 B
Python
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])
|