Brian Buller
d11bf67196
* List by default, UI only if specified * Archive tasks to done list * Fix filter
26 lines
310 B
Go
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))
|
|
}
|