2 use crate::configuration::Configuration;
12 impl super::Command for Version {
13 fn before_dependencies(&self) -> Vec<Box<dyn super::Command>> {
17 fn execute(&self, _: Option<&String>, _: &Configuration, _: &String) -> Result<()> {
18 let version = env!("CARGO_PKG_VERSION");
19 println!("{}", version);
23 fn after_dependencies(&self) -> Vec<Box<dyn super::Command>> {
27 fn command(&self) -> &'static str {
31 fn help(&self) -> &'static str {
32 "\t\t\t\tPrints the version"