capt-hook run
Dispatch a hook event (reads JSON from stdin, writes JSON to stdout).
capt-hook run [OPTIONS] EVENTEVENT is one of: PreToolUse, PostToolUse, PostToolUseFailure, UserPromptSubmit, Stop, SubagentStop, SubagentStart, PreCompact, Notification.
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.
Options:
--async Run async hooks only
--help Show this message and exit.
Arguments
EVENT: TEXT- Required.
Options
--async- Run async hooks only