Registry / cli / tmux-interface

tmux-interface

JSON →
library0.4.0rscratesunverified

Rust library for communicating with tmux via its CLI interface.

# Cargo.toml [dependencies] tmux_interface = "0.4.0"
INSTALL
IMPORT
SIG · TMUX-INTERFACE
T
tmux-interface
clirustv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TmuxInterface
use tmux_interface::TmuxInterface;

Lists all tmux sessions.

use tmux_interface::TmuxInterface; fn main() { let tmux = TmuxInterface::new().unwrap(); let sessions = tmux.list_sessions().unwrap(); println!("{:?}", sessions); }
Debug
Known issues
gotchaRequires tmux to be installed and accessible in PATH.
fix
Install tmux via your package manager.
affects: >=0.4.0
Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
36
Resources
tmux-interface — cargo add tmux-interface · libregistry