categories_output.ex (357B)
1 defmodule Credo.CLI.Command.Categories.CategoriesOutput do 2 @moduledoc false 3 4 use Credo.CLI.Output.FormatDelegator, 5 default: Credo.CLI.Command.Categories.Output.Default, 6 json: Credo.CLI.Command.Categories.Output.Json 7 8 def print_categories(exec, categories) do 9 format_mod = format_mod(exec) 10 11 format_mod.print(exec, categories) 12 end 13 end