Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "1.0.1"
Version identifies the installed WTF build.
Functions ¶
func ConfigurationSchema ¶ added in v1.0.0
ConfigurationSchema reads definitions only: no Execute, config loading, hooks or network.
Types ¶
type Envelope ¶ added in v1.0.0
type Envelope struct {
Version int `json:"version"`
Command string `json:"command"`
OK bool `json:"ok"`
Data any `json:"data"`
Error *Problem `json:"error"`
}
Envelope is the versioned JSON command result.
type Session ¶ added in v1.0.0
type Session struct {
App *core.App
Out io.Writer
Err io.Writer
JSON bool
ShowStages bool
ShowPRs bool
ShowChecks bool
RefreshPRs bool
SelectPath bool
Data any
Command string
Emitted bool
Ran bool
Root *cobra.Command
DefaultsError error
}
Session binds command flags, output and the workspace application.