gask/main.go
2019-02-15 11:15:26 -06:00

26 lines
314 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, just do an ls
parms = append(parms, "ui")
}
os.Exit(app.run(parms))
}