update to v1.4:

- major restructure
- added classes for args and cclicense
- separated global variable setting into separate function
- argument parse in separate function
This commit is contained in:
2024-07-01 10:24:30 +02:00
committed by Flo Greistorfer
parent 2c93e6c858
commit d6c1ad5176
3 changed files with 196 additions and 190 deletions

View File

@@ -1,3 +1,11 @@
class License:
project: str
author: str
type: str
url: str
pics: list[str]
def licenseswitch(cclicense: str) -> str:
switch = {
"cc-zero": """