completion

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdCompletion

type CmdCompletion struct {
	Completion
}

func (CmdCompletion) Call

func (C CmdCompletion) Call(ctx context.Context, B *rl.Buffer) rl.Result

func (CmdCompletion) String

func (C CmdCompletion) String() string

type CmdCompletionOrList

type CmdCompletionOrList struct {
	Completion
}

func (CmdCompletionOrList) Call

func (CmdCompletionOrList) String

func (C CmdCompletionOrList) String() string

type Completion

type Completion interface {
	Delimiters() string
	Enclosures() string
	List(fields []string) (fullnames, basenames []string)
}

type File

type File struct{}

func (File) Delimiters

func (File) Delimiters() string

func (File) Enclosures

func (File) Enclosures() string

func (File) List

func (File) List(field []string) (fullnames []string, basenames []string)

Jump to

Keyboard shortcuts

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