Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var McpCmd = &cobra.Command{
Use: "mcp",
Short: "MCP (Machine Control Protocol) related commands",
}
Functions ¶
This section is empty.
Types ¶
type ListToolsCommand ¶
type ListToolsCommand struct {
*cmds.CommandDescription
// contains filtered or unexported fields
}
func NewListToolsCommand ¶
func NewListToolsCommand(repositories []*repositories.Repository) (*ListToolsCommand, error)
func (*ListToolsCommand) RunIntoGlazeProcessor ¶
func (c *ListToolsCommand) RunIntoGlazeProcessor( ctx context.Context, parsedValues *values.Values, gp middlewares.Processor, ) error
type McpCommands ¶
type McpCommands struct {
// contains filtered or unexported fields
}
func NewMcpCommands ¶
func NewMcpCommands(repositories []*repositories.Repository) *McpCommands
func (*McpCommands) AddToRootCommand ¶
func (mc *McpCommands) AddToRootCommand(rootCmd *cobra.Command)
func (*McpCommands) CreateRunCmd ¶
func (mc *McpCommands) CreateRunCmd() *cobra.Command
func (*McpCommands) CreateToolsCmd ¶
func (mc *McpCommands) CreateToolsCmd() *cobra.Command
type RunCommand ¶
type RunCommand struct {
*cmds.CommandDescription
// contains filtered or unexported fields
}
func NewRunCommand ¶
func NewRunCommand(repositories []*repositories.Repository) (*RunCommand, error)
type RunCommandSettings ¶
type RunCommandSettings struct {
Name string `glazed:"name"`
Args string `glazed:"args"`
ArgsFromFile map[string]interface{} `glazed:"args-from-file"`
}
RunCommandSettings holds the parameters for the run command
type SchemaCommand ¶
type SchemaCommand struct {
*cmds.CommandDescription
// contains filtered or unexported fields
}
func NewSchemaCommand ¶
func NewSchemaCommand(repositories []*repositories.Repository) (*SchemaCommand, error)
func (*SchemaCommand) RunIntoWriter ¶
Click to show internal directories.
Click to hide internal directories.