gask/main.go
Brian Buller d11bf67196 More Progress
* List by default, UI only if specified
* Archive tasks to done list
* Fix filter
2019-02-20 07:49:41 -06:00

26 lines
310 B
Go

package main
import (
"os"
)
const (
AppName = "gask"
AppVersion = 1
)
var app *AppState
func main() {
app = NewApp()
var parms []string
if len(os.Args) > 1 {
parms = os.Args[1:]
} else {
// If no parameters were passed, do a list
parms = append(parms, "ls")
}
os.Exit(app.run(parms))
}