mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 06:58:58 +00:00
add user show task
This commit is contained in:
parent
234b2b8edb
commit
e11058c20c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue