ord 0.27.1

◉ Ordinal wallet and block explorer
Documentation
use super::*;

#[derive(Debug, Parser)]
pub(crate) struct Parse {
  #[arg(help = "Parse <OBJECT>.")]
  object: Object,
}

#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct Output {
  pub object: Object,
}

impl Parse {
  pub(crate) fn run(self) -> SubcommandResult {
    Ok(Some(Box::new(Output {
      object: self.object,
    })))
  }
}