Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

method libtmux-scala latest

Shell.choose

Package io.github.libtmux.scaladsl.cats.Shell.choose io.github.libtmux.scaladsl.cats

Runs one tmux command when a shell command succeeds.

View as Markdown

Source and package
Module
io.github.libtmux.scaladsl.cats
Declared in
Shell
Package
io.github.libtmux:libtmux-scala_3
Source
libtmux-scala-cats/build/generated/sources/catalog/scala/operations/GeneratedOperations.scala
Scala extension methods Adds methods callable on the receiver type without changing its definition. Language documentation [F[_]](self: Shell[F])(using F: _root_.cats.effect.Async[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_.cats.effect.Async[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]
methodoverload2 overloads [source]
Parameters
  • condition ( String )

  • whenTrue ( String )

  • whenFalse ( String ) (for choose(condition, whenTrue, whenFalse))

Esc

Type to search.