Skip to content

Commit 75c6343

Browse files
committed
cp dines
1 parent 732e30d commit 75c6343

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

src/cli.ts

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,7 @@ config
7777
const devbox = program
7878
.command("devbox")
7979
.description("Manage devboxes")
80-
.alias("d")
81-
.action(async () => {
82-
// Open interactive devbox list using the Router architecture
83-
const { runMainMenu } = await import("./commands/menu.js");
84-
await runMainMenu("devbox-list");
85-
});
80+
.alias("d");
8681

8782
devbox
8883
.command("create")
@@ -376,12 +371,7 @@ devbox
376371
const snapshot = program
377372
.command("snapshot")
378373
.description("Manage devbox snapshots")
379-
.alias("snap")
380-
.action(async () => {
381-
// Open interactive snapshot list using the Router architecture
382-
const { runMainMenu } = await import("./commands/menu.js");
383-
await runMainMenu("snapshot-list");
384-
});
374+
.alias("snap");
385375

386376
snapshot
387377
.command("list")
@@ -450,12 +440,7 @@ snapshot
450440
const blueprint = program
451441
.command("blueprint")
452442
.description("Manage blueprints")
453-
.alias("bp")
454-
.action(async () => {
455-
// Open interactive blueprint list using the Router architecture
456-
const { runMainMenu } = await import("./commands/menu.js");
457-
await runMainMenu("blueprint-list");
458-
});
443+
.alias("bp");
459444

460445
blueprint
461446
.command("list")

0 commit comments

Comments
 (0)