summaryrefslogtreecommitdiffstats
path: root/src/verb_conf.rs
blob: 9fddcbd65b4a374915c64b309e401f353c61607b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>,
}