reftool

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ID = "ref-tool-prefix"

ID is the feature plugin id for YAML registration.

Variables

This section is empty.

Functions

func NewToolReactor

func NewToolReactor(cfg Config) sdk.ToolReactor

NewToolReactor prefixes tool argument deltas (rewrite path).

Types

type Config

type Config struct {
	Order  *int   `yaml:"order"`
	Prefix string `yaml:"prefix"`
}

Config is decoded from the feature plugin YAML block.

func DecodeConfig

func DecodeConfig(n yaml.Node) (Config, error)

DecodeConfig parses YAML for ref-tool-prefix.

Jump to

Keyboard shortcuts

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