mpt

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2025 License: MIT Imports: 10 Imported by: 0

README

mpt

message pack tools

syntax

mpt --view file.msgpack
mpt -v file.msgpack
mpt input.msgpack output.json
mpt input.json output.msgpack
infer implied conversions by default

smart-convert msgpack <-> json

mpt convert-this.msgpack into-this.json
mpt convert-this.json into-this.msgpack

smart-convert msgpack <-> yaml

mpt convert-this.yml into-this.msgpack
mpt convert-this.yaml into-this.msgpack
mpt convert-this.msgpack into-this.yml
mpt convert-this.msgpack into-this.yaml
format override

use arbitrary extensions

mpt --from msgpack --to json input output
output to stdout

output to stdout

mpt data.msgpack --json
mpt data.msgpack --yaml
multiple file conversion

batch convert

mpt *.msgpack --to-json
mpt *.msgpack --to-yaml
mpt *.json --to-msgpack
mpt *.yml --to-msgpack
mpt *.yaml --to-msgpack
license

2025 mit license

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL