19 lines
234 B
Python
19 lines
234 B
Python
import click
|
|
from app.api import api
|
|
from app.scheduler import scheduler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@click.group()
|
|
def entry_point():
|
|
pass
|
|
|
|
|
|
entry_point.add_command(api)
|
|
entry_point.add_command(scheduler)
|
|
|
|
if __name__ == "__main__":
|
|
entry_point()
|