Versions in this module Expand all Collapse all v0 v0.0.2 Apr 12, 2020 Changes in this version + const DateLayout + const MainBoardName + const RESET + func GetItemUseCase(workspace string, config AppConfig) usecases.ItemUseCase type AppConfig + DefaultWorkplace string + type ItemGroupCollection []ItemGroup + func Filter(summary ItemGroupCollection, predicate Predicate) ItemGroupCollection + func (c ItemGroupCollection) Len() int + func (c ItemGroupCollection) Less(i, j int) bool + func (c ItemGroupCollection) Swap(i, j int) + type Predicate func(group ItemGroup) bool v0.0.1 Mar 29, 2020 Changes in this version + const BLACK + const BLUE + const CYAN + const GREEN + const GREY + const MAGENTA + const NC + const RED + const WHITE + const YELLOW + var ERROR = LoggerOptions + var SUCCESS = LoggerOptions + var WARNING = LoggerOptions + func BulkFunc(ids []int, successMsgPrefix string, renderer Renderer, c *cli.Context, ...) error + func CaptureOutput(f func()) string + func Difference(a, b time.Time) (year, month, day, hour, min, sec int) + func FlatByTags(items entities.ItemCollection) entities.ItemCollection + func GetCliApp(config AppConfig) *cli.App + func GetDurationText(a, b time.Time) string + func GroupByCreationDate(item entities.Manageable) string + func GroupByStatus(item entities.Manageable) string + func GroupByTag(item entities.Manageable) string + func Main() + type AppConfig struct + DataDirectory string + DefaultDisplayMode string + DisplayCompletedTasks bool + func GetAppConfig(path string, defaultDataDir string) AppConfig + type COLOR string + func GetColorStatus(min, max, i int) COLOR + type ConsoleRenderer struct + func (Logger *ConsoleRenderer) Colorify(message interface{}, color COLOR) string + func (Logger *ConsoleRenderer) Error(message string) error + func (Logger *ConsoleRenderer) Log(option LoggerOptions, message string) error + func (Logger *ConsoleRenderer) Success(message string) error + func (Logger *ConsoleRenderer) Warning(message string) error + type GetKey func(item entities.Manageable) string + type ItemGroup struct + Items entities.ItemCollection + Name string + func GroupBy(items entities.ItemCollection, keyFunc GetKey) []ItemGroup + func (g *ItemGroup) Print(renderer Renderer, summarizer ItemSummarizer) + type ItemPresenter interface + BoardView func(items entities.ItemCollection) error + TimelineView func(items entities.ItemCollection) error + func NewItemPresenter(renderer Renderer) ItemPresenter + type ItemSummarizer func(item entities.Manageable) string + type LoggerOptions struct + Badge string + Color COLOR + type MapFunction func(id int, c *cli.Context) error + type Renderer interface + Colorify func(message interface{}, color COLOR) string + Error func(message string) error + Log func(option LoggerOptions, message string) error + Success func(message string) error + Warning func(message string) error + func NewRenderer() Renderer + type Summary struct + DoneCount int + InProgressCount int + NoteCount int + PendingCount int + TasksCount int + func Summarize(items entities.ItemCollection) Summary + func (s *Summary) GetDonePercentage() float32