Help us shape the future of Go! Take the 2026 Go Developer Survey

suggest

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BackGroundSuggest = prompt.Suggest{Text: "bg", Description: "Run tools in background"}
	AsSuggest         = prompt.Suggest{Text: "as", Description: "Set the output name for later use"}
)
View Source
var (
	EmptySuggests = []prompt.Suggest{}
	RootSuggests  = []prompt.Suggest{}
	ToolSuggests  = []prompt.Suggest{}

	RunToolSuggests = []prompt.Suggest{
		BackGroundSuggest,
		AsSuggest,
	}
	RunToolWithOutAsSuggests = []prompt.Suggest{
		BackGroundSuggest,
	}
	AsSuggests = []prompt.Suggest{
		AsSuggest,
	}

	FilterSuggests = []prompt.Suggest{
		{Text: "link", Description: "Filter link"},
		{Text: "email", Description: "Filter email"},
		{Text: "date", Description: "Filter date"},
		{Text: "time", Description: "Filter time"},
		{Text: "phone", Description: "Filter phone"},
		{Text: "ip", Description: "Filter ip"},
		{Text: "md5", Description: "Filter md5"},
		{Text: "sha1", Description: "Filter sha1"},
		{Text: "sha256", Description: "Filter sha256"},
	}
)

Functions

func AddRootSuggest

func AddRootSuggest(text, descriptions string)

func AddToolSuggest

func AddToolSuggest(text, descriptions string)

func InitSuggests

func InitSuggests()

Types

This section is empty.

Jump to

Keyboard shortcuts

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