Added help messages to cli commands

This commit is contained in:
2021-04-12 20:02:45 +02:00
parent f8f5d46491
commit 7eca382cb3
11 changed files with 46 additions and 0 deletions

View File

@@ -50,6 +50,16 @@ class NewService(CommandABC):
@property
def help_message(self) -> str:
return textwrap.dedent("""\
Generates a workspace and initial project or add a project to workspace.
usage: cpl new <type> <name>
Arguments:
type The project type of the initial project
name Name of the workspace or the project
Types:
console
library
""")
@staticmethod