clan-cli: Move Machine object to clan_lib

This commit is contained in:
Qubasa
2025-05-22 19:11:19 +02:00
parent 3d6fcd522a
commit 0ca7600439
63 changed files with 71 additions and 80 deletions

View File

@@ -1,6 +1,5 @@
from clan_cli.machines.machines import Machine
from clan_lib.errors import ClanError
from clan_lib.machines.machines import Machine
def create_backup(machine: Machine, provider: str | None = None) -> None:

View File

@@ -1,10 +1,9 @@
import json
from dataclasses import dataclass
from clan_cli.machines.machines import Machine
from clan_lib.cmd import Log, RunOpts
from clan_lib.errors import ClanError
from clan_lib.machines.machines import Machine
from clan_lib.ssh.remote import Remote

View File

@@ -1,7 +1,6 @@
from clan_cli.machines.machines import Machine
from clan_lib.cmd import Log, RunOpts
from clan_lib.errors import ClanError
from clan_lib.machines.machines import Machine
from clan_lib.ssh.remote import Remote