positionalpredictor

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PositionalPredictor

type PositionalPredictor struct {
	Predictors   []complete.Predictor
	ArgFlags     []string
	BoolFlags    []string
	IsCumulative bool
}

PositionalPredictor is a predictor for positional arguments

func (*PositionalPredictor) Predict

func (p *PositionalPredictor) Predict(a complete.Args) []string

Predict implements complete.Predict

Jump to

Keyboard shortcuts

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