1
0
Fork 0

Debug CLI action

This commit is contained in:
Gregory Eremin 2014-09-17 17:27:30 +04:00
parent 127a20895e
commit 384ca3dd0f
1 changed files with 8 additions and 0 deletions

View File

@ -105,6 +105,14 @@ func main() {
}
},
},
{
Name: "debug",
Usage: "Show server debug info",
Action: func(c *cli.Context) {
info := bsq.Status()
fmt.Println(info)
},
},
}
app.CommandNotFound = func(c *cli.Context, cmd string) {