Skip to main content

Module token

Module token 

Source

Functionsยง

cmd_join
One-shot join subcommand: register username globally, receive token, write token file.
read_cursor
Read the cursor position from disk, returning None if the file is absent or empty.
username_from_token
Look up the username associated with token by scanning global token files.
write_cursor
Persist the cursor position to disk.