Skip to main content

detect

Function detect 

Source
pub fn detect() -> AuthStatus
Expand description

Detect how the CLI would authenticate, from the current environment.

Honors CODEX_HOME, defaulting to ~/.codex.