paramkit icon indicating copy to clipboard operation
paramkit copied to clipboard

A small library helping to parse commandline parameters (for C/C++)

ParamKit

Build status Codacy Badge Commit activity Last Commit

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:

Docs

📚 https://hasherezade.github.io/paramkit/

Demo

Print help for each parameter:

demo: print help

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:

demo: print filled params

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

demo: print invalid param

See the demo code