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;

pub type Start = StartServer;

/// Start the tmux server, if not already running, without creating any sessions
///
/// # Manual
///
/// tmux >=0.8:
/// ```text
/// start-server
/// (alias: start)
/// ```
#[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug, Default)]
pub struct StartServer;

impl StartServer {
    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(START_SERVER);

        cmd
    }
}