From: sadposter Date: Mon, 22 Jul 2019 00:17:59 +0000 (+0100) Subject: add user show task X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e11058c20c25aaf644e7455451ebf1949b7e19c8;p=akkoma add user show task --- diff --git a/lib/mix/tasks/pleroma/user.ex b/lib/mix/tasks/pleroma/user.ex index 55f89e1d0..b77e4291d 100644 --- a/lib/mix/tasks/pleroma/user.ex +++ b/lib/mix/tasks/pleroma/user.ex @@ -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