method libtmux-dotnet latest
ListHooksRequest.ToCommand
Returns a hook listing as one tmux command.
Source and package
- Module
- LibTmux
- Declared in
- ListHooksRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/ListHooksRequest.cs
- ToCommand ( hooks : Tmux
Hooks ) TmuxCommand -
Description#
A chain returns one combined output stream, so batch a listing to see what the same invocation just installed.
GetAllAsyncanswers the same question with the hooks already parsed.- Parameters
-
-
hooks ( Tmux
Hooks ) – The hooks handle whose scope is listed.
-
- Returns
-
The command, ready to add to a
TmuxChain. - Raises
-
-
Argument
Null –Exception hooksis null.
-