10 lines
172 B
Python
10 lines
172 B
Python
|
from typing import Callable
|
||
|
from pydantic import BaseModel
|
||
|
|
||
|
class Command(BaseModel):
|
||
|
cmd: str
|
||
|
bind: Callable
|
||
|
args: int
|
||
|
optional: bool
|
||
|
description: str
|