cmds

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: MIT Imports: 31 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 NewClaudeConfigCommand added in v0.0.5

func NewClaudeConfigCommand() *cobra.Command

func NewConfigAddProfileCommand added in v0.0.4

func NewConfigAddProfileCommand() *cobra.Command

func NewConfigAddToolCommand added in v0.0.4

func NewConfigAddToolCommand() *cobra.Command

func NewConfigDuplicateProfileCommand added in v0.0.4

func NewConfigDuplicateProfileCommand() *cobra.Command

func NewConfigEditCommand added in v0.0.4

func NewConfigEditCommand() *cobra.Command

func NewConfigGroupCommand added in v0.0.4

func NewConfigGroupCommand() *cobra.Command

func NewConfigInitCommand added in v0.0.4

func NewConfigInitCommand() *cobra.Command

func NewConfigListProfilesCommand added in v0.0.4

func NewConfigListProfilesCommand() *cobra.Command

func NewConfigSetDefaultProfileCommand added in v0.0.4

func NewConfigSetDefaultProfileCommand() *cobra.Command

func NewConfigShowProfileCommand added in v0.0.4

func NewConfigShowProfileCommand() *cobra.Command

func NewCursorConfigCommand added in v0.0.9

func NewCursorConfigCommand() *cobra.Command

func NewUICommand added in v0.0.9

func NewUICommand() *cobra.Command

Types

type Config added in v0.0.4

type Config struct {
	Version        string             `yaml:"version"`
	DefaultProfile string             `yaml:"defaultProfile"`
	Profiles       map[string]Profile `yaml:"profiles"`
}

type DirectorySource added in v0.0.4

type DirectorySource struct {
	Path      string                            `yaml:"path"`
	Defaults  map[string]map[string]interface{} `yaml:"defaults,omitempty"`
	Overrides map[string]map[string]interface{} `yaml:"overrides,omitempty"`
	Whitelist map[string][]string               `yaml:"whitelist,omitempty"`
	Blacklist map[string][]string               `yaml:"blacklist,omitempty"`
}

type FileSource added in v0.0.4

type FileSource struct {
	Path      string                            `yaml:"path"`
	Defaults  map[string]map[string]interface{} `yaml:"defaults,omitempty"`
	Overrides map[string]map[string]interface{} `yaml:"overrides,omitempty"`
}

type Profile added in v0.0.4

type Profile struct {
	Description string        `yaml:"description"`
	Tools       ToolSources   `yaml:"tools"`
	Prompts     PromptSources `yaml:"prompts"`
}

type PromptSources added in v0.0.4

type PromptSources struct {
	Directories []DirectorySource `yaml:"directories,omitempty"`
	Files       []FileSource      `yaml:"files,omitempty"`
}

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 ToolSources added in v0.0.4

type ToolSources struct {
	Directories []DirectorySource `yaml:"directories,omitempty"`
	Files       []FileSource      `yaml:"files,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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