mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
logout
This commit is contained in:
parent
0060fd5af3
commit
4a8989a6b0
2 changed files with 6 additions and 2 deletions
|
|
@ -110,6 +110,10 @@ async def next_cmd(mc, cmds):
|
|||
await mc.ensure_contacts()
|
||||
print(await mc.send_login(bytes.fromhex(mc.contacts[cmds[1]]["public_key"]),
|
||||
cmds[2]))
|
||||
case "logout" :
|
||||
argnum = 1
|
||||
await mc.ensure_contacts()
|
||||
print(await mc.send_logout(bytes.fromhex(mc.contacts[cmds[1]]["public_key"])))
|
||||
case "wait_login" | "wl" | "]]":
|
||||
print(await mc.wait_login())
|
||||
case "req_status" | "rs" :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue