autocomplete

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPotentials

func GetPotentials(ctx context.Context, resolver *buildcontext.Resolver, gwClient gwclient.Client, compLine string, compPoint int, app *cli.App, cloudClient cloudListClient) ([]string, error)

GetPotentials returns a list of potential arguments for shell auto completion NOTE: you can cause earthly to run this command with:

COMP_LINE="earthly -" COMP_POINT=$(echo -n $COMP_LINE | wc -c) go run cmd/earthly/main.go

func NewCachedCloudClient added in v0.7.7

func NewCachedCloudClient(installationName string, c cloudListClient) cloudListClient

Types

type FlagValuePotentialFn added in v0.7.7

type FlagValuePotentialFn func(ctx context.Context, prefix string) []string

Jump to

Keyboard shortcuts

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