#config-parser #cli-parser #xml #parser #cli #config

maddi-xml

A library for parsing xml config files for cli tools

3 releases

new 0.1.2 Mar 16, 2025
0.1.1 Mar 16, 2025
0.1.0 Mar 15, 2025

#47 in #cli-parser

Download history

57 downloads per month

MIT license

21KB
496 lines

Maddi's XML Configuration Library

This is the library I use for parsing configuration files when I write CLI tools. When I looked at similar libraries, they seemed more geared towards XML for packing/unpacking data rather than providing helpful messages to the user.

This library hopefully makes it easy to write code that parses XML configurations and provides good error messages that include the position of the error.

Usage

under construction

Check out the example in examples for now until I document things properly. I'm expecting a lot to change in the next version as this will change with the needs of my software that use it.

License

This code is licensed under the MIT license, but if you'd like it licensed to you under a different license for any reason, feel free to reach out.

No runtime deps