add version
This commit is contained in:
parent
499d829860
commit
c1350e9056
1
main.go
1
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))
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
package main
|
||||
|
||||
var version = "undefined"
|
Loading…
Reference in New Issue