2022-05-19 18:09:25 +02:00
|
|
|
from cpl_cli.startup_argument_extension import StartupArgumentExtension
|
2021-08-05 14:21:42 +02:00
|
|
|
from cpl_core.application.application_builder import ApplicationBuilder
|
2021-03-03 18:37:54 +01:00
|
|
|
from cpl_cli.cli import CLI
|
|
|
|
from cpl_cli.startup import Startup
|
|
|
|
|
2021-03-08 20:29:08 +01:00
|
|
|
|
|
|
|
def main():
|
2021-03-19 14:15:53 +01:00
|
|
|
app_builder = ApplicationBuilder(CLI)
|
|
|
|
app_builder.use_startup(Startup)
|
2022-05-19 18:09:25 +02:00
|
|
|
app_builder.use_extension(StartupArgumentExtension)
|
2021-03-19 14:15:53 +01:00
|
|
|
app_builder.build().run()
|
2021-03-09 22:29:14 +01:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|