cmd

package
v0.9.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MaxFileSize    = 10 * 1024 * 1024 // 10MB
	WaveFileScheme = "wavefile"
	WaveFilePrefix = "wavefile://"

	DefaultFileTimeout = 5000
)
View Source
const DefaultVarFileName = "var"

Variables

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"
View Source
var WshExitCode int

Functions

func Execute

func Execute()

Execute executes the root command.

func MakeRemoteUnixListener added in v0.9.0

func MakeRemoteUnixListener() (net.Listener, error)

func WriteStderr

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

func WriteStdout

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

Types

type RunEFnType added in v0.9.3

type RunEFnType = func(*cobra.Command, []string) error

Jump to

Keyboard shortcuts

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