# libtmux.Server:command

- **Module:** libtmux.Server
- **Package:** libtmux
- **Language:** Lua
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-lua/blob/547c9c4228e07ebf846690eb44da2eeeb6fde922/lua/libtmux/_internal/server.lua#L673
- **Page:** https://libtmux.org/en/lua/latest/reference/libtmux-server-command/

```
libtmux.Server:command(argv: string[], options: libtmux.CommandOptions? = nil) -> libtmux.Request<libtmux.CommandResult>
```

Binds a snapshot record to a live handle of its class.
