diff --git a/cli.ts b/cli.ts index ad17fcb..907d8df 100644 --- a/cli.ts +++ b/cli.ts @@ -1,9 +1,10 @@ import { Command } from "https://deno.land/x/cliffy@v0.24.2/command/mod.ts"; -import { userCommand } from "./command/user.ts" +import { VERSION } from "./version.ts"; +import { userCommand } from "./command/user.ts"; await new Command() .name("habitra-cli") - .version("0.0.0") + .version(VERSION) .description("Command line tool for HabiTra") .command("user", userCommand) .parse(Deno.args); diff --git a/version.ts b/version.ts new file mode 100644 index 0000000..2e47a88 --- /dev/null +++ b/version.ts @@ -0,0 +1 @@ +export const VERSION = "0.0.0";