tangled
alpha
login
or
join now
tsiry-sandratraina.com
/
dflybsd-up
1
fork
atom
A convenient CLI tool to quickly spin up DragonflyBSD virtual machines using QEMU with sensible defaults.
1
fork
atom
overview
issues
pulls
pipelines
Update version in main.ts to match deno.json
tsiry-sandratraina.com
4 months ago
8698d199
927a1855
+2
-1
1 changed file
expand all
collapse all
unified
split
main.ts
+2
-1
main.ts
···
1
1
#!/usr/bin/env -S deno run --allow-run --allow-read --allow-env
2
2
3
3
import { Command } from "@cliffy/command";
4
4
+
import pkg from "./deno.json" with { type: "json" };
4
5
import { createBridgeNetworkIfNeeded } from "./src/network.ts";
5
6
import inspect from "./src/subcommands/inspect.ts";
6
7
import logs from "./src/subcommands/logs.ts";
···
23
24
if (import.meta.main) {
24
25
await new Command()
25
26
.name("dflybsd-up")
26
26
-
.version("0.1.0")
27
27
+
.version(pkg.version)
27
28
.description("Start a DragonflyBSD virtual machine using QEMU")
28
29
.arguments(
29
30
"[path-or-url-to-iso-or-version:string]",