command.Command
Rust
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- command
- Package
- libtmux
- Source
- crates/libtmux/src/command.rs
-
A logical tmux command with classified diagnostic arguments.
Commands retain operating-system strings so dispatch can preserve arbitrary Unix bytes. Use
Command::summaryfor a bounded, sanitized diagnostic representation.Examples
use libtmux::Command;let command = Command::new("display-message").arg("hello");assert_eq!(command.summary().argument_count(), 1);
4 declared, 0 inherited
Members
- arg method Append one public logical argument.
- new method Start a command with one logical tmux subcommand token.
- sensitive_arg method Append one sensitive logical argument.
- summary method Build a bounded, sanitized summary of the logical command.