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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
use crate::symfony::component::console::input::input_definition::InputDefinition;
use crate::symfony::component::console::input::input_interface::InputInterface;
use crate::symfony::component::console::output::output_interface::OutputInterface;
use shirabe_php_shim::PhpMixed;
#[derive(Debug)]
pub struct Command;
impl Command {
pub fn new(name: Option<&str>) -> Self {
todo!()
}
pub fn set_name(&mut self, name: &str) -> &mut Self {
todo!()
}
pub fn get_name(&self) -> Option<String> {
todo!()
}
pub fn set_description(&mut self, description: &str) -> &mut Self {
todo!()
}
pub fn get_description(&self) -> String {
todo!()
}
pub fn set_help(&mut self, help: &str) -> &mut Self {
todo!()
}
pub fn set_definition(&mut self, definition: PhpMixed) -> &mut Self {
todo!()
}
pub fn get_definition(&self) -> &InputDefinition {
todo!()
}
pub fn add_argument(
&mut self,
name: &str,
mode: Option<i64>,
description: &str,
default: PhpMixed,
) -> &mut Self {
todo!()
}
pub fn add_option(
&mut self,
name: &str,
shortcut: Option<&str>,
mode: Option<i64>,
description: &str,
default: PhpMixed,
) -> &mut Self {
todo!()
}
pub fn set_aliases(&mut self, aliases: &[String]) -> &mut Self {
todo!()
}
pub fn get_aliases(&self) -> Vec<String> {
todo!()
}
pub fn set_hidden(&mut self, hidden: bool) -> &mut Self {
todo!()
}
pub fn is_hidden(&self) -> bool {
todo!()
}
pub fn run(
&mut self,
input: &mut dyn InputInterface,
output: &mut dyn OutputInterface,
) -> anyhow::Result<i64> {
todo!()
}
pub fn get_helper(&self, name: &str) -> PhpMixed {
todo!()
}
pub fn get_helper_set(&self) -> PhpMixed {
todo!()
}
}
|