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, parsedLayers *layers.ParsedLayers, 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)
func (*RunCommand) Run ¶
func (c *RunCommand) Run(ctx context.Context, parsedLayers *layers.ParsedLayers) error
type RunCommandSettings ¶
type RunCommandSettings struct {
Name string `glazed.parameter:"name"`
Args string `glazed.parameter:"args"`
ArgsFromFile map[string]interface{} `glazed.parameter:"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 ¶
func (c *SchemaCommand) RunIntoWriter( ctx context.Context, parsedLayers *layers.ParsedLayers, w io.Writer, ) error
Click to show internal directories.
Click to hide internal directories.