Compare commits
2 Commits
8543179ec6
...
16d67fa3e7
| Author | SHA1 | Date | |
|---|---|---|---|
| 16d67fa3e7 | |||
| a025d302dc |
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -74,8 +74,14 @@ export function register(program: Command) {
|
|||
.command("destroy")
|
||||
.description("Stop and delete the VM")
|
||||
.action(async () => {
|
||||
await vm.destroy()
|
||||
console.log("✔ VM destroyed")
|
||||
const spin = spinner("Destroying VM")
|
||||
try {
|
||||
await vm.destroy()
|
||||
spin.succeed("VM destroyed")
|
||||
} catch (err) {
|
||||
spin.fail(String((err as Error).message ?? err))
|
||||
process.exit(1)
|
||||
}
|
||||
})
|
||||
|
||||
vmCmd
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user