// print error message at first, since it can contain suggestions
cmd.Printf("A Highly Extensible Platform Engine based on Kubernetes and Open Application Model.\n\nUsage:\n vela [flags]\n vela [command]\n\nAvailable Commands:\n\n")
PrintHelpByTag(cmd,allCommands,types.TypeStart)
PrintHelpByTag(cmd,allCommands,types.TypeApp)
PrintHelpByTag(cmd,allCommands,types.TypeCap)
PrintHelpByTag(cmd,allCommands,types.TypeSystem)
}else{
foundCmd,_,err:=cmd.Root().Find(args)
iffoundCmd!=nil&&err==nil{
foundCmd.HelpFunc()(cmd,args)
}
}
}
// PrintHelpByTag print custom defined help message