2021.4.1 #11

Merged
edraft merged 172 commits from 2021.04.01 into 2021.04 2021-03-21 20:04:24 +01:00
Showing only changes of commit 2ad97d5021 - Show all commits

View File

@ -46,7 +46,6 @@ class Generate(CommandABC):
name = parts[len(parts) - 1]
file_path = os.path.join(self._runtime.working_directory, rel_path, f'{String.convert_to_snake_case(name)}.py')
print(file_path)
if not os.path.isdir(os.path.dirname(file_path)):
os.makedirs(os.path.dirname(file_path))
@ -81,19 +80,19 @@ class Generate(CommandABC):
self._generate_abc(name)
elif schematic == 'class':
print(schematic)
pass
elif schematic == 'configmodel':
print(schematic)
pass
elif schematic == 'enum':
print(schematic)
pass
elif schematic == 'service':
print(schematic)
pass
else:
Console.error('')
self._help('Usage: cpl generate <schematic> [options]')
exit()
Console.write('\n')