mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 06:16:37 +08:00
20 lines
408 B
Go
20 lines
408 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Package cmd 提供 CLI 命令入口
|
|
package cmd
|
|
|
|
import (
|
|
"Wavelet/core"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var allCmd = &cobra.Command{
|
|
Use: "all",
|
|
Short: "以融合模式同时启动 API、Worker 和 Scheduler",
|
|
Run: func(_ *cobra.Command, _ []string) {
|
|
runProfileApp(core.ProfileAll, "all (API + Worker + Scheduler)", true)
|
|
},
|
|
}
|