Drush_shell_complete is a project mainly written in PHP, it's free.
Provides drush commands, arguments, and options in shell readable format
Provides drush commands, arguments and options in shell readable format. Mostly for use with _drush zsh autocompletion.