dockge-cli/dockge_cli/models/commands.py

10 lines
172 B
Python
Raw Normal View History

from typing import Callable
from pydantic import BaseModel
class Command(BaseModel):
cmd: str
bind: Callable
args: int
optional: bool
description: str