# Libtmux.Hook.command

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L874
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-hook-command/

```
type command = {
  name: string ;
  arguments: string list }
```

A tmux command and its distinct arguments. Setting a hook encodes these as command data; it does not concatenate arguments into shell code. Argument-specific tmux behavior, including format expansion, still applies when the hook runs.

## Members

### Other members

- [`arguments`](/en/ocaml/latest/reference/libtmux-hook-command-arguments/) (attribute)
- [`name`](/en/ocaml/latest/reference/libtmux-hook-command-name/) (attribute)
