Skip to main content

Module onboarding

Module onboarding 

Source
Expand description

Interactive first-run setup wizard.

Detects existing credentials (oxi auth store, config.toml). If none found, runs an interactive wizard that stores the API key in ~/.oxi/auth.json (shared with oxi CLI if installed).

Functionsยง

has_credentials
Check if any credentials exist (config.toml, oxi auth store, or env vars). Returns true if credentials are found (onboarding should be skipped).
run_onboarding
Run the onboarding wizard if no credentials are configured.