mv clan-vm-manager to its own package
This commit is contained in:
parent
832c41df7e
commit
a838c4da17
@ -5,7 +5,7 @@ from pathlib import Path
|
||||
from types import ModuleType
|
||||
from typing import Any, Optional, Sequence
|
||||
|
||||
from . import config, flakes, gtkui, machines, secrets, vms, webui
|
||||
from . import config, flakes, machines, secrets, vms, webui
|
||||
from .custom_logger import setup_logging
|
||||
from .dirs import get_clan_flake_toplevel
|
||||
from .ssh import cli as ssh_cli
|
||||
@ -64,9 +64,6 @@ def create_parser(prog: Optional[str] = None) -> argparse.ArgumentParser:
|
||||
|
||||
subparsers = parser.add_subparsers()
|
||||
|
||||
parser_gtkui = subparsers.add_parser("gtkui", help="start gtkui")
|
||||
gtkui.register_parser(parser_gtkui)
|
||||
|
||||
parser_flake = subparsers.add_parser(
|
||||
"flakes", help="create a clan flake inside the current directory"
|
||||
)
|
||||
|
@ -28,7 +28,6 @@
|
||||
, tor
|
||||
, git
|
||||
, nixpkgs
|
||||
, copyDesktopItems
|
||||
, qemu
|
||||
, gnupg
|
||||
, e2fsprogs
|
||||
@ -134,7 +133,6 @@ python3.pkgs.buildPythonApplication {
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
installShellFiles
|
||||
copyDesktopItems
|
||||
];
|
||||
propagatedBuildInputs = dependencies;
|
||||
|
||||
|
@ -7,4 +7,5 @@ from .app import start_app
|
||||
|
||||
|
||||
def register_parser(parser: argparse.ArgumentParser) -> None:
|
||||
parser = argparse.ArgumentParser(description="clan-vm-manager")
|
||||
parser.set_defaults(func=start_app)
|
Loading…
Reference in New Issue
Block a user