{"modulePath":"github.com/keeperhub/cli","version":"v0.15.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package plugin\n\n## Functions\n\n```go\nfunc NewGetCmd(f *cmdutil.Factory) *cobra.Command\n```\n\n```go\nfunc NewListCmd(f *cmdutil.Factory) *cobra.Command\n```\n\n```go\nfunc NewPluginCmd(f *cmdutil.Factory) *cobra.Command\n```\n\n## Types\n\n```go\ntype ActionDetail struct {\n\tActionType  string            `json:\"actionType\"`\n\tLabel       string            `json:\"label\"`\n\tDescription string            `json:\"description\"`\n\tFields      map[string]string `json:\"requiredFields,omitempty\"`\n}\n```\nActionDetail holds a single action's metadata for display.\n\n```go\ntype Protocol struct {\n\tName        string `json:\"name\"`\n\tActionCount int    `json:\"actionCount\"`\n}\n```\nProtocol represents a grouped set of actions under one integration.\n\n```go\ntype ProtocolDetail struct {\n\tName    string         `json:\"name\"`\n\tActions []ActionDetail `json:\"actions\"`\n}\n```\nProtocolDetail holds a protocol name and its actions for the get command.\n\n```go\ntype SchemaAction struct {\n\tActionType  string `json:\"actionType\"`\n\tLabel       string `json:\"label\"`\n\tDescription string `json:\"description\"`\n\tCategory    string `json:\"category\"`\n\tIntegration string `json:\"integration\"`\n}\n```\nSchemaAction represents a single action from the schemas API.\n\n```go\ntype SchemasResponse struct {\n\tActions map[string]SchemaAction `json:\"actions\"`\n}\n```\nSchemasResponse is the shape of the /api/mcp/schemas response.\n\n","path":"github.com/keeperhub/cli/cmd/plugin","name":"plugin","synopsis":"","isRedistributable":true}
