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

add cmd 'bee update' to update self

just notice once a day if there is a new version
This commit is contained in:
wangle
2020-08-02 16:17:02 +08:00
committed by askuy
parent e0ea0abf5b
commit 9c63635169
9 changed files with 119 additions and 58 deletions

View File

@ -25,7 +25,7 @@ import (
)
func main() {
utils.UpdateBee()
utils.NoticeUpdateBee()
flag.Usage = cmd.Usage
flag.Parse()
log.SetFlags(0)