clan-vm-manager: Basic pytest framework established

This commit is contained in:
Qubasa
2024-03-22 19:08:35 +01:00
parent 1d6cc49da5
commit 0ee8dceee2
12 changed files with 254 additions and 7 deletions

View File

@@ -0,0 +1,15 @@
import logging
import shlex
from clan_cli.custom_logger import get_caller
from clan_vm_manager import main
log = logging.getLogger(__name__)
class Cli:
def run(self, args: list[str]) -> None:
cmd = shlex.join(["clan", *args])
log.debug(f"$ {cmd} \nCaller: {get_caller()}")
main(args)