gask-old/main.go

26 lines
314 B
Go
Raw Normal View History

2019-02-15 17:15:26 +00:00
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))
}