Page MenuHomePhabricator

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

Authored by epriestley on Sep 26 2017, 2:08 AM.

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
Branch
conwarn
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 18543
Build 24980: Run Core Tests
Build 24979: arc lint + arc unit