commands

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commands

type Commands struct {
	DockerSuggestions    []prompt.Suggest
	DockerSubSuggestions map[string][]prompt.Suggest
}

func New

func New() Commands

func (*Commands) GetDockerSubSuggestions added in v1.3.1

func (c *Commands) GetDockerSubSuggestions() map[string][]prompt.Suggest

func (*Commands) GetDockerSuggestions

func (c *Commands) GetDockerSuggestions() []prompt.Suggest

func (*Commands) IsDockerCommand

func (c *Commands) IsDockerCommand(kw string) bool

func (*Commands) IsDockerSubCommand added in v1.3.1

func (c *Commands) IsDockerSubCommand(kw string) ([]prompt.Suggest, bool)

Jump to

Keyboard shortcuts

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