method libtmux-scala latest
Shell.choose
Runs one tmux command when a shell command succeeds.
Source and package
- Scala extension methods Adds methods callable on the receiver type without changing its definition. Language documentation [F[_]](self: Shell[F])(using F: _root_
.cats [F]) Scala method declarations Declares a method, with its name, parameter lists and return type. Language documentation choose(condition: String, whenTrue: String): F[Unit] Scala extension methods Adds methods callable on the receiver type without changing its definition. Language documentation [F[_]](self: Shell[F])(using F: _root_.effect .Async .cats [F]) Scala method declarations Declares a method, with its name, parameter lists and return type. Language documentation choose(condition: String, whenTrue: String, whenFalse: String): F[Unit].effect .Async