synchronicity 0.0.1

Distributed build system providing cryptographic proofs-of-reproducibility via Byzantine Fault Tolerant (BFT) consensus.
Documentation
//! `version` subcommand

#![allow(clippy::never_loop)]

use super::SynchronicityCmd;
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!(
            "{} {}",
            SynchronicityCmd::name(),
            SynchronicityCmd::version()
        );
    }
}