Comment by bewuethr
6 years ago
Bash-completion does something like this for commands with consistent --help output (most Coreutils, bash, awk, grep, sed...) by parsing it in the completion function: https://github.com/scop/bash-completion/blob/29508ce70914f78...
No comments yet
Contribute on Hacker News ↗