11 impl super::Command for Version {
12 fn before_dependencies(&self) -> Vec<Box<dyn super::Command>> {
16 fn execute(&self, _: Option<&String>) -> Result<()> {
17 let version = env!("CARGO_PKG_VERSION");
18 println!("{}", version);
22 fn after_dependencies(&self) -> Vec<Box<dyn super::Command>> {
26 fn command(&self) -> &'static str {
30 fn help(&self) -> &'static str {
31 "\t\t\t\tPrints the version"