Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/madladsquad/untitledcliparser
- Owner: MadLadSquad
- License: mit
- Created: 2023-04-02T20:41:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-24T19:38:53.000Z (21 days ago)
- Last Synced: 2024-10-26T06:21:59.632Z (20 days ago)
- Topics: c, cli-argument-parser, cli-arguments, cpp, parser, utility-library
- Language: C++
- Homepage: https://madladsquad.com/
- Size: 83 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
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.