From 9485694392bff63a5d9e5e73b95cf6b18048115b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 18 Dec 2019 15:57:15 +0100 Subject: [PATCH] Add a mix mobilizon.actors task to list actors tasks Signed-off-by: Thomas Citharel --- lib/mix/tasks/mobilizon/actors.ex | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/mix/tasks/mobilizon/actors.ex diff --git a/lib/mix/tasks/mobilizon/actors.ex b/lib/mix/tasks/mobilizon/actors.ex new file mode 100644 index 000000000..ec032daa2 --- /dev/null +++ b/lib/mix/tasks/mobilizon/actors.ex @@ -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