cortex hooks
Manage git hooks that integrate Cortex agent capabilities into the git workflow. Hooks can be installed into repositories to trigger agent actions on git events.
Usage
cortex hooks <subcommand> [options]
Subcommands
| Subcommand | Description |
|---|---|
init | Initialize git hooks in a repository |
disable | Disable git hooks in a repository |
Examples
# Initialize git hooks in the current repository
cortex hooks init
# Disable git hooks
cortex hooks disable