llm_rules

package
v1.53.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

all available options exept for None

Functions

func LLMRulesFlagValues

func LLMRulesFlagValues() []string

func PrintLLMRulesInfo

func PrintLLMRulesInfo(tool Tool)

func SetupLLMRules

func SetupLLMRules(llmRules Tool, lang cmdutil.Language, appRootRelpath string, appSlug string) error

Types

type Tool

type Tool string
const (
	LLMRulesToolNone      Tool = ""
	LLMRulesToolCursor    Tool = "cursor"
	LLMRulesToolClaudCode Tool = "claudecode"
	LLMRulesToolVSCode    Tool = "vscode"
	LLMRulesToolAgentsMD  Tool = "agentsmd"
	LLMRulesToolZed       Tool = "zed"
)

NOTE: changes to these values should also be reflected in userconfig

func (Tool) Display

func (e Tool) Display() string

func (Tool) SelectPrompt

func (e Tool) SelectPrompt() string

type ToolItem

type ToolItem struct {
	// contains filtered or unexported fields
}

func NewLLMRulesItem

func NewLLMRulesItem(tool Tool) ToolItem

func (ToolItem) Description

func (i ToolItem) Description() string

func (ToolItem) FilterValue

func (i ToolItem) FilterValue() string

func (ToolItem) SelectedID

func (i ToolItem) SelectedID() Tool

func (ToolItem) Title

func (i ToolItem) Title() string

type ToolSelectDone

type ToolSelectDone = cmdutil.SimpleSelectDone[Tool]

type ToolSelectModel

type ToolSelectModel = cmdutil.SimpleSelectModel[Tool, ToolItem]

Jump to

Keyboard shortcuts

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