Credo v1.0.5 Credo.CLI.Output View Source

This module provides helper functions regarding command line output.

Link to this section Summary

Link to this section Functions

Link to this function check_tag(category, in_parens \\ true) View Source
Link to this function complain_about_invalid_source_files(invalid_source_files) View Source
Link to this function complain_about_timed_out_source_files(large_source_files) View Source
Link to this function foreground_color(background_color) View Source

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
Link to this function priority_arrow(priority) View Source
Link to this function term_columns(default \\ 80) View Source