Documentation ¶
Index ¶
- Constants
- func ColoredPriority(status entity.TaskPriority) string
- func ColoredStatus(status entity.TaskStatus) string
- type OutputFormat
- type Printer
- func (p *Printer) PrintStatusUpdate(title string, from, to entity.TaskStatus, padding int)
- func (p *Printer) PrintTask(task entity.Task, caption string)
- func (p *Printer) PrintTaskBoard(todo, doing, done entity.TaskList)
- func (p *Printer) PrintTaskList(tasks []entity.Task)
- func (p *Printer) PrintTaskListJSON(tasks []entity.Task)
Constants ¶
View Source
const ( OutputFormatTable = "table" OutputFormatJSON = "json" )
Variables ¶
This section is empty.
Functions ¶
func ColoredPriority ¶
func ColoredPriority(status entity.TaskPriority) string
func ColoredStatus ¶
func ColoredStatus(status entity.TaskStatus) string
Types ¶
type OutputFormat ¶
type OutputFormat string
type Printer ¶
func (*Printer) PrintStatusUpdate ¶
func (p *Printer) PrintStatusUpdate(title string, from, to entity.TaskStatus, padding int)
func (*Printer) PrintTaskBoard ¶
func (*Printer) PrintTaskList ¶
func (*Printer) PrintTaskListJSON ¶
Click to show internal directories.
Click to hide internal directories.