llm_rules

package
v1.58.10 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: MPL-2.0 Imports: 21 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

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"
	LLMRulesToolClaudeCode 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