Add basic counters

This commit is contained in:
Michael Crosby
2015-11-05 16:16:11 -08:00
parent 05683fb0ee
commit 2af0f297fe
4 changed files with 28 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ func main() {
}
app.Flags = []cli.Flag{
cli.BoolFlag{Name: "debug", Usage: "enable debug output in the logs"},
// cli.StringFlag{Name: "metrics", Value: "stdout", Usage: "metrics file"},
}
app.Before = func(context *cli.Context) error {
if context.GlobalBool("debug") {