lib/mix/tasks: Add remaining documentation for mix tasks

This commit is contained in:
Haelwenn (lanodan) Monnier 2018-11-08 15:21:09 +01:00
commit 64c0289893
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
5 changed files with 36 additions and 4 deletions

View file

@ -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")