dockge-cli/dockge_cli/models/commands.py
Firq e44fd8a7a5
Some checks failed
/ pylint (push) Successful in 12s
/ typing-mypy (push) Failing after 10s
Refactor, typing improvements, ci improvements
2024-07-05 11:15:07 +02:00

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