18 lines
267 B
Python
18 lines
267 B
Python
|
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]
|
||
|
|