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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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