cmd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirGrep added in v0.2.0

func Execute

func Execute()

func GetMcpServer added in v0.2.0

func GetMcpServer() *mcp.Server

func GrepMany

func GrepMany(pattern, directory string, recursive, pretty bool, skipDirs []string, contextWindow int) (map[string][]string, error)

Types

type DirGrepParams added in v0.2.0

type DirGrepParams struct {
	Directory string   `json:"directory" jsonschema:"Path to the directory to perform the grep operations within"`
	Pattern   string   `json:"pattern" jsonschema:"Pattern to use for grep operations"`
	Context   int      `json:"context" jsonschema:"Context padding around the match (number of charachters)."`
	SkipDirs  []string `` /* 130-byte string literal not displayed */
	Recursive bool     `json:"recursive" jsonschema:"Whether or not to perform the grep operations recursively within the specified directory"`
	Pretty    bool     `json:"pretty" jsonschema:"Whether or not to retrieve results with match highlighting (most of the times not needed)"`
}

Jump to

Keyboard shortcuts

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