cmds

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClientCmd = &cobra.Command{
	Use:   "client",
	Short: "MCP client functionality",
	Long:  `Client commands for interacting with MCP servers`,
}

Functions

func InitClientCommand

func InitClientCommand(helpSystem *help.HelpSystem) error

func NewBridgeCommand

func NewBridgeCommand(logger zerolog.Logger) *cobra.Command

Types

type SchemaCommand

type SchemaCommand struct {
	*cmds.CommandDescription
}

func NewSchemaCommand

func NewSchemaCommand() (*SchemaCommand, error)

func (*SchemaCommand) RunIntoWriter

func (c *SchemaCommand) RunIntoWriter(
	ctx context.Context,
	parsedLayers *layers.ParsedLayers,
	w io.Writer,
) error

type SchemaCommandSettings

type SchemaCommandSettings struct {
	File string `glazed.parameter:"file"`
}

type StartCommand

type StartCommand struct {
	*cmds.CommandDescription
}

func NewStartCommand

func NewStartCommand() (*StartCommand, error)

func (*StartCommand) Run

func (c *StartCommand) Run(
	ctx context.Context,
	parsedLayers *layers.ParsedLayers,
) error

type StartCommandSettings

type StartCommandSettings struct {
	Transport    string   `glazed.parameter:"transport"`
	Port         int      `glazed.parameter:"port"`
	Repositories []string `glazed.parameter:"repositories"`
	Debug        bool     `glazed.parameter:"debug"`
	TracingDir   string   `glazed.parameter:"tracing-dir"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL