Refactor, typing improvements, ci improvements

This commit is contained in:
Firq 2024-07-05 11:15:07 +02:00
parent d3e5d4ae56
commit e44fd8a7a5
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
9 changed files with 141 additions and 107 deletions
dockge_cli/models

View file

@ -1 +1,3 @@
from .codes import StackStatus
from .commands import Command
from .parser import Arguments, Credentials

View file

@ -0,0 +1,9 @@
from typing import Callable
from pydantic import BaseModel
class Command(BaseModel):
cmd: str
bind: Callable
args: int
optional: bool
description: str