src codex attach
Attach a terminal TUI to a running Codex app-server.
Runs: codex --remote ws://HOST:PORT
The server must be bound to 127.0.0.1 (loopback); no auth token is needed.
Usage
src codex attach [ws://HOST:PORT] [flags]
Examples
src codex attach ws://127.0.0.1:9000
Inherited flags
| Flag | Description |
|---|---|
--env string |
Override Sourcecraft environment (use 'src envs' to list available) |
--json string |
Output JSON, optionally filtered (--json or --json=field1,field2) |
--json-compact string |
Output compact JSON, optionally filtered |
-R, --repo string |
Select another repository using OWNER/REPO format |
-V, --verbose |
Enable debug logging output |
Learn more
Use src codex attach <subcommand> --help for more information about a command.