hasherezade / paramkit

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

Home Page:https://hasherezade.github.io/paramkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://hasherezade.github.io/paramkit


Languages

Language:C++ 98.2%Language:CMake 1.5%Language:C 0.4%