rain_cli_meta/cli/
solc.rs

1pub mod artifact;
2
3use clap::Subcommand;
4use artifact::Artifact;
5
6#[derive(Subcommand)]
7pub enum Solc {
8    /// Parse data out of a solc artifact.
9    Artifact(Artifact)
10}
11
12pub fn dispatch(solc: Solc) -> anyhow::Result<()> {
13    match solc {
14        Solc::Artifact(artifact) => artifact::artifact(artifact),
15    }
16}