# LibTmux.HookCommand

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/configuration.jl#L10
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-hookcommand/

```
LibTmux.HookCommand(index, command, inherited)

LibTmux.HookCommand(index::Int64, command::String, inherited::Bool)
```

One sparse hook entry with tmux's canonical command body and inheritance marker.

## Methods

### `LibTmux.HookCommand(index, command, inherited)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/configuration.jl#L12).

### `LibTmux.HookCommand(index::Int64, command::String, inherited::Bool)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/configuration.jl#L12).

## Parameters

- `index` (`Any`) (for `HookCommand(index, command, inherited) [overload 1]`)
- `command` (`Any`) (for `HookCommand(index, command, inherited) [overload 1]`)
- `inherited` (`Any`) (for `HookCommand(index, command, inherited) [overload 1]`)
- `index` (`Int64`) (for `HookCommand(index, command, inherited) [overload 2]`)
- `command` (`String`) (for `HookCommand(index, command, inherited) [overload 2]`)
- `inherited` (`Bool`) (for `HookCommand(index, command, inherited) [overload 2]`)

## Members

### Other members

- `command` (property)
- `index` (property)
- `inherited` (property)
