Implement a tab completion script for bash and zsh, which parses the parameters given and automatically provides tab completion for them.