console

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Complete

func Complete(d prompt.Document) []prompt.Suggest

func Executor

func Executor(s string)

Types

type CompletionContext added in v0.2.3

type CompletionContext struct {
	Mode       HelpMode
	Provider   string
	Payload    string
	Config     map[string]string
	InstanceID string
	DemoReplay bool
}

type HelpContext added in v0.2.3

type HelpContext struct {
	Mode       HelpMode
	Provider   string
	Payload    string
	InstanceID string
	DemoReplay bool
}

type HelpMode added in v0.2.3

type HelpMode string
const (
	HelpModeRoot     HelpMode = "root"
	HelpModeProvider HelpMode = "provider"
	HelpModeShell    HelpMode = "shell"
)

Jump to

Keyboard shortcuts

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