forked from AkkomaGang/akkoma
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 @@ def run(["change_email", nickname, email]) 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