# capt-hook run


Dispatch a hook event (reads JSON from stdin, writes JSON to stdout).


``` bash
capt-hook run [OPTIONS] EVENT
```


EVENT is one of: PreToolUse, PostToolUse, PostToolUseFailure, UserPromptSubmit, Stop, SubagentStop, SubagentStart, PreCompact, Notification, SessionStart, SessionEnd, PermissionRequest.


<span class="gd-details-chevron" aria-hidden="true"></span>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.

    Options:
      --async  Run async hooks only
      --help   Show this message and exit.


# Arguments


`EVENT: TEXT`  
Required.


# Options


`--async`  
Run async hooks only
