rain-metadata 0.0.2-alpha.6

Tooling and utilities for RainLanguage metadata.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod artifact;

use clap::Subcommand;
use artifact::Artifact;

/// command related to solc artifacts
#[derive(Subcommand)]
pub enum Solc {
    /// Parse data out of a solc artifact.
    Artifact(Artifact),
}

pub fn dispatch(solc: Solc) -> anyhow::Result<()> {
    match solc {
        Solc::Artifact(artifact) => artifact::artifact(artifact),
    }
}