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

repl

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptSessionColor added in v0.0.3

func AdaptSessionColor(prePrompt, sId string) string

func CmdExist added in v0.0.3

func CmdExist(cmd *cobra.Command, name string) bool

func ExitConsole added in v0.3.0

func ExitConsole(c *console.Console)

func ExitImplantMenu added in v0.3.0

func ExitImplantMenu(c *console.Console)

exitImplantMenu uses the background command to detach from the implant menu.

func GenMarkdownCustom added in v0.1.2

func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string) string) error

func GenMarkdownTreeCustom added in v0.1.2

func GenMarkdownTreeCustom(cmd *cobra.Command, writer io.Writer, linkHandler func(string) string) error

func GetCmd added in v0.0.3

func GetCmd(cmd *cobra.Command, name string) *cobra.Command

func Keys added in v0.0.3

func Keys[M ~map[K]V, K comparable, V any](m M) []K

From the x/exp source code - gets a slice of keys for a map

Types

type APP added in v0.3.0

type APP struct {
	*console.Console
}

Jump to

Keyboard shortcuts

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