chain-spec-generator 13.0.1-beta.196

Generates a chainspec artifact for use in genesis block creation of a Xand network.
Documentation
use std::fmt::Display;

use super::commands::GenerateOutput;

pub enum CliOutput {
    Generate(GenerateOutput),
}

impl Display for CliOutput {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match &self {
            CliOutput::Generate(output) => output.fmt(f),
        }
    }
}

impl From<GenerateOutput> for CliOutput {
    fn from(out: GenerateOutput) -> Self {
        CliOutput::Generate(out)
    }
}