json_arg 0.2.1

Easily parse structured CLI args
Documentation

CLIs (especially those designed to be called by automation) often take structured data as inputs. This ends up creating a ton of boilerplate where a CLI arg is declared as a [PathBuf] and then is quickly opened, read from and deserialized with some [serde] format crate. This crate provides two newtype wrappers ([Serde] and [SerdeFile]) that can deserialize any Serde-compatible arguments with no extra effort.