lib/mix/tasks: Add remaining documentation for mix tasks
This commit is contained in:
parent
d1a7a9fd24
commit
64c0289893
5 changed files with 36 additions and 4 deletions
|
|
@ -3,7 +3,14 @@ defmodule Mix.Tasks.UnsubscribeUser do
|
|||
alias Pleroma.{User, Repo}
|
||||
require Logger
|
||||
|
||||
@shortdoc "Unsubscribe all users from a target and then deactivate them"
|
||||
@doc """
|
||||
Deactivate and Unsubscribe local users from a user
|
||||
|
||||
Usage: ``mix unsubscribe_user <nickname>``
|
||||
|
||||
Example: ``mix unsubscribe_user lain``
|
||||
"""
|
||||
def run([nickname]) do
|
||||
def run([nickname]) do
|
||||
Mix.Task.run("app.start")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue