tmux_interface

Build Status Crates.io Documentation

Description

tmux_interface is a rust language library for communication with TMUX via CLI.

Usage

  1. Add a dependency in your Cargo.toml

    [dependencies] tmux_interface = "^0.1.0"

  2. Add extern crate and use in your source file

    extern crate tmux_interface;

  3. Use it's functions let tmux = TmuxInterface::new(); let new_session = NewSession { detached: Some(true), session_name: Some("session_name"), ..Default::default() }; tmux.new_session(&new_session).unwrap(); tmux.kill_session(None, None, Some("session_name")).unwrap();

Misc

Directory Structure

License

tmux_interface is licensed under the MIT license. Please read the license file in this repository for more information.