MCPcopy Create free account
hub / github.com/driangle/taskmd / formatSuccess

Function formatSuccess

apps/cli/internal/cli/colors.go:164–166  ·  view source on GitHub ↗

formatSuccess formats a success message in green.

(msg string, r *lipgloss.Renderer)

Source from the content-addressed store, hash-verified

162
163// formatSuccess formats a success message in green.
164func formatSuccess(msg string, r *lipgloss.Renderer) string {
165 return r.NewStyle().Foreground(lipgloss.Color("2")).Render(msg)
166}
167
168// formatError formats an error message in red.
169func formatError(msg string, r *lipgloss.Renderer) string {

Callers 8

executeDeleteFunction · 0.85
executeArchiveFunction · 0.85
outputValidationTextFunction · 0.85
verifySummaryLineFunction · 0.85
formatVerifyStatusFunction · 0.85
runRmFunction · 0.85

Calls

no outgoing calls

Tested by 2