tmuxtest.ScriptedCommand
Go
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- tmuxtest
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/tmuxtest/scripted.go
-
ScriptedCommand is one answer a scripted tmux gives. The first matching entry wins, and an invocation nothing matches exits 1 saying so.
4 declared, 0 inherited
Members
- Contains attribute Contains selects the invocations this entry answers: one matches when its arguments contain every string listed, so "list-sessions" answers that subcommand whatever flags surround it. Empty matches every invocation.
- ExitCode attribute ExitCode is the status the invocation exits with.
- Stderr attribute Stderr is written to standard error exactly, newlines included. This package reads a completed failure from stderr rather than from an exit code, so an entry standing in for one sets this.
- Stdout attribute Stdout is written to standard output exactly, newlines included.