00JCIV00 / cova

Commands, Options, Values, Arguments. A simple yet robust cross-platform command line argument parsing library for Zig.
https://00jciv00.github.io/cova/
MIT License
110 stars 5 forks source link

Support for sub commands and options to be hidden from global help/usage (via omission). #45

Closed p7r0x7 closed 1 year ago

p7r0x7 commented 1 year ago

All that would be required for this would be a non-optional boolean field in each option and command. Mandatory values have no need for this. (The default printing functions need to respond to this field accordingly, as well).

This was mentioned because it's a very common feature in libraries such as this with many valid use cases.

00JCIV00 commented 1 year ago

Good call and an easy feature to implement. See 54d7dfb for details.