Initial Commit

This commit is contained in:
2019-02-20 20:44:07 -06:00
parent 7305e4e54c
commit cf80d56e20
6 changed files with 632 additions and 0 deletions

25
main.go Normal file
View File

@@ -0,0 +1,25 @@
package main
import "os"
const (
AppName = "gime"
AppVersion = 1
DefRoundTo = "1m0s"
)
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 a status
parms = append(parms, "status")
}
os.Exit(app.run(parms))
}