Expand description
Print mode (non-interactive) for oxicode.
Used for:
oxicode -p "prompt"— text output (final response to stdout)oxicode --mode json "prompt"— newline-delimited JSON event stream
Reads prompt from stdin or args, runs the agent, prints the result, and exits. No TUI rendering.
Structs§
- Print
Mode Options - Options for running print mode.
Enums§
- Print
Mode - Output format for print mode.
Functions§
- format_
error - Format an error message consistently for stderr output.
- read_
stdin_ prompt - Read a prompt from stdin (for piping).
- run_
print_ mode - Run in print (single-shot) mode.