defmodule Wand.CLI.Commands.Version do alias Wand.CLI.Display @io Wand.Interfaces.IO.impl() @behaviour Wand.CLI.Command @moduledoc """ # Version Get the installed version of wand. To get the version of wand_core, use wand core version instead. ### Usage **wand** version """ @doc false def help(:banner), do: Display.print(@moduledoc) @doc false def help(:verbose), do: help(:banner) @doc false def validate(_args), do: {:ok, []} @doc false def execute(_args) do @io.puts(Wand.version()) {:ok, :silent} end end