ikskuh/zig-args

Generate completions

Opened this issue · 1 comments

Add shell completion support.

pub CompletionShell = enum {bash, fish, zsh};
pub fn writeCompletions(shell: CompletionShell, myoutstream: var) !void`

Bonus feature: add a utility method to add a completion subcommand