Files
pyboot/pyapp/templates/application.py
2025-09-02 16:11:05 +08:00

15 lines
470 B
Python

template = """from pyapp.application import PyappApplication
from runners import YourCustomRunner
@PyappApplication("your_application_name")
class Application:
@staticmethod
def start():
'''
call default or your custom runners here, code will be executed
automatically when type "pyapp run" in terminal
example:
YourCustomRunner("path_to_your_config").run()
'''
"""