https://github.com/hasherezade/paramkit
A small library helping to parse commandline parameters (for C/C++)
https://github.com/hasherezade/paramkit
argument-parser argument-parsing arguments cli-args command-line command-line-parser parameters
Last synced: 11 months ago
JSON representation
A small library helping to parse commandline parameters (for C/C++)
- Host: GitHub
- URL: https://github.com/hasherezade/paramkit
- Owner: hasherezade
- Created: 2020-01-09T21:08:32.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-27T14:38:45.000Z (over 2 years ago)
- Last Synced: 2025-03-20T17:41:31.029Z (11 months ago)
- Topics: argument-parser, argument-parsing, arguments, cli-args, command-line, command-line-parser, parameters
- Language: C++
- Homepage: https://hasherezade.github.io/paramkit
- Size: 8.8 MB
- Stars: 55
- Watchers: 8
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ParamKit
[](https://ci.appveyor.com/project/hasherezade/paramkit)
[](https://app.codacy.com/gh/hasherezade/paramkit/dashboard?branch=master)
[](https://github.com/hasherezade/paramkit/commits)
[](https://github.com/hasherezade/paramkit/commits)
A small library helping to parse commandline parameters (for Windows).
Objectives
-
+ "like Python's `argparse` but for C/C++"
+ compact and minimalistic
+ easy to use
+ extendable
You can quickly create a project using ParamKit basing on the given template:
+ [Project template](https://github.com/hasherezade/paramkit_tpl)
Docs
-
📚 [https://hasherezade.github.io/paramkit/](https://hasherezade.github.io/paramkit/)
Demo
-
Print help for each parameter:

Paramkit allows you to cluster your parameters into custom groups.
You can use predefined, popular parameter types, or add your custom ones.
Easily parse and store values, and verify if all required parameters are filled:

Verify if no invalid parameter was passed, and eventually suggest similar parameters:

See [the demo code](https://github.com/hasherezade/paramkit/tree/master/demo)