tmux_interface 0.4.0

Rust language library for communication with TMUX via CLI
Documentation
// auto-generated file
//

use crate::commands::constants::*;
use crate::TmuxCommand;

/// Kill the tmux server and clients and destroy all sessions
///
/// # Manual
///
/// tmux >=0.8:
/// ```text
/// kill-server
/// ```
#[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug, Default)]
pub struct KillServer;

impl KillServer {
    pub fn new() -> Self {
        Default::default()
    }

    /// build command with arguments in right order
    pub fn build<'a>(self) -> TmuxCommand<'a> {
        let mut cmd = TmuxCommand::new();

        cmd.name(KILL_SERVER);

        cmd
    }
}