aboutsummaryrefslogtreecommitdiff
path: root/cli
Commit message (Collapse)AuthorAge
* cli: make long and ulong options more strictYaroslav de la Peña Smirnov3 days
| | | | Also add unit tests for them.
* cli.h: fix cli_opt_ulong value typeYaroslav de la Peña Smirnov6 days
| | | | Weak typing be like...
* clang-format: align with spacesYaroslav de la Peña Smirnov6 days
| | | | Also format cli after the changes.
* cli: minor bug fixes and improvmentsYaroslav de la Peña Smirnov6 days
|
* cli: header with extra option implementationsYaroslav de la Peña Smirnov6 days
| | | | For now just one, `struct cli_opt_data_size`.
* cli: make it possible to extend option typesYaroslav de la Peña Smirnov6 days
| | | | | Make it possible to extend options with custom value parsers by embeding `struct cli_opt` into a custom struct and setting the `set()` "method".
* cli.h: a simple command-line parserYaroslav de la Peña Smirnov7 days
A simple command-line commands and options parser.