from dataclasses import dataclass import os import lib.globalData @dataclass class Command: Usage: str Description: str Method: callable commands = [] def Parse(globalData: globalData, line: str): args = str(line).split() command = args[0]