__init__.py
1 """ 2 CLI commands for sending tasks to the webui gateway. 3 """ 4 import click 5 6 from .send import send_task 7 from .run import run_task 8 9 10 @click.group("task") 11 def task(): 12 """Send tasks to the webui gateway and receive streaming responses.""" 13 pass 14 15 16 task.add_command(send_task, name="send") 17 task.add_command(run_task, name="run")