Cod is a new command line completion daemon written in Go for Bash and Zsh. The tool detects the usage of –help commands to generate autocompletion for commands that don’t support it.
Source: LXer – Cod: New Command Line Autocomplete Daemon For Bash and Zsh That Detects –help Usage