Command.new
Start a command with one logical tmux subcommand token.
Source and package
- Qualified name
-
libtmux::command:: Command:: new - Module
- command
- Declared in
Command- Package
- libtmux
- Source
- crates/libtmux/src/command.rs
-
Examples#
use libtmux::Command;let command = Command::new("list-sessions");assert_eq!(command.summary().to_string(), r#""list-sessions""#);- Parameters
-
-
subcommand(impl Into<OsString >) #
-