-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathmain.go
More file actions
35 lines (31 loc) · 656 Bytes
/
main.go
File metadata and controls
35 lines (31 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package main
import (
"github.com/bugsnag/bugsnag-go"
"github.com/urfave/cli"
"os"
"time"
)
const VERSION = "1.0.10"
func main() {
bugsnag.Configure(bugsnag.Configuration{
// Hardcoded for now, but what the hay...
APIKey: "e3e34aa93a77392fd9daca3c266fc123",
AppVersion: VERSION,
})
defer bugsnag.AutoNotify()
app := cli.NewApp()
app.Name = "pokevision"
app.Usage = "the (unofficial) pokevision cli"
app.Version = VERSION
app.Compiled = time.Now()
app.Authors = []cli.Author{
cli.Author{
Name: "Jacob Marshall",
Email: "pokemon@jacobmarshall.co",
},
}
app.Commands = []cli.Command{
WatchCommand,
}
app.Run(os.Args)
}