diff --git a/src/cpl_cli/command/new_service.py b/src/cpl_cli/command/new_service.py index b84ae4ae..8f68350d 100644 --- a/src/cpl_cli/command/new_service.py +++ b/src/cpl_cli/command/new_service.py @@ -1,4 +1,3 @@ -import json import os import sys from typing import Optional diff --git a/src/cpl_cli/source_creator/console_builder.py b/src/cpl_cli/source_creator/console_builder.py index 41b500b5..e0958e28 100644 --- a/src/cpl_cli/source_creator/console_builder.py +++ b/src/cpl_cli/source_creator/console_builder.py @@ -110,9 +110,11 @@ class ConsoleBuilder: cls._create_file, workspace_file_path, { - WorkspaceSettingsNameEnum.default_project.value: project_name, - WorkspaceSettingsNameEnum.projects.value: { - project_name: project_file_path + WorkspaceSettings.__name__: { + WorkspaceSettingsNameEnum.default_project.value: project_name, + WorkspaceSettingsNameEnum.projects.value: { + project_name: project_file_path + } } }, text_foreground_color=ForegroundColorEnum.green, diff --git a/src/cpl_cli/source_creator/library_builder.py b/src/cpl_cli/source_creator/library_builder.py index b3922a1a..1c1ce63b 100644 --- a/src/cpl_cli/source_creator/library_builder.py +++ b/src/cpl_cli/source_creator/library_builder.py @@ -110,9 +110,11 @@ class LibraryBuilder: cls._create_file, workspace_file_path, { - WorkspaceSettingsNameEnum.default_project.value: project_name, - WorkspaceSettingsNameEnum.projects.value: { - project_name: project_file_path + WorkspaceSettings.__name__: { + WorkspaceSettingsNameEnum.default_project.value: project_name, + WorkspaceSettingsNameEnum.projects.value: { + project_name: project_file_path + } } }, text_foreground_color=ForegroundColorEnum.green,