Compare commits

...

2 Commits

Author SHA1 Message Date
16d67fa3e7 Remove VM from cache and destroy with spinner 2026-02-25 12:29:47 -08:00
a025d302dc 8 2026-02-25 12:28:33 -08:00
2 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@because/sandlot",
"version": "0.0.7",
"version": "0.0.8",
"description": "Sandboxed, branch-based development with Claude",
"type": "module",
"bin": {

View File

@ -74,8 +74,14 @@ export function register(program: Command) {
.command("destroy")
.description("Stop and delete the VM")
.action(async () => {
const spin = spinner("Destroying VM")
try {
await vm.destroy()
console.log("✔ VM destroyed")
spin.succeed("VM destroyed")
} catch (err) {
spin.fail(String((err as Error).message ?? err))
process.exit(1)
}
})
vmCmd