1 2 3 4 5 6 7 8 9 10 11
//! Queue schema subcommand. use anyhow::Result; use crate::contracts; pub(crate) fn handle() -> Result<()> { let schema = schemars::schema_for!(contracts::QueueFile); println!("{}", serde_json::to_string_pretty(&schema)?); Ok(()) }