Command.summary
Build a bounded, sanitized summary of the logical command.
Source and package
- Qualified name
-
libtmux::command:: Command:: summary - Module
- command
- Declared in
Command- Package
- libtmux
- Source
- crates/libtmux/src/command.rs
- #[must_use] pub fn summary(&self) -> Command
Summary -
Examples#
use libtmux::Command;let summary = Command::new("display-message").arg("value;").summary();assert_eq!(summary.to_string(), r#""display-message" "value;""#);