capt-hook run
Dispatch a hook event (reads JSON from stdin, writes JSON to stdout).
capt-hook run EVENTEVENT is one of: PreToolUse, PostToolUse, PostToolUseFailure, UserPromptSubmit, Stop, SubagentStop, SubagentStart, PreCompact, Notification, SessionStart, SessionEnd, PermissionRequest, MessageDisplay, ResourcePressure.
Full --help output
Usage: capt-hook run [OPTIONS] EVENT
Dispatch a hook event (reads JSON from stdin, writes JSON to stdout).
EVENT is one of: PreToolUse, PostToolUse, PostToolUseFailure,
UserPromptSubmit, Stop, SubagentStop, SubagentStart, PreCompact,
Notification, SessionStart, SessionEnd, PermissionRequest, MessageDisplay,
ResourcePressure.
Options:
--help Show this message and exit.
Arguments
EVENT: TEXT- Required.