Added help message to generate command

This commit is contained in:
Sven Heidemann 2021-04-12 19:44:29 +02:00
parent 696c62292b
commit f8f5d46491

View File

@ -59,6 +59,20 @@ class GenerateService(CommandABC):
@property @property
def help_message(self) -> str: def help_message(self) -> str:
return textwrap.dedent("""\ return textwrap.dedent("""\
Generate a file based on schematic.
usage: cpl generate <schematic> <name>
arguments:
schematic: The schematic to generate.
name: The name of the generated file
schematics:
abc
class
enum
service
settings
thread
""") """)
@staticmethod @staticmethod