Files
sunhpc-go/cmd/soft/soft.go
2026-02-14 05:36:00 +08:00

17 lines
305 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package soft
import (
"github.com/spf13/cobra"
)
var Cmd = &cobra.Command{
Use: "soft",
Short: "软件包管理",
Long: "安装、卸载、编译软件支持源码、RPM、DEB、二进制压缩包",
}
func init() {
Cmd.AddCommand(installCmd)
// 后续可添加 remove、list 等子命令
}