add machine subcommand

This commit is contained in:
Jörg Thalheim
2023-08-24 16:58:22 +02:00
parent be78e65b11
commit c5b16124ef
9 changed files with 104 additions and 25 deletions

View File

@@ -0,0 +1,11 @@
from pathlib import Path
from ..dirs import get_clan_flake_toplevel
def machines_folder() -> Path:
return get_clan_flake_toplevel() / "machines"
def machine_folder(machine: str) -> Path:
return machines_folder() / machine