Debug CLI action
This commit is contained in:
parent
127a20895e
commit
384ca3dd0f
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue