lib/mix/tasks/make_admin.ex: New task
[akkoma] / lib / mix / tasks / unsubscribe_user.ex
index bb72634b6a22139c8a00be55d2dbdd19cfbc7900..62ea61a5c64fedbec16aecb6219d174783c9010b 100644 (file)
@@ -3,7 +3,13 @@ defmodule Mix.Tasks.UnsubscribeUser do
   alias Pleroma.{User, Repo}
   require Logger
 
-  @shortdoc "Unsubscribe all users from a target and then deactivate them"
+  @moduledoc """
+  Deactivate and Unsubscribe local users from a user
+
+  Usage: ``mix unsubscribe_user <nickname>``
+
+  Example: ``mix unsubscribe_user lain``
+  """
   def run([nickname]) do
     Mix.Task.run("app.start")