Credo.CLI.Output (Credo v1.5.0) View Source
This module provides helper functions regarding command line output.
Link to this section Summary
Functions
Returns a suitable foreground color for a given background_color
.
Link to this section Functions
Returns a suitable foreground color for a given background_color
.
iex> Credo.CLI.Output.foreground_color(:yellow)
:black
iex> Credo.CLI.Output.foreground_color(:blue)
:white