A simple CLI tool to spin up OpenBSD virtual machines using QEMU with minimal fuss.

work in progress

+9
+9
main.ts
··· 5 5 import inspect from "./src/subcommands/inspect.ts"; 6 6 import logs from "./src/subcommands/logs.ts"; 7 7 import ps from "./src/subcommands/ps.ts"; 8 + import pull from "./src/subcommands/pull.ts"; 8 9 import restart from "./src/subcommands/restart.ts"; 9 10 import rm from "./src/subcommands/rm.ts"; 10 11 import start from "./src/subcommands/start.ts"; ··· 166 167 .arguments("<vm-name:string>") 167 168 .action(async (_options: unknown, vmName: string) => { 168 169 await restart(vmName); 170 + }) 171 + .command( 172 + "pull", 173 + "Pull VM image from an OCI-compliant registry, e.g., ghcr.io, docker hub", 174 + ) 175 + .arguments("<image:string>") 176 + .action(async (_options: unknown, image: string) => { 177 + await pull; 169 178 }) 170 179 .parse(Deno.args); 171 180 }