Compare commits
No commits in common. "16d67fa3e7d97a075ab215e7cc7ee6e2cfd70833" and "8543179ec651b6d6f8d7e4d9746f0e9d8bbedb12" have entirely different histories.
16d67fa3e7
...
8543179ec6
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@because/sandlot",
|
"name": "@because/sandlot",
|
||||||
"version": "0.0.8",
|
"version": "0.0.7",
|
||||||
"description": "Sandboxed, branch-based development with Claude",
|
"description": "Sandboxed, branch-based development with Claude",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
||||||
|
|
@ -74,14 +74,8 @@ export function register(program: Command) {
|
||||||
.command("destroy")
|
.command("destroy")
|
||||||
.description("Stop and delete the VM")
|
.description("Stop and delete the VM")
|
||||||
.action(async () => {
|
.action(async () => {
|
||||||
const spin = spinner("Destroying VM")
|
await vm.destroy()
|
||||||
try {
|
console.log("✔ VM destroyed")
|
||||||
await vm.destroy()
|
|
||||||
spin.succeed("VM destroyed")
|
|
||||||
} catch (err) {
|
|
||||||
spin.fail(String((err as Error).message ?? err))
|
|
||||||
process.exit(1)
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
vmCmd
|
vmCmd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user