summaryrefslogtreecommitdiffstats
path: root/src/verb/arg_def.rs
blob: e51d24a118797265c4e855cc82b2d8e22a64f9bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use {
    crate::{
        app::SelectionType,
        path::PathAnchor,
    },
};

/// The definition of an argument given to a verb
/// as understood from the invocation pattern
#[derive(Debug, Clone, Copy)]
pub enum ArgDef {
    Path {
        anchor: PathAnchor,
        selection_type: SelectionType,
    },
    Theme,
    Unspecified,
}