Menu

weird login

Sign this terminal in to your weird account.

weird login [flags]

Signs this terminal in: we email you a code (eight letters and digits, like K7MP-2XQ9; type it in any case, with or without the dash), and if your account has an authenticator app you also type a code from it (or a backup code). The sign-in lasts 30 days of inactivity and renews itself while used.

With --device, no email is needed here: this terminal shows a short code, you approve it on a device where you are already signed in (weird device approve <code>) and type back the confirmation code it shows.

The sign-in is stored in ~/.config/weird/session.json (readable only by you).

FlagTypeDefaultMeaning
--deviceboolsign in by approval from another device where you are signed in
--emailstringyour account's email address

Global flags: --api-key, --idempotency-key, --json, --lang, --no-input, --quiet, --yes.

Calls: loginStart, loginVerify, deviceStart, devicePoll, deviceComplete.

This page is generated from the weird CLI; it changes when the CLI does.