Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/madladsquad/untitledcliparser

C and C++ parser for CLI arguments
https://github.com/madladsquad/untitledcliparser

c cli-argument-parser cli-arguments cpp parser utility-library

Last synced: about 12 hours ago
JSON representation

C and C++ parser for CLI arguments

Awesome Lists containing this project

README

        

# UntitledCLIParser
[![CI](https://github.com/MadLadSquad/UntitledCLIParser/actions/workflows/ci.yaml/badge.svg)](https://github.com/MadLadSquad/UntitledCLIParser/actions/workflows/ci.yaml)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
[![trello](https://img.shields.io/badge/Trello-UDE-blue])](https://trello.com/b/HmfuRY2K/untitleddesktop)
[![Discord](https://img.shields.io/discord/717037253292982315.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/4wgH8ZE)

C and C++ parser for CLI arguments.

Features:
- [X] Automatic handling of boolean switches
- [X] Boolean switches with functions
- [X] Array support
- [X] Variable assignment support, i.e. `--test=test`
- [X] Short and long arguments supported
- [X] Short argument bundling supported i.e. `-aBcD` is the same as `-a -B -c -D`
- [X] Fully Unicode compliant
- [X] Support for custom delimiters, i.e. replacing `-` with `/`
- [X] Support for Windows style arguments with `/`
- [X] Complete C and C++ APIs

## Installation and Learning
Head to the [wiki](https://github.com/MadLadSquad/UntitledCLIParser/wiki) to learn more about the library and how to use it.