Generate bash completion functions or perl scripts to dynamically provide completion for an application.