Skip to main content

install_codex_hooks

Function install_codex_hooks 

Source
pub fn install_codex_hooks(project_root: &Path) -> Result<()>
Expand description

Deep-merge the Codex hook set into <project_root>/.codex/hooks.json, creating it if absent (idempotent, never clobbers existing hooks/keys, atomic write). Repo-local counterpart of install_global_codex_hooks.