mirror of
https://github.com/beego/bee.git
synced 2025-07-04 16:40:19 +00:00
New Bee banner
Added a new Bee banner using ASCII art. When bee is invoked, the banner is displayed with the version number (short banner). A More verbose Banner is added to 'bee version' which shows more information about the host and Go runtime.
This commit is contained in:
4
bale.go
4
bale.go
@ -46,6 +46,8 @@ func init() {
|
||||
}
|
||||
|
||||
func runBale(cmd *Command, args []string) int {
|
||||
ShowShortVersionBanner()
|
||||
|
||||
err := loadConfig()
|
||||
if err != nil {
|
||||
ColorLog("[ERRO] Fail to parse bee.json[ %s ]\n", err)
|
||||
@ -60,7 +62,7 @@ func runBale(cmd *Command, args []string) int {
|
||||
ColorLog("[WARN] Skipped directory( %s )\n", p)
|
||||
continue
|
||||
}
|
||||
ColorLog("[INFO] Packing directory( %s )\n", p)
|
||||
ColorLog("[INFO] Packaging directory( %s )\n", p)
|
||||
filepath.Walk(p, walkFn)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user