GravelMC/lib/commands.py
minecraftchest1@outlook.com 20d77c8e31 Initial commit.
2024-10-21 10:22:24 -05:00

17 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]