aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/component/console/single_command_application.rs
blob: 9273477f6dd7e522c71e1c54a577c58e9bb2e409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#[derive(Debug)]
pub struct SingleCommandApplication;

impl Default for SingleCommandApplication {
    fn default() -> Self {
        Self::new()
    }
}

impl SingleCommandApplication {
    pub fn new() -> Self {
        todo!()
    }

    pub fn set_name(&mut self, _name: &str) -> &mut Self {
        todo!()
    }

    pub fn set_version(&mut self, _version: &str) -> &mut Self {
        todo!()
    }

    pub fn set_code(
        &mut self,
        _code: Box<dyn Fn(&dyn std::any::Any, &dyn std::any::Any) -> i64>,
    ) -> &mut Self {
        todo!()
    }

    pub fn run(&mut self) -> anyhow::Result<i64> {
        todo!()
    }
}