cargo-wizard 0.2.3

Cargo subcommand for applying Cargo profile templates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub struct CliConfig {
    use_colors: bool,
}

impl CliConfig {
    pub fn new(use_colors: bool) -> Self {
        Self { use_colors }
    }

    pub fn colors_enabled(&self) -> bool {
        self.use_colors
    }
}