use std::io::Result;
+use crate::configuration::Configuration;
pub struct Version;
vec![]
}
- fn execute(&self, input: Option<&String>) -> Result<()> {
- println!("Version: {:?}!", input);
+ fn execute(&self, _: Option<&String>, _: &Configuration, _: &String) -> Result<()> {
+ let version = env!("CARGO_PKG_VERSION");
+ println!("{}", version);
return Ok(())
}