wavepeek 0.4.0

Command-line tool for RTL waveform inspection with deterministic machine-friendly output.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::cli::schema::SchemaArgs;
use crate::engine::{CommandData, CommandName, CommandResult, HumanRenderOptions};
use crate::error::WavepeekError;
use crate::schema_contract::CANONICAL_SCHEMA_JSON;

pub fn run(_args: SchemaArgs) -> Result<CommandResult, WavepeekError> {
    Ok(CommandResult {
        command: CommandName::Schema,
        json: false,
        human_options: HumanRenderOptions::default(),
        data: CommandData::Schema(CANONICAL_SCHEMA_JSON.to_string()),
        warnings: Vec::new(),
    })
}