Actually exit after running a command in all cases
parent
866740f449
commit
00201c9cf9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue