Packages

Elixir-native host management with inspectable plans, package locks, systemd isolation, and remote bootstrap.

Current section

Files

Jump to
host_kit lib mix tasks host_kit output.ex
Raw

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