cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: Apache-2.0 Imports: 48 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	JobLogRetentionTime   = 48 * time.Hour
	JobLogCleanupDelay    = 10 * time.Second
	JobLogCleanupInterval = 1 * time.Hour
)
View Source
const (
	DebugTermModeHex    = "hex"
	DebugTermModeDecode = "decode"
)
View Source
const (
	MaxFileSize = 10 * 1024 * 1024 // 10MB

	TimeoutYear = int64(365) * 24 * 60 * 60 * 1000

	UriHelpText = `` /* 818-byte string literal not displayed */

)
View Source
const DefaultVarFileName = "var"

Variables

View Source
var ConnServerWshRouter *wshutil.WshRouter
View Source
var CssColorNames = map[string]bool{}/* 140 elements not displayed */
View Source
var RpcClient *wshutil.WshRpc
View Source
var RpcClientRouteId string
View Source
var RpcContext wshrpc.RpcContext
View Source
var UsingTermWshMode bool
View Source
var WrappedStderr io.Writer = &WrappedWriter{dest: os.Stderr}
View Source
var WrappedStdin io.Reader = os.Stdin
View Source
var WrappedStdout io.Writer = &WrappedWriter{dest: os.Stdout}
View Source
var WshExitCode int

Functions

func Execute

func Execute()

Execute executes the root command.

func MakeRemoteUnixListener

func MakeRemoteUnixListener() (net.Listener, error)

func OutputHelpMessage

func OutputHelpMessage(cmd *cobra.Command)

func WriteStderr

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

func WriteStdout

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

Types

type BlockDetails

type BlockDetails struct {
	BlockId     string              `json:"blockid"`     // Unique identifier for the block
	WorkspaceId string              `json:"workspaceid"` // ID of the workspace containing the block
	TabId       string              `json:"tabid"`       // ID of the tab containing the block
	View        string              `json:"view"`        // Canonical view type (term, web, preview, edit, sysinfo)
	Meta        waveobj.MetaMapType `json:"meta"`        // Block metadata including view type
}

BlockDetails represents the information about a block returned by the list command

type RunEFnType

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

type WrappedWriter

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

func (*WrappedWriter) Write

func (w *WrappedWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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