修改代码注释为中文

This commit is contained in:
zyj
2026-03-04 14:10:30 +08:00
parent 89d64cb117
commit 2cb4e1a87b
16 changed files with 1031 additions and 69 deletions

View File

@@ -26,15 +26,15 @@ func newListCmd() *cobra.Command {
switch subCmd {
case "packs":
fmt.Println("📦 Local Packs:")
// TODO: List packs
// TODO: 列出所有 Pack
fmt.Println(" (none)")
case "profiles":
fmt.Println("📋 Profiles:")
// TODO: List profiles
// TODO: 列出所有 Profile
fmt.Println(" (none)")
case "collectors":
fmt.Println("🔌 Available Collectors:")
// TODO: List collectors
// TODO: 列出所有采集器
fmt.Println(" (none)")
default:
return fmt.Errorf("未知的子命令: %s (可选: packs, profiles, collectors)", subCmd)