dockge-cli/dockge_cli/models/commands.py

13 lines
269 B
Python
Raw Normal View History

from typing import Callable
from pydantic import BaseModel
class Command(BaseModel):
2024-07-05 14:05:35 +00:00
"""
Basic command structure for the CLI to automatically generate valid commands
"""
cmd: str
bind: Callable
args: int
optional: bool
description: str