txtconf is designed to be complementation for getopt(3), using very similar ways for defining configuration file structure (template).
The idea is to implement universal, easy and efficient way to read and save configuration from/to human-readable text files.
Features
- Easily created configuration templates.
- Almost *everything* is configurable, including keywords, delimiters, etc.
- Configuration options are organized in scopes - aka "namespaces".
- Scopes can be configured as multi-instance or as single-instance type, where multiple occurance of the scope is considered to be an error.
- Options can have defined default values, what allows to either create initial config files or just use them as default settings.
- Options can be configured as mandatory or as optional.
- Options and scopes can be referenced by name or by custom IDs.
- Automatic verification of type-correctness of values.
- Smart verifiaction of saved cfg, which allows to detect whether the file was modified. (i.e. the *resulting* cfg is checked - f.e. a new/changed comment in a cfg file is ignored)
- Man-page included.
- Tests included.
License
GNU Library or Lesser General Public License version 3.0 (LGPLv3)Follow txtconf
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of txtconf!