Documentation ¶
Index ¶
- Variables
- func PrintCommandBlocks(commands []dao.Command)
- func PrintCommands(commands []dao.Command, listFlags ListFlags, commandFlags ListCommandFlags)
- func PrintInfo(config *dao.Config)
- func PrintProjectBlocks(projects []dao.Project)
- func PrintProjects(projects []dao.Project, listFlags ListFlags, projectFlags ListProjectFlags)
- func PrintRun(format string, outputs []dao.ProjectOutput)
- func PrintTags(tags []string, listFlags ListFlags, tagFlags ListTagFlags)
- type ListCommandFlags
- type ListFlags
- type ListProjectFlags
- type ListTagFlags
Constants ¶
This section is empty.
Variables ¶
View Source
var ManiList = table.Style{ Name: "table", Box: StyleBoxLight, Color: table.ColorOptions{}, Format: table.FormatOptions{ Header: text.FormatUpper, Row: text.FormatDefault, Footer: text.FormatUpper, }, Options: table.Options{ DrawBorder: true, SeparateColumns: true, SeparateFooter: false, SeparateHeader: true, SeparateRows: false, }, }
View Source
var StyleBoxLight = table.BoxStyle{ BottomLeft: "└", BottomRight: "┘", BottomSeparator: "┴", EmptySeparator: text.RepeatAndTrim(" ", text.RuneCount("┼")), Left: "│", LeftSeparator: "├", MiddleHorizontal: "─", MiddleSeparator: "┼", MiddleVertical: "│", PaddingLeft: " ", PaddingRight: " ", PageSeparator: "\n", Right: "│", RightSeparator: "┤", TopLeft: "┌", TopRight: "┐", TopSeparator: "┬", UnfinishedRow: " ≈", }
View Source
var StyleNoBorders = table.BoxStyle{
PaddingLeft: "",
PaddingRight: " ",
}
Functions ¶
func PrintCommandBlocks ¶
func PrintCommands ¶
func PrintCommands( commands []dao.Command, listFlags ListFlags, commandFlags ListCommandFlags, )
func PrintProjectBlocks ¶
func PrintProjects ¶
func PrintProjects( projects []dao.Project, listFlags ListFlags, projectFlags ListProjectFlags, )
func PrintRun ¶
func PrintRun(format string, outputs []dao.ProjectOutput)
func PrintTags ¶
func PrintTags( tags []string, listFlags ListFlags, tagFlags ListTagFlags, )
Types ¶
type ListCommandFlags ¶
type ListCommandFlags struct {
Headers []string
}
type ListProjectFlags ¶
type ListTagFlags ¶
type ListTagFlags struct {
Headers []string
}
Click to show internal directories.
Click to hide internal directories.