sbe-cli 0.1.0

sbe schema tool to facilitate working with SBE schema files and generating codes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod compatibility;

use anyhow::Result;

use clap::Subcommand;

#[derive(Subcommand)]
pub enum Commands {
	/// Check compatibility between two schemas
	Compatibility(compatibility::CompatibilityArgs),
}

pub fn handle(command: Commands) -> Result<()> {
	match command {
		Commands::Compatibility(args) => compatibility::check(args),
	}
}