messagepack-cli 0.1.0

CLI tool to convert MessagePack data to JSON and vice versa.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Main executable for the CLI.
#![allow(clippy::print_stdout)]

use clap::Parser;
use error_stack::Report;
use messagepack_cli::{Cli, Error};

/// Execute the CLI.
fn main() -> Result<(), Report<Error>> {
	let cli = Cli::parse();
	let converter = cli.into_converter()?;
	converter.execute()?;
	Ok(())
}