commands

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandMap map[string]GoQueryCommand

CommandMap is the mapping from command line string to GoQueryCommand structure

Functions

This section is empty.

Types

type GoQueryCommand

type GoQueryCommand struct {
	Execute     func(models.GoQueryAPI, *config.Config, string) error
	Help        func() string
	Suggestions func(string) []prompt.Suggest
}

GoQueryCommand defines the functions required to add a new command to goquery

Jump to

Keyboard shortcuts

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