github.com/adrg/splash (go): Package splash allows styling terminal output. It provides a set of types and functions to facilitate coloring and styling of output text. It can be useful in CLI applications or logging libraries.  The core of the package is the Property type. A property represents either a color (foreground or background) or a text attribute (bold, underline, etc.). The package also defines the Style type which is a collection of properties. Styles provide the ability to store a group of properties and reuse them when needed. Both types come with the familiar String, Sprint, Sprintf and Sprintln methods which are used the same as the ones in the fmt package. Moreover, from a programming standpoint, there is no difference between using a property and a style.  Text attributes:  Foreground and background colors  Combining colors with text attributes  Property functions  Styles  Format  Colors  Text attributes  Examples
Keywords: background-color|color|colors|console|go|golang|library|package|shell|splash|terminal|text-color