Here are a couple of links to the information that actually helped me create some bash completion functions.
How do I set up bash completion for command arguments?Writing your own Bash Completion Function
Comment feed for this post