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

SubcommandDescription
initInitialize git hooks in a repository
disableDisable git hooks in a repository

Examples

# Initialize git hooks in the current repository
cortex hooks init

# Disable git hooks
cortex hooks disable