completer

package
v0.0.0-...-7ee1163 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Completer

type Completer struct {
	MS           *meilisearch.Meilisearch
	Host         string
	CurrentIndex string
	FSM          *fsm.FSM
}

func NewCompleter

func NewCompleter(ms *meilisearch.Meilisearch, host string) *Completer

func (*Completer) Completer

func (c *Completer) Completer(in prompt.Document) (suggestions []prompt.Suggest)

func (*Completer) Executor

func (c *Completer) Executor(in string)

func (*Completer) PromptPrefix

func (c *Completer) PromptPrefix() (string, bool)

Jump to

Keyboard shortcuts

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