重构架构

This commit is contained in:
2026-02-20 18:44:43 +08:00
parent aba7b68439
commit cc71248ef4
52 changed files with 1404 additions and 2360 deletions

18
internal/cli/soft/soft.go Normal file
View File

@@ -0,0 +1,18 @@
package soft
import (
"github.com/spf13/cobra"
)
func NewSoftCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "soft",
Short: "软件管理命令",
Long: "管理集群软件安装、更新、卸载等操作",
}
// 添加 soft 的子命令
cmd.AddCommand(NewSoftInstallCmd())
return cmd
}