cargo-move 0.0.0

Cargo plugin for the Move language
Documentation
//! `version` subcommand

#![allow(clippy::never_loop)]

use super::CargoMoveCmd;
use abscissa_core::{Command, Options, Runnable};

/// `version` subcommand
#[derive(Command, Debug, Default, Options)]
pub struct VersionCmd {}

impl Runnable for VersionCmd {
    /// Print version message
    fn run(&self) {
        println!(
            "{} {}",
            CargoMoveCmd::name(),
            CargoMoveCmd::version()
        );
    }
}