diff --git a/main.go b/main.go index 519d1ec..9b02488 100644 --- a/main.go +++ b/main.go @@ -97,6 +97,7 @@ func main() { var ( path = app.StringOpt("p path", defaultConfigPath(), "path to the pomo config directory") ) + app.Version("v version", version) app.Command("start s", "start a new task", start(path)) app.Command("init", "initialize the sqlite database", initialize(path)) app.Command("list l", "list historical tasks", list(path)) diff --git a/version.go b/version.go new file mode 100644 index 0000000..2eddb8a --- /dev/null +++ b/version.go @@ -0,0 +1,3 @@ +package main + +var version = "undefined"