from cpl_core.application import ApplicationBuilder

from di.application import Application
from di.startup import Startup


def main():
    app_builder = ApplicationBuilder(Application)
    app_builder.use_startup(Startup)
    app_builder.build().run()


if __name__ == "__main__":
    main()
