create_vue_monorepo_rs/
lib.rs

1pub mod utils;
2pub mod dialoguers;
3pub mod render;
4
5#[derive(Debug)]
6pub struct ConfiguresSelected {
7    pub eslint_config: bool,
8    pub vitest_config: bool,
9    pub common_library: bool,
10}
11
12impl ConfiguresSelected {
13    pub fn new() -> Self {
14        Self {
15            eslint_config: false,
16            vitest_config: false,
17            common_library: false,
18        }
19    }
20
21    pub fn set_eslint_config(&mut self, value: bool) {
22        self.eslint_config = value
23    }
24
25    pub fn set_vitest_config(&mut self, value: bool) {
26        self.vitest_config = value
27    }
28
29    pub fn set_common_library(&mut self, value: bool) {
30        self.common_library = value
31    }
32}
33
34impl Default for ConfiguresSelected {
35    fn default() -> Self {
36        Self::new()
37    }
38}
39
40