method libtmux-dotnet latest
TmuxChaining.ToRunCommand
Returns running a hook as one tmux command.
Source and package
- Module
- LibTmux
- Declared in
- TmuxChaining
- Package
- LibTmux
- Source
- src/LibTmux/Chaining/TmuxChaining.Hooks.cs
- ToRunCommand ( request : Hook
Request , hooks : TmuxHooks ) TmuxCommand -
Description#
A hook request names a hook without saying what to do with it, so running and removing are separate here rather than one call that has to guess which was meant.
- Parameters
-
-
request ( Hook
Request ) – Which hook to run. -
hooks ( Tmux
Hooks ) – The hooks handle whose scope holds it.
-
- Returns
-
The command, ready to add to a
TmuxChain. - Raises
-
-
Argument
Null – An argument is null.Exception
-