mirror of
https://github.com/beego/bee.git
synced 2025-07-05 18:20:18 +00:00
return actual value from subcommand
This commit is contained in:
3
pack.go
3
pack.go
@ -469,7 +469,7 @@ func isBeegoProject(thePath string) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func packApp(cmd *Command, args []string) {
|
||||
func packApp(cmd *Command, args []string) int {
|
||||
curPath, _ := os.Getwd()
|
||||
thePath := ""
|
||||
|
||||
@ -624,4 +624,5 @@ func packApp(cmd *Command, args []string) {
|
||||
}
|
||||
|
||||
fmt.Printf("file write to `%s`\n", outputP)
|
||||
return 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user