codex-auth export [<dir>]
codex-auth export --cpa [<dir>]- Exports stored account auth snapshots.
- A directory path writes direct child
*.auth.jsonfiles to that directory. - Without a directory path, files are written to
CODEX_HOME/accounts/backup. - The exported directory can be imported with
codex-auth import <dir>.
--cpa exports flat CLIProxyAPI token JSON.
- A directory path writes direct child
.jsonfiles to that directory. - Without a directory path, files are written to
CODEX_HOME/accounts/backup. - The exported directory can be imported with
codex-auth import --cpa <dir>.
stdoutreceives the number of exported accounts and destination directory.