jiraya dev
Referência do comando jiraya dev da CLI do Jiraya: subcomandos, uso, flags e exemplos, gerados a partir da ajuda.
Helpers for the local development environment
Helpers for the local development environment created by make dev.
They read the same JIRAYA_DEV_* variables as the deterministic dev seed, so what they report belongs to the seeded account. Development only.
Subcomandos
| Comando | Descrição |
|---|---|
jiraya dev mfa-code | Print the current MFA code of the seeded dev account |
jiraya dev mfa-code
Print the current MFA code of the seeded dev account
Print the current TOTP code of the account make dev seeds, so signing in never needs an authenticator app.
The code is derived from JIRAYA_DEV_MFA_SECRET (default: the fixed dev secret, the same one server/cmd/seed enrolls) and rotates every 30s because that is how TOTP works — the secret behind it never changes. The secret is not printed on its own; the otpauth:// URI contains it because that is the string an authenticator app scans.
Refuses to run with APP_ENV=production, exactly like the seed.
Uso
jiraya dev mfa-code [flags]Exemplos
jiraya dev mfa-code
jiraya dev mfa-code --output jsonFlags
| Flag | Descrição | Padrão |
|---|---|---|
--output string | Output format: text or json | text |
Atualizado em