cmd

package
v0.9.1-beta.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalVDomClient *vdomclient.Client
View Source
var RpcClient *wshutil.WshRpc
View Source
var RpcContext wshrpc.RpcContext
View Source
var UsingTermWshMode bool
View Source
var WrappedStdin io.Reader = os.Stdin
View Source
var WshBinDir = ".waveterm/bin"

Functions

func AllBgItemsTag added in v0.9.0

func AllBgItemsTag(ctx context.Context, props map[string]any) any

func BgItemTag added in v0.9.0

func BgItemTag(ctx context.Context, props map[string]any) any

func Execute

func Execute()

Execute executes the root command.

func GlobalEventHandler added in v0.9.0

func GlobalEventHandler(client *vdomclient.Client, event vdom.VDomEvent)

func MakeRemoteUnixListener added in v0.9.0

func MakeRemoteUnixListener() (net.Listener, error)

func MakeVDom added in v0.9.0

func MakeVDom() *vdom.VDomElem

func StyleTag added in v0.9.0

func StyleTag(ctx context.Context, props map[string]any) any

func WriteStderr

func WriteStderr(fmtStr string, args ...interface{})

func WriteStdout

func WriteStdout(fmtStr string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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