LibTmuxMCP.main
-
Methods#
main(arguments; input, output, err)[source]#
Run
libtmux-mcpwith an explicit socket selector. Startup captures exact caller/allowed pane references.--helpand invalid options perform no tmux I/O. Returns 0 after clean EOF, 2 for option errors, 130 for interruption and 1 for startup, protocol or cleanup failure. Only--helpwrites human text to stdout; serving reserves it for MCP messages.main(arguments=ARGS; input=stdin, output=stdout, err=stderr) -> Intmain(; ...)[source]#
Run
libtmux-mcpwith an explicit socket selector. Startup captures exact caller/allowed pane references.--helpand invalid options perform no tmux I/O. Returns 0 after clean EOF, 2 for option errors, 130 for interruption and 1 for startup, protocol or cleanup failure. Only--helpwrites human text to stdout; serving reserves it for MCP messages.main(arguments=ARGS; input=stdin, output=stdout, err=stderr) -> Int- Parameters
-
-
arguments=ARGS( Any ) (formain(arguments, input, output, err)) # -
input=stdin( IO ) (formain(arguments, input, output, err)) # -
output=stdout( IO ) (formain(arguments, input, output, err)) # -
err=stderr( IO ) (formain(arguments, input, output, err)) # -
argument1(formain(argument1)) #
-