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 Lock = LockServer;

/// Lock each client individually
///
/// # Manual
///
/// tmux >=0.8:
/// ```text
/// lock-server
/// (alias: lock)
/// ```
#[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug, Default)]
pub struct LockServer;

impl LockServer {
    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(LOCK_SERVER);

        cmd
    }
}