1
0
mirror of https://github.com/beego/bee.git synced 2025-07-05 18:20:18 +00:00

bee support version command

This commit is contained in:
astaxie
2014-05-17 01:37:45 +08:00
parent 244f27afdf
commit 226b5d4f4d
2 changed files with 31 additions and 0 deletions

3
bee.go
View File

@ -25,6 +25,8 @@ import (
"strings"
)
const version = "1.0.1"
type Command struct {
// Run runs the command.
// The args are the arguments after the command name.
@ -78,6 +80,7 @@ var commands = []*Command{
cmdRouter,
cmdTest,
cmdBale,
cmdVersion,
//cmdReStart,
}