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
@@ -15,6 +15,10 @@ var workerCmd = &cobra.Command{
Use: "worker",
Short: "wavelet Worker",
Run: func(_ *cobra.Command, _ []string) {
printStartupBanner(startupState{
mode: "worker",
listensForHTTP: false,
})
app := newWaveletApp(core.ProfileWorker)
if err := app.Run(); err != nil {
log.Fatalf("[Worker] run failed: %v\n", err)