Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Debug)]
pub struct MyConfig {
    pub command: MyCommand,
    pub name: Option<String>,
    pub title: Option<String>,
    pub skip_git: bool,
}

#[derive(Debug)]
#[derive(PartialEq)]
pub enum MyCommand {
    INIT,
    RUN,
    BUILD,
    HELP,
    OTHER,
}