]> git.r.bdr.sh - rbdr/blog/blobdiff - src/command/version.rs
Add part of the implementation for add
[rbdr/blog] / src / command / version.rs
index a8b970b627eafdc74f6a7dc062305b3aa663250b..e566c5a4e3cfa6ece8edb957f10a4ca372684669 100644 (file)
@@ -1,4 +1,5 @@
 use std::io::Result;
+use crate::configuration::Configuration;
 
 pub struct Version;
 
@@ -13,7 +14,7 @@ impl super::Command for Version {
         vec![]
     }
 
-    fn execute(&self, _: Option<&String>) -> Result<()> {
+    fn execute(&self, _: Option<&String>, _: &Configuration, _: &String) -> Result<()> {
         let version = env!("CARGO_PKG_VERSION");
         println!("{}", version);
         return Ok(())