Add a mix mobilizon.actors task to list actors tasks
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
6c5e7750c2
commit
9485694392
14
lib/mix/tasks/mobilizon/actors.ex
Normal file
14
lib/mix/tasks/mobilizon/actors.ex
Normal 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
|
Loading…
Reference in a new issue