terminal

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prepare added in v0.0.6

func Prepare(ctx0 application.Context) (context.Context, error)

Prepare 准备命令行运行环境

func Run

func Run(app application.Context) error

Run 运行一个内嵌的terminal循环,直到exit

Types

type Context

type Context struct {
	// contains filtered or unexported fields
}

Context 是终端(terminal)的上下文

Jump to

Keyboard shortcuts

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