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

command.Command.arg

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
command
Declared in
Command
Package
libtmux
Source
crates/libtmux/src/command.rs
arg ( mut , argument : impl Into<OsString> ) → Self
method [source]
method [source]
arg

Append one public logical argument.

Public arguments appear in bounded, escaped diagnostic summaries.

Examples

use libtmux::Command;
let command = Command::new("display-message").arg("hello");
assert_eq!(command.summary().public_argument_count(), 1);

0 declared, 0 inherited

Esc

Type to search.