pwdlBackendv2 / beta /shellLogic /simpleParser.py
AkshitShubham's picture
Upload folder using huggingface_hub
79b2aa4 verified
Raw
History Blame Contribute Delete
167 Bytes
def parseAndRun(commandlist,command,args=[],obj=None):
if command in commandlist: func = commandlist[command]["func"]
if not func: return
func(args)