shell

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shell

type Shell interface {
	Run(buf io.Writer, err io.Writer, args []string)
	Add(prefix string, cmd ...shlcmd.Command)
	Get(cmd string) []shlcmd.Command
	Desc(cmd string) map[string]string
	Walk(fct func(name string, item shlcmd.Command) (shlcmd.Command, liberr.Error)) liberr.Error

	//go prompt
	RunPrompt(out, err io.Writer, opt ...libshl.Option)
}

func New

func New() Shell

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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