Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-dotnet latest

ListHooksRequest.ToCommand

Namespace LibTmux.ListHooksRequest.ToCommand LibTmux

Returns a hook listing as one tmux command.

View as Markdown

Source and package
Module
LibTmux
Declared in
ListHooksRequest
Package
LibTmux
Source
src/LibTmux/Requests/ListHooksRequest.cs
ToCommand ( hooks : TmuxHooks ) → TmuxCommand
method [source]

Description#

A chain returns one combined output stream, so batch a listing to see what the same invocation just installed. GetAllAsync answers the same question with the hooks already parsed.

Parameters
  • hooks ( TmuxHooks ) – The hooks handle whose scope is listed.

Returns

The command, ready to add to a TmuxChain .

Raises
Esc

Type to search.