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

Completions Parsing Function #56

Open 00JCIV00 opened 6 months ago

00JCIV00 commented 6 months ago

A new function, cova.genCompletions(), should generate completions for provided argument tokens based on a Command. Very similar to cova.parseArgs().

This can be used to generate completions in custom CLIs or in conjunction with Tab Completion Shell scripts.