Actually exit after running a command in all cases

pull/513/head
Zef Hemel 2023-08-21 13:56:55 +02:00
parent 866740f449
commit 00201c9cf9
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,4 @@
import.meta.main = false;
// import { Command } from "https://deno.land/x/cliffy@v1.0.0-rc.3/command/command.ts";
import { Command } from "https://deno.land/x/cliffy@v0.25.2/command/command.ts";
import { version } from "./version.ts";
@ -123,3 +122,4 @@ await new Command()
.command("version", "Get current version")
.action(versionCommand)
.parse(Deno.args);
Deno.exit(0);