termservices

package
v0.0.0-...-a532a67 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: LGPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// TerminalService is a key for Terminal service
	TerminalService = "TerminalService"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Terminal

type Terminal interface {
	RunLoop(io app.IOContext, prompt string) (err error)
	RunString(io app.IOContext, s string) (err error)
	RunCommand(io app.IOContext, args []string) (err error)
	RunCommandFromReader(io app.IOContext, reader io.Reader) (eof bool, err error)
	Extends(exts ...app.TerminalCommand) Terminal
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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