diff options
author | Hakaba Hitoyo <hakabahitoyo@example.com> | 2018-11-15 14:04:09 +0900 |
---|---|---|
committer | Hakaba Hitoyo <hakabahitoyo@example.com> | 2018-11-15 14:04:09 +0900 |
commit | 5c8b8f6cb7212bd202924b535cd2a263416e78d4 (patch) | |
tree | 07ad2b2dd44189ae14a1ff44ff5a98013143866b /lib/mix/tasks/make_moderator.ex | |
parent | 3484f687958f57ea5ce749135f78517ff12849d7 (diff) | |
parent | cc45797f4e1765f5123c058166f6032c6a6556a0 (diff) | |
download | pleroma-5c8b8f6cb7212bd202924b535cd2a263416e78d4.tar.gz pleroma-5c8b8f6cb7212bd202924b535cd2a263416e78d4.zip |
Merge remote-tracking branch 'official/develop' into develop
Diffstat (limited to 'lib/mix/tasks/make_moderator.ex')
-rw-r--r-- | lib/mix/tasks/make_moderator.ex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/mix/tasks/make_moderator.ex b/lib/mix/tasks/make_moderator.ex index a454a958e..15586dc30 100644 --- a/lib/mix/tasks/make_moderator.ex +++ b/lib/mix/tasks/make_moderator.ex @@ -1,9 +1,16 @@ defmodule Mix.Tasks.SetModerator do + @moduledoc """ + Set moderator to a local user + + Usage: ``mix set_moderator <nickname>`` + + Example: ``mix set_moderator lain`` + """ + use Mix.Task import Mix.Ecto alias Pleroma.{Repo, User} - @shortdoc "Set moderator status" def run([nickname | rest]) do Application.ensure_all_started(:pleroma) |