commands

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 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(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