bash completion script

Here is the first part of the bash completion script. So far it completes the tools and theirs options.