2020-02-18 08:57:00 +01:00
|
|
|
defmodule Mix.Tasks.Mobilizon.Groups do
|
|
|
|
@moduledoc """
|
|
|
|
Tasks to manage groups
|
|
|
|
"""
|
|
|
|
|
|
|
|
use Mix.Task
|
|
|
|
|
|
|
|
alias Mix.Tasks
|
2020-10-30 15:16:01 +01:00
|
|
|
import Mix.Tasks.Mobilizon.Common
|
2020-02-18 08:57:00 +01:00
|
|
|
|
|
|
|
@shortdoc "Manages Mobilizon groups"
|
|
|
|
|
|
|
|
@impl Mix.Task
|
|
|
|
def run(_) do
|
2020-10-30 15:16:01 +01:00
|
|
|
shell_info("\nAvailable tasks:")
|
2020-02-18 08:57:00 +01:00
|
|
|
Tasks.Help.run(["--search", "mobilizon.groups."])
|
|
|
|
end
|
|
|
|
end
|