mirror of
https://github.com/beego/bee.git
synced 2025-06-13 06:40:39 +00:00
print lastPushedTime & update readme.md
This commit is contained in:
@ -38,7 +38,7 @@ const verboseVersionBanner string = `%s%s______
|
||||
├── GOPATH : {{ .GOPATH }}
|
||||
├── GOROOT : {{ .GOROOT }}
|
||||
├── Compiler : {{ .Compiler }}
|
||||
└── Date : {{ Now "Monday, 2 Jan 2006" }}%s
|
||||
└── UpdatedAt : {{ .UpdatedAt }}%s
|
||||
`
|
||||
|
||||
const shortVersionBanner = `______
|
||||
@ -84,6 +84,7 @@ func versionCmd(cmd *commands.Command, args []string) int {
|
||||
runtime.Compiler,
|
||||
version,
|
||||
GetBeegoVersion(),
|
||||
utils.GetLastPushedTime(),
|
||||
}
|
||||
switch outputFormat {
|
||||
case "json":
|
||||
|
Reference in New Issue
Block a user