questionpy-org / questionpy-sdk

Library and toolset for the development of QuestionPy packages
https://questionpy.org
MIT License
0 stars 2 forks source link

Neues Projekt per create erstellen #16

Closed MartinGauk closed 1 year ago

MartinGauk commented 1 year ago

Per questionpy-sdk create [SHORT NAME] sollte man ein neues Projekt erstellen können. Dabei wird ein neuer Ordner erstellt und die Dateien aus dem Ordner example werden kopiert. Im Manifest wird der short_name entsprechend gesetzt.

Mittels importlib.resources sollte man die Dateien in example erhalten. Ich glaube, dafür muss example unterhalb vonquestionpy_sdk verschoben werden. https://docs.python.org/3.9/library/importlib.html#module-importlib.resources