blob: f941909056fd37b1691c0ca9668fa64ec12c84cd (plain
Coalpit is a library for building command-line program
interfaces. They are like command-line user interfaces, but for
Given a type, it derives instances to print and parse it as
command-line arguments. The resulting serialization wouldn't be as
nice as that of
but the aim here is to handle arbitrary types.
The goal is to
[the KISS principle](https://en.wikipedia.org/wiki/KISS_principle)
preservation for interfaces between system components in certain
architectures. Described in more detail in
[command-line program interface](https://defanor.uberspace.net/notes/command-line-program-interface.html) note.
Warning: it is currently possible to run into ambiguity by defining a
recursive structure with optional named elements.
Far from production-ready yet, merely a prototype.