Commit a7b11ca
committed
refactor(completion): generate shell completions from comptime metadata
Replace hardcoded zsh/bash completion scripts with dynamic generation
from a single CmdMeta table. The exhaustive switch on cli.Command
ensures new commands trigger a compile error until their completion
metadata is added.
Also add link_libc=true to build.zig for mirror_probe's POSIX socket
calls, fixing cross-compilation errors on CI (x86_64-linux).1 parent 883cec2 commit a7b11ca
3 files changed
Lines changed: 294 additions & 109 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments