add user show task

This commit is contained in:
sadposter 2019-07-22 01:17:59 +01:00
parent 234b2b8edb
commit e11058c20c

View file

@ -423,6 +423,13 @@ defmodule Mix.Tasks.Pleroma.User do
end
end
def run(["show", nickname]) do
start_pleroma()
nickname
|> User.get_cached_by_nickname()
|> IO.inspect
end
def run(["send_confirmation", nickname]) do
start_pleroma()
with %User{} = user <- User.get_cached_by_nickname(nickname) do