Added help message to all cli commands

This commit is contained in:
2021-04-11 16:36:59 +02:00
parent cce4b6b191
commit 93829027af
14 changed files with 105 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
import os
import shutil
import json
import textwrap
from cpl.configuration.configuration_abc import ConfigurationABC
from cpl.console.console import Console
@@ -25,6 +26,11 @@ class RemoveService(CommandABC):
self._workspace: WorkspaceSettings = self._config.get_configuration(WorkspaceSettings)
@property
def help_message(self) -> str:
return textwrap.dedent("""\
""")
@staticmethod
def _create_file(file_name: str, content: dict):
if not os.path.isabs(file_name):