https://github.com/jaszlo/c_argparse
Lightweight relatively self contained arg parsing tool for CLIs.
https://github.com/jaszlo/c_argparse
Last synced: 3 months ago
JSON representation
Lightweight relatively self contained arg parsing tool for CLIs.
- Host: GitHub
- URL: https://github.com/jaszlo/c_argparse
- Owner: jaszlo
- License: mit
- Created: 2023-12-19T16:07:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-22T15:19:00.000Z (over 1 year ago)
- Last Synced: 2025-01-27T14:55:38.927Z (5 months ago)
- Language: C
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Lightweight argument parser
This is a small argument parser that allows for simple
command line interfaces to be build. It provides a minimalistic
interface to parse **integers (binary, decimal or hex), floating-point numbers,
strings and file paths**.It comes with some additional functionality in order to be testet but can be used as
a dynamic library. To build that simply run `make lib`.This should yield the file `argparse.so`.
For examples of usage see the [test cases](./src/test.c)