summaryrefslogtreecommitdiffstats
path: root/src/verb_conf.rs
blob: d5b63cb9db8d78a03f15fa96d650ca98a8aac95a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crossterm::event::KeyEvent;

/// what's needed to handle a verb
#[derive(Debug)]
pub struct VerbConf {
    pub shortcut: Option<String>,
    pub invocation: String,
    pub key: Option<KeyEvent>,
    pub execution: String,
    pub description: Option<String>,
    pub from_shell: Option<bool>,
    pub leave_broot: Option<bool>,
    pub confirm: Option<bool>,
}