Skip to main content

arc logout

Log out of Arcadible.

Usage​

arc logout [options]

Options:
-j, --json Format output as JSON [boolean] [default: false]
-q, --quiet Output only errors [boolean] [default: false]
-h, --help Show help [boolean]
-v, --version Show version number [boolean]

Description​

Logs out: ends the saved session on Arcadible, so it can't be used again, then deletes it (~/.config/arc/account.json, or %LOCALAPPDATA%\arc\account.json on Windows). It ends only that session, never a login on another device. If Arcadible can't be reached, the file is still deleted, and the session expires after 90 days unused. Running it while logged out isn't an error.

Output​

It prints Logged out. With --json, the account it logged out of, in arc whoami's shape, or { "user": null } when no one was logged in:

{
"user": {
"display_name": "Redshift",
"id": "3f0e9c1a-8b5d-4a6f-9c2e-7d1b4a5e6f70"
}
}

With --quiet without --json, it prints nothing.

CodeWhen
0You're logged out, whether or not you were in