# libtmux._internal.log_context.command_extra

- **Module:** libtmux._internal.log_context
- **Package:** libtmux
- **Language:** Python
- **Kind:** function
- **Source:** https://github.com/tmux-python/libtmux/blob/efdbb5637666b166358772ecc737b3807beab21e/src/libtmux/_internal/log_context.py#L1057
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-_internal-log_context-command_extra/

```
libtmux._internal.log_context.command_extra(
    argv: Sequence[str],
) -> dict[str, str]
```

Describe a tmux command and derive best-effort structured context.

## Parameters

- `argv` (`Sequence[str]`)
