Moved test projects

This commit is contained in:
2025-09-24 16:57:24 +02:00
parent a1cfe76047
commit 2da6d679ad
74 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
from cpl_cli.abc.generate_schematic_abc import GenerateSchematicABC
class Custom(GenerateSchematicABC):
def __init__(self, *args: str):
GenerateSchematicABC.__init__(self, *args)
def get_code(self) -> str:
code = """\
class $Name:
def __init__(self):
print('hello')
"""
x = self.build_code_str(code, Name=self._class_name)
return x
@classmethod
def register(cls):
GenerateSchematicABC.register(cls, "custom", ["cm", "CM"])