Skip to content

Commit

Permalink
Merge pull request #5 from ytkg/outside-version
Browse files Browse the repository at this point in the history
Manage versions in a separate file
  • Loading branch information
ytkg committed Jun 24, 2022
2 parents e1962dc + cc93250 commit ae6708e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli.ts
Original file line number Diff line number Diff line change
@@ -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);
1 change: 1 addition & 0 deletions version.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const VERSION = "0.0.0";

0 comments on commit ae6708e

Please sign in to comment.