A simple command-line tool to start NetBSD virtual machines using QEMU with sensible defaults.
at main 19 lines 383 B view raw
1import { setupOrasBinary } from "../oras.ts"; 2 3export default async function (registry: string) { 4 await setupOrasBinary(); 5 6 const cmd = new Deno.Command("oras", { 7 args: ["logout", registry], 8 stderr: "inherit", 9 stdout: "inherit", 10 }); 11 12 const process = cmd.spawn(); 13 14 const status = await process.status; 15 16 if (!status.success) { 17 Deno.exit(status.code); 18 } 19}