Documentation ¶
Index ¶
- func CreateTable(options PrintTableOptions, defaultHeaders []string, taskHeaders []string) table.Writer
- func FormatTable(theme dao.Theme) table.Style
- func GetAlign(s string) text.Align
- func GetAttr(s string) *text.Color
- func GetBg(s string) *text.Color
- func GetFg(s string) *text.Color
- func GetFormat(s string) text.Format
- func PrintProjectBlocks(projects []dao.Project)
- func PrintTable[T Items](data []T, options PrintTableOptions, defaultHeaders []string, ...)
- func PrintTaskBlock(tasks []dao.Task)
- func PrintTree(config *dao.Config, theme dao.Theme, listFlags *core.ListFlags, ...)
- func RenderTable(t table.Writer, output string)
- type Items
- type PrintTableOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTable ¶ added in v0.20.0
func CreateTable( options PrintTableOptions, defaultHeaders []string, taskHeaders []string, ) table.Writer
func GetAttr ¶ added in v0.20.0
Attr (color) map against go-pretty/table (attributes belong to the same types as fg/bg)
func PrintProjectBlocks ¶
func PrintTable ¶ added in v0.20.0
func PrintTable[T Items]( data []T, options PrintTableOptions, defaultHeaders []string, taskHeaders []string, )
func PrintTaskBlock ¶ added in v0.6.1
func RenderTable ¶ added in v0.20.0
Types ¶
Click to show internal directories.
Click to hide internal directories.