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 1 month 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 (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-13T00:39:21.000Z (2 months ago)
- Last Synced: 2025-04-11T06:14:02.004Z (about 1 month ago)
- Topics: c, cli-argument-parser, cli-arguments, cpp, parser, utility-library
- Language: C++
- Homepage: https://madladsquad.com/
- Size: 103 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yaml
- License: LICENSE
Awesome Lists containing this project
README
# UntitledCLIParser
[](https://github.com/MadLadSquad/UntitledCLIParser/actions/workflows/ci.yaml)
[](https://lbesson.mit-license.org/)
[](https://trello.com/b/HmfuRY2K/untitleddesktop)
[](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.