dockge-cli/dockge_cli/models/command.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
2024-07-05 22:16:41 +00:00
func: Callable
args: int
optional: bool
description: str