refactor: move clan_cli.error to clan_lib.error

This commit is contained in:
Johannes Kirschbauer
2025-05-16 14:10:59 +02:00
parent 9a642e465f
commit f210b2f9a6
87 changed files with 149 additions and 109 deletions

View File

@@ -1,12 +1,13 @@
import argparse
import logging
from clan_lib.errors import ClanError
from clan_cli.completions import (
add_dynamic_completer,
complete_backup_providers_for_machine,
complete_machines,
)
from clan_cli.errors import ClanError
from clan_cli.machines.machines import Machine
log = logging.getLogger(__name__)

View File

@@ -2,13 +2,14 @@ import argparse
import json
from dataclasses import dataclass
from clan_lib.errors import ClanError
from clan_cli.cmd import Log, RunOpts
from clan_cli.completions import (
add_dynamic_completer,
complete_backup_providers_for_machine,
complete_machines,
)
from clan_cli.errors import ClanError
from clan_cli.machines.machines import Machine
from clan_cli.ssh.host import Host

View File

@@ -1,12 +1,13 @@
import argparse
from clan_lib.errors import ClanError
from clan_cli.cmd import Log, RunOpts
from clan_cli.completions import (
add_dynamic_completer,
complete_backup_providers_for_machine,
complete_machines,
)
from clan_cli.errors import ClanError
from clan_cli.machines.machines import Machine
from clan_cli.ssh.host import Host