Add a mix mobilizon.actors task to list actors tasks

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2019-12-18 15:57:15 +01:00
parent fd1ea60c03
commit 6d50da12fe

View File

@ -0,0 +1,14 @@
defmodule Mix.Tasks.Mobilizon.Actors do
@moduledoc """
Tasks to manage actors
"""
use Mix.Task
@shortdoc "Manages Mobilizon actors"
@impl Mix.Task
def run(_) do
Mix.shell().info("\nAvailable tasks:")
Mix.Tasks.Help.run(["--search", "mobilizon.actors."])
end
end