Skip to content

Whoami

Verifying your credentials

taibai whoami

Fetches and displays account information for the active profile. Output is rendered as a Rich panel:

╭─ Account Info ──────────────────────────────────────╮
│ Test User                                            │
│ @testuser@mastodon.example                           │
│ https://mastodon.example                             │
│                                                      │
│ Followers: 100  Following: 50  Posts: 500            │
╰──────────────────────────────────────────────────────╯

JSON output

Pass --json to dump account information as JSON instead of the panel. Only fields that have a value are included. Useful for scripting:

taibai whoami --json
taibai whoami --json | jq '.acct'

Options reference

Option Short Env Default Description
--json off Dump account info as JSON instead of a panel
--profile -p TAIBAI_PROFILE default Profile to use