mix codex.app_server.snapshot_schema (codex_ex v0.1.0)

Copy Markdown View Source

Runs codex app-server generate-json-schema --experimental and snapshots the exported schema bundle into a tracked repo directory.

Usage

mix codex.app_server.snapshot_schema [options]

Options

  • --codex - Path to the codex executable. Defaults to the first codex on $PATH.
  • --output - Snapshot destination path. Defaults to priv/schema.
  • --help, -h - Show this help

Examples

mix codex.app_server.snapshot_schema
mix codex.app_server.snapshot_schema --codex ~/.local/bin/codex
mix codex.app_server.snapshot_schema --output tmp/codex_app_server_schema