From c0d8904782ac6d544b1c0d504e82faca82a0c26c Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 31 Mar 2021 10:19:54 +0200 Subject: [PATCH] Bugfixes for the command new --- src/cpl_cli/command/new_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpl_cli/command/new_service.py b/src/cpl_cli/command/new_service.py index b2aaf2a3..000ca84a 100644 --- a/src/cpl_cli/command/new_service.py +++ b/src/cpl_cli/command/new_service.py @@ -90,7 +90,7 @@ class NewService(CommandABC): self._project.from_dict(self._project_dict) def _create_build_settings(self): - main = 'main' + main = f'{self._project.name}.main' if self._command == ProjectTypeEnum.library.value: main = f'{self._project.name}_cli.main'