Current section
Files
Jump to
Current section
Files
lib/mix/tasks/host_kit/output.ex
defmodule Mix.Tasks.HostKit.Output do
@moduledoc false
def format_plan(plan, opts) do
case Keyword.get(opts, :format, "text") do
"text" -> HostKit.Plan.Format.format(plan)
"inspect" -> inspect(plan, pretty: true, limit: :infinity, structs: true)
end
end
end