Is there a way to have bash know exactly what to display when you double tab? For example I have a python script
scpy which requires a couple arguments. For example like
apt-get, if you double tab gives you
autoclean build-dep clean dselect-upgrade purge source upgrade autoremove check dist-upgrade install remove update
Is there a way to do that for your own scripts/programs? Do I need to wrap my python script in a bash script?