+use std::io::Result;
+
+pub struct Update;
+
+impl Update {
+ pub fn new() -> Self {
+ Update
+ }
+}
+
+impl super::Command for Update {
+ fn before_dependencies(&self) -> Vec<Box<dyn super::Command>> {
+ vec![]
+ }
+
+ fn execute(&self, input: Option<&String>) -> Result<()> {
+ println!("Update: {:?}!", input);
+ return Ok(())
+ }
+
+ fn after_dependencies(&self) -> Vec<Box<dyn super::Command>> {
+ vec![]
+ }
+
+ fn command(&self) -> &'static str {
+ "update"
+ }
+
+ fn help(&self) -> &'static str {
+ "<path_to_post>\t\tUpdates latest blog post"
+ }
+}
+