Simple tool to run deployed Modal functions from the CLI.
pip install modal-runmodal-run my_app.my_functionThis will call modal.Function.from_name("my_app", "my_function").spawn() under the hood.
modal-run my_app.function_name --an-arg my_argThis will call modal.Function.from_name("my_app", "function_name").spawn(an_arg: "ny_arg") under the hood.
- Python 3.8+
- Modal account and authentication configured