11 impl super::Command for Add {
12 fn before_dependencies(&self) -> Vec<Box<dyn super::Command>> {
16 fn execute(&self, input: Option<&String>) -> Result<()> {
17 println!("Add: {:?}!", input);
21 fn after_dependencies(&self) -> Vec<Box<dyn super::Command>> {
25 fn command(&self) -> &'static str {
29 fn help(&self) -> &'static str {
30 "<path_to_post>\t\t\tCreates new blog post"