Reworked to work with cli

pull/11/head
Nicholas Hope 2022-06-14 21:38:52 -04:00
parent dd78d62f86
commit 641cc16250
1 changed files with 2 additions and 21 deletions

View File

@ -1,25 +1,6 @@
import keywords
def regularClass(cfg):
def makeCFG(cfg):
ret = ''
for key, data in cfg.items():
ret += keywords.branch("scout", key, data)
return ret
def getEngiConfig(cfg):
ret = ''
for key, data in cfg["engi"].items():
ret += keywords.branch("engi", key, data)
return ret
def getMedicConfig(cfg):
ret = ''
for key, data in cfg["medic"].items():
ret += keywords.branch("medic", key, data)
return ret
def getSpyConfig(cfg):
ret = ''
for key, data in cfg["spy"].items():
ret += keywords.branch("spy", key, data)
ret += keywords.branch("foo", "bar")
return ret