A tutorial for adding tab completion to scripts using the Bash programmable completion feature.
Complete Story