MCPcopy Create free account
hub / github.com/VCVRack/Rack / parse_args

Function parse_args

helper.py:599–613  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

597
598
599def parse_args(args):
600 script = args.pop(0)
601 if len(args) == 0:
602 usage(script)
603 return
604
605 cmd = args.pop(0)
606 if cmd == 'createplugin':
607 create_plugin(*args)
608 elif cmd == 'createmodule':
609 create_module(*args)
610 elif cmd == 'createmanifest':
611 create_manifest(*args)
612 else:
613 eprint(f"Command not found: {cmd}")
614
615
616if __name__ == "__main__":

Callers 1

helper.pyFile · 0.85

Calls 5

usageFunction · 0.85
create_pluginFunction · 0.85
create_moduleFunction · 0.85
create_manifestFunction · 0.85
eprintFunction · 0.85

Tested by

no test coverage detected