Documentation
¶
Overview ¶
Package codex runs the official Codex CLI as a child process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
Path string
}
func (*CLI) Login ¶
func (c *CLI) Login(home string, opts LoginOptions, stdio Stdio) error
Login uses home as CODEX_HOME, so the real Codex directory is not touched.
func (*CLI) RestartDaemon ¶ added in v0.2.1
RestartDaemon interrupts every session. Codex starts a daemon if none is running, so the caller must check first.
type LoginOptions ¶
LoginOptions may set at most one method; the zero value is a browser login.
Click to show internal directories.
Click to hide internal directories.