修改代码注释为中文
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user