1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
use crate::commands::constants::*;
use crate::TmuxCommand;

/// # 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()
    }

    pub fn build<'a>(self) -> TmuxCommand<'a> {
        let mut cmd = TmuxCommand::new();

        cmd.name(LOCK_SERVER);

        cmd
    }
}