Documentation
¶
Overview ¶
Package cli provides the operator and machine-readable CLI surfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
UpdateAction func(context.Context, bool) (updater.Result, error)
StateDir string
CodexHome string
Binary string
Version string
Env []string
In io.Reader
Out io.Writer
Err io.Writer
RunCommand codex.CommandRunner
CWD string
CredentialResolver codex.CredentialResolver
Auth DeviceAuthenticator
// contains filtered or unexported fields
}
type DeviceAuthenticator ¶
type DeviceAuthenticator interface {
DeviceLogin(context.Context, func(auth.DevicePrompt) error) ([]byte, error)
}
DeviceAuthenticator separates network enrollment from CLI persistence.
Click to show internal directories.
Click to hide internal directories.