kiosk-core 0.1.0

Core library for kiosk — tmux session manager with worktree support
Documentation
1
2
3
4
5
6
7
8
9
use std::path::Path;

pub trait TmuxProvider {
    fn list_sessions(&self) -> Vec<String>;
    fn session_exists(&self, name: &str) -> bool;
    fn create_session(&self, name: &str, dir: &Path, split_command: Option<&str>);
    fn switch_to_session(&self, name: &str);
    fn is_inside_tmux(&self) -> bool;
}