commands

package
v0.0.0-...-eb818ad Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Completer

func Completer(line string) []string

Types

type Command

type Command interface {
	GetName() string
	GetCompletions(args []string) []string
	Run(ctx context.Context, a *actions.Actions, args []string) error
}

func Lookup

func Lookup(cmd string) Command

Jump to

Keyboard shortcuts

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