clan-cli: machine.get_inv_machine now uses actions.get_machine in the background

This commit is contained in:
Qubasa
2025-06-09 19:25:28 +02:00
parent 87f4fbfcbf
commit 1a33f6a632
2 changed files with 3 additions and 11 deletions

View File

@@ -15,6 +15,7 @@ def list_command(args: argparse.Namespace) -> None:
if args.flake is None:
msg = "Could not find clan flake toplevel directory"
raise ClanError(msg)
machine = Machine(name=args.machine, flake=args.flake)
backups = list_backups(machine=machine, provider=args.provider)
for backup in backups: