Page MenuHomePhabricator

Provide ConsoleView classes for "[ OKAY ] Good things happened." console lines
ClosedPublic

Authored by epriestley on Sep 26 2017, 2:08 AM.
Tags
None
Referenced Files
F18857333: D18646.diff
Sat, Nov 1, 2:39 PM
F18818053: D18646.id44765.diff
Oct 21 2025, 8:34 PM
F18741851: D18646.id.diff
Oct 2 2025, 4:23 PM
F18737188: D18646.diff
Oct 1 2025, 9:21 AM
F18670848: D18646.diff
Sep 25 2025, 1:49 AM
F18633092: D18646.diff
Sep 16 2025, 7:34 PM
F18509131: D18646.id.diff
Sep 5 2025, 3:14 AM
F18501691: D18646.diff
Sep 4 2025, 9:54 PM
Subscribers
None

Details

Summary

Ref T12996. CLI tools are increasingly standardizing on the output format with a colored "OKAY", "FAIL", "SKIP", "STORAGE UPGRADE", "DEPLOY", etc., in the leftmost column for easy scanning.

However, we have like 20 different things that each render it on their own. Add a 21st in libphutil, in hopes that we can have fewer than 21 some day.

Test Plan

Used this to render a lint success message in D18645.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable