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
Unknown Object (File)
Tue, Jun 17, 12:20 AM
Unknown Object (File)
Mon, Jun 16, 9:50 PM
Unknown Object (File)
May 28 2025, 4:06 PM
Unknown Object (File)
May 27 2025, 9:50 AM
Unknown Object (File)
Apr 26 2025, 4:18 PM
Unknown Object (File)
Apr 25 2025, 5:40 PM
Unknown Object (File)
Apr 25 2025, 9:15 AM
Unknown Object (File)
Mar 26 2025, 3:36 AM
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