~brenns10/sc-argparse

Simple command line argument parser
Correct docs, release 0.2.0
Tests for posargs
Lots more test improvement

clone

read-only
https://git.sr.ht/~brenns10/sc-argparse
read/write
git@git.sr.ht:~brenns10/sc-argparse

You can also use your local clone with git send-email.

sc-argparse

This is a simple argument parsing library. See src/example.c for an example of using it. The library is somewhat limited as of now.

Development

Run the following to create a build directory:

meson build

You may then compile (or re-compile) with:

ninja -C build

You can run the tests with:

ninja -C build test

When you would like to commit your changes, please ensure that you have pre-commit hooks installed, so that automated checks can run on your code:

pre-commit install