Skip to content

Commit 8555c72

Browse files
committed
cp dines
1 parent f6b74cd commit 8555c72

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

src/utils/commands.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -398,27 +398,6 @@ export function createProgram(): Command {
398398
await getSnapshot({ id, ...options });
399399
});
400400

401-
snapshot
402-
.command("prune")
403-
.description(
404-
"Delete old snapshots for a devbox, keeping only recent ready ones",
405-
)
406-
.requiredOption(
407-
"--source <devbox-id>",
408-
"Source devbox ID to prune snapshots for",
409-
)
410-
.option("--dry-run", "Show what would be deleted without actually deleting")
411-
.option("-y, --yes", "Skip confirmation prompt")
412-
.option("--keep <n>", "Number of ready snapshots to keep", "1")
413-
.option(
414-
"-o, --output [format]",
415-
"Output format: text|json|yaml (default: text)",
416-
)
417-
.action(async (options) => {
418-
const { pruneSnapshots } = await import("../commands/snapshot/prune.js");
419-
await pruneSnapshots(options.source, options);
420-
});
421-
422401
snapshot
423402
.command("status <snapshot-id>")
424403
.description("Get snapshot operation status")

0 commit comments

Comments
 (0)