mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 13:14:57 +00:00
add user show task
This commit is contained in:
parent
234b2b8edb
commit
e11058c20c
1 changed files with 7 additions and 0 deletions
|
@ -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