mcp

package
v1.209.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 22 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.

Jump to

Keyboard shortcuts

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