replcomplete

package
v2026.602.3 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReplCompleter

func NewReplCompleter(env ReplCompleteEnv) readline.AutoCompleter

func ReplCompleteDo

func ReplCompleteDo(env ReplCompleteEnv, line []rune, pos int) ([][]rune, int)

func ReplCompleteResetGoCacheForTest

func ReplCompleteResetGoCacheForTest()

func ReplCompletionDisabled

func ReplCompletionDisabled() bool

Types

type ReplCompleteEnv

type ReplCompleteEnv struct {
	ProjHex        string
	ProjRoot       string
	ReplShellFirst bool
	Session        func() *chatstore.Session
}

func EnvFrom

func EnvFrom(src SessionSource) ReplCompleteEnv

type SessionSource

type SessionSource interface {
	ReplCompleteProjHex() string
	ReplCompleteProjRoot() string
	ReplCompleteShellFirst() bool
	ReplCompleteSnapshotSession() *chatstore.Session
}

Jump to

Keyboard shortcuts

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