dayhoff-tools 1.9.9__py3-none-any.whl → 1.9.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,49 @@
1
+ """Engine and Studio management commands for DHT CLI."""
2
+
3
+ import typer
4
+
5
+ # Initialize Typer apps
6
+ engine_app = typer.Typer(help="Manage compute engines for development.")
7
+ studio_app = typer.Typer(help="Manage persistent development studios.")
8
+
9
+ # Import all command functions
10
+ from .engine_core import engine_status, launch_engine, list_engines
11
+ from .engine_lifecycle import start_engine, stop_engine, terminate_engine
12
+ from .engine_maintenance import coffee, debug_engine, idle_timeout_cmd, repair_engine
13
+ from .engine_management import config_ssh, create_ami, resize_engine, ssh_engine
14
+ from .studio_commands import (
15
+ attach_studio,
16
+ create_studio,
17
+ delete_studio,
18
+ detach_studio,
19
+ list_studios,
20
+ reset_studio,
21
+ resize_studio,
22
+ studio_status,
23
+ )
24
+
25
+ # Register engine commands
26
+ engine_app.command("launch")(launch_engine)
27
+ engine_app.command("list")(list_engines)
28
+ engine_app.command("status")(engine_status)
29
+ engine_app.command("start")(start_engine)
30
+ engine_app.command("stop")(stop_engine)
31
+ engine_app.command("terminate")(terminate_engine)
32
+ engine_app.command("ssh")(ssh_engine)
33
+ engine_app.command("config-ssh")(config_ssh)
34
+ engine_app.command("resize")(resize_engine)
35
+ engine_app.command("gami")(create_ami)
36
+ engine_app.command("coffee")(coffee)
37
+ engine_app.command("idle")(idle_timeout_cmd)
38
+ engine_app.command("debug")(debug_engine)
39
+ engine_app.command("repair")(repair_engine)
40
+
41
+ # Register studio commands
42
+ studio_app.command("create")(create_studio)
43
+ studio_app.command("status")(studio_status)
44
+ studio_app.command("attach")(attach_studio)
45
+ studio_app.command("detach")(detach_studio)
46
+ studio_app.command("delete")(delete_studio)
47
+ studio_app.command("list")(list_studios)
48
+ studio_app.command("reset")(reset_studio)
49
+ studio_app.command("resize")(resize_studio)