mcp

package
v1.214.0-test.7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCPCommandProvider

type MCPCommandProvider struct{}

MCPCommandProvider implements the CommandProvider interface.

func (*MCPCommandProvider) GetAliases

func (m *MCPCommandProvider) GetAliases() []internal.CommandAlias

GetAliases returns command aliases (none for mcp).

func (*MCPCommandProvider) GetCommand

func (m *MCPCommandProvider) GetCommand() *cobra.Command

GetCommand returns the mcp command.

func (*MCPCommandProvider) GetCompatibilityFlags

func (m *MCPCommandProvider) GetCompatibilityFlags() map[string]compat.CompatibilityFlag

GetCompatibilityFlags returns compatibility flags for this command.

func (*MCPCommandProvider) GetFlagsBuilder

func (m *MCPCommandProvider) GetFlagsBuilder() flags.Builder

GetFlagsBuilder returns the flags builder for this command.

func (*MCPCommandProvider) GetGroup

func (m *MCPCommandProvider) GetGroup() string

GetGroup returns the command group for help organization.

func (*MCPCommandProvider) GetName

func (m *MCPCommandProvider) GetName() string

GetName returns the command name.

func (*MCPCommandProvider) GetPositionalArgsBuilder

func (m *MCPCommandProvider) GetPositionalArgsBuilder() *flags.PositionalArgsBuilder

GetPositionalArgsBuilder returns the positional args builder for this command.

func (*MCPCommandProvider) IsExperimental

func (m *MCPCommandProvider) IsExperimental() bool

IsExperimental returns whether this command is experimental.

Directories

Path Synopsis
Package mcpcmd holds the shared MCP root command variable.
Package mcpcmd holds the shared MCP root command variable.

Jump to

Keyboard shortcuts

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