Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string = "dev" Date string = "na" Commit string = "na" )
Set by build tool chain
View Source
var WorkspaceRoot string
WorkspaceRoot for completions
Functions ¶
This section is empty.
Types ¶
type Root ¶
type Root struct {
WorkspaceRoot string `opts:"-" yaml:"-"`
CWD string `opts:"-" yaml:"-"`
RootCfg *Root `opts:"-" yaml:"-"`
GroupOutput bool `yaml:"-" help:"group by output. eg useful in 'wx -g sh git status --short'"`
Parallelism int `yaml:"-" help:"max number of tasks to run in parallel. Defaults to 0 ie all"`
DefaultGitOwner string `opts:"-"`
EmptyTag bool `yaml:"-" help:"if set the 'tags' are ignored"`
Tags []string `` /* 142-byte string literal not displayed */
NoHead bool `yaml:"-"`
Workspaces []Workspace `opts:"-"`
}
Root struct for commands Field tags control where the values come from If opts:"-" yaml:"-" are set in object creation
opts:="-" come from config file yaml:="-" come from command line flags
func (*Root) PrintOutput ¶
func (root *Root) PrintOutput()
type VersionCmd ¶ added in v0.0.5
type VersionCmd struct{}
func (*VersionCmd) Run ¶ added in v0.0.5
func (r *VersionCmd) Run()
type Workspace ¶
type Workspace struct {
Path string
GitOwner string `json:"owner,omitempty" yaml:",omitempty"`
RepoName string `json:"name,omitempty" yaml:",omitempty"`
Url string `json:"url,omitempty"`
Tags []string `json:"tags,omitempty" yaml:",omitempty,flow"`
Dna *struct {
Output string
} `yaml:",omitempty"`
Out string `json:"-" opts:"-" yaml:"-"`
}
Click to show internal directories.
Click to hide internal directories.