(state *globalState)
| 11 | ) |
| 12 | |
| 13 | func (a *App) metadataCommand(state *globalState) *cobra.Command { |
| 14 | cmd := &cobra.Command{ |
| 15 | Use: "metadata", |
| 16 | Aliases: []string{"md"}, |
| 17 | Short: "Manage the metadata index for agents, skills, and plugins", |
| 18 | } |
| 19 | cmd.AddCommand(a.metadataRefreshCommand(state)) |
| 20 | cmd.AddCommand(a.metadataSearchCommand(state)) |
| 21 | cmd.AddCommand(a.metadataInstallCommand(state)) |
| 22 | return cmd |
| 23 | } |
| 24 | |
| 25 | func (a *App) metadataRefreshCommand(state *globalState) *cobra.Command { |
| 26 | return &cobra.Command{ |
no test coverage detected