feat(cmd): restore startup banner display in CLI entrypoints

This commit is contained in:
ryan
2026-08-28 15:46:58 +08:00
parent 3df621637f
commit 7fca53823a
5 changed files with 17 additions and 2 deletions
+4
View File
@@ -16,6 +16,10 @@ var allCmd = &cobra.Command{
Use: "all",
Short: "以融合模式同时启动 API、Worker 和 Scheduler",
Run: func(_ *cobra.Command, _ []string) {
printStartupBanner(startupState{
mode: "all (API + Worker + Scheduler)",
listensForHTTP: true,
})
app := newWaveletApp(core.ProfileAll)
if err := app.Run(); err != nil {
log.Fatalf("[All] run failed: %v\n", err)