tori whoami
show the logged-in account and plan
npx tori.host whoamiPrint the signed-in email and plan. Uses the token in ~/.config/tori/config.json, or TORI_TOKEN if set. Exits 1 without a usable token: "not signed in" when there is none, "the API refused TORI_TOKEN" when TORI_TOKEN is set but revoked, expired or wrong. A deploy token cannot read the account, and the refusal says so. With -v it also names the API and where the token came from.
Options
Section titled “Options”None.
Environment
Section titled “Environment”TORI_TOKEN— API token (overrides the config file; for CI)TORI_API_URL(default: https://api.tori.host) — API base URL
Examples
Section titled “Examples”None.
This reference matches tori.host@0.16.4.
Download this page as Markdown.