diff options
author | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-03 20:07:51 -0500 |
---|---|---|
committer | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-03 20:07:51 -0500 |
commit | 7671f58c301ffb22bb49a1de6f87b6db6865ff13 (patch) | |
tree | bed6c815b2207e80293fa5587da9cc65a7436af6 /cmd | |
parent | bc26f02dcdd5ce7d3badf8df5065321538c4c872 (diff) | |
download | planr-7671f58c301ffb22bb49a1de6f87b6db6865ff13.tar.xz planr-7671f58c301ffb22bb49a1de6f87b6db6865ff13.zip |
Use version code in PLANR for the CLI
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/planr/main.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/planr/main.go b/cmd/planr/main.go index adcb50e..277ffc8 100644 --- a/cmd/planr/main.go +++ b/cmd/planr/main.go @@ -12,10 +12,6 @@ import ( "golang.flu0r1ne.net/planr/adapters/gtest" ) -const ( - VERSION = "0.0.3" -) - func printUsage(w io.Writer) { fmt.Fprintf (w, "usage: %s command args ... \n", os.Args[0]) fmt.Fprintln(w, " help ") @@ -77,7 +73,7 @@ func main() { switch subcommand { case "version": - fmt.Printf("%s\n", VERSION) + fmt.Printf("%s\n", planr.VERSION) case "build": sub.Build(runner, subargs) case "evaluate", "eval": |