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
run.go
3
run.go
@ -58,7 +58,7 @@ func init() {
|
||||
|
||||
var appname string
|
||||
|
||||
func runApp(cmd *Command, args []string) {
|
||||
func runApp(cmd *Command, args []string) int {
|
||||
exit := make(chan bool)
|
||||
crupath, _ := os.Getwd()
|
||||
|
||||
@ -119,6 +119,7 @@ func runApp(cmd *Command, args []string) {
|
||||
runtime.Goexit()
|
||||
}
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func readAppDirectories(directory string, paths *[]string) {
|
||||
|
Reference in New Issue
Block a user