output

package
v1.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package output renders TODO results to the terminal.

Index

Constants

This section is empty.

Variables

View Source
var (
	Bold    = color.New(color.Bold).SprintFunc()
	Green   = color.New(color.FgGreen).SprintFunc()
	Red     = color.New(color.FgRed).SprintFunc()
	Blue    = color.New(color.FgBlue).SprintFunc()
	Magenta = color.New(color.FgMagenta).SprintFunc()
)

Functions

func PrintCount

func PrintCount(todos []types.TODO)

func PrintFileNames

func PrintFileNames(todos []types.TODO)

func PrintTODOs

func PrintTODOs(todos []types.TODO, groupBy types.GroupBy)

func PrintWorkflowCommands added in v1.0.0

func PrintWorkflowCommands(todos []types.TODO, policy todotype.Policy)

PrintWorkflowCommands writes a GitHub Actions workflow command annotation for each TODO so that they show up in the PR/check-run UI.

See https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL