mirror of
https://github.com/beego/bee.git
synced 2024-12-22 15:10:49 +00:00
commit
09e6fb26e2
@ -300,6 +300,11 @@ func init() {
|
||||
func createhprose(cmd *Command, args []string) int {
|
||||
output := cmd.Out()
|
||||
|
||||
if len(args) < 1 {
|
||||
ColorLog("[ERRO] Argument [appname] is missing\n")
|
||||
os.Exit(2)
|
||||
}
|
||||
|
||||
curpath, _ := os.Getwd()
|
||||
if len(args) > 1 {
|
||||
cmd.Flag.Parse(args[1:])
|
||||
|
Loading…
Reference in New Issue
Block a user