Improved
v0.10.0-beta
Full Changelog: https://github.com/00JCIV00/cova/compare/v0.9.1-beta...v0.10.0-beta
v0.10.0 (Supports Zig v0.12)
New Features
- Meta Doc Generators for Help Docs, Tab Completion Scripts, and Argument Templates!
- Inheritable Options that can be passed down to all Sub-Commands of a given Command (ex:
cmd --optandcmd sub-cmd --optwould refer to the same--opt). - New
parent_cmdfield for all Argument Types, allowing for easier bi-directional referencing. - New
examplesfield for Commands which is used to show examples in Usage/Help messages and Help Docs. - New Argument Index (
arg_idx) field for all Argument Types, so you can tell exactly where an Argument was provided in relation to other Arguments regardless of spacing. - New
checkArgGroup()method for Commands to check if an Argument from the specified Argument Group was used. - Argument Type Configs now have an
optimized()function that can slim down the Value Union and remove certain features to help reduce binary size. (These optimizations can be enabled individually as well.)