bash complete
https://docs.openstack.org/python-openstackclient/pike/cli/command-objects/complete.html
[root@localhost ~(keystone_admin)]# openstack complete | sudo tee /etc/bash_completion.d/osc.bash_completion > /dev/null [root@localhost ~(keystone_admin)]# ls -l /etc/bash_completion.d/ total 196 -rw-r--r-- 1 root root 955 Aug 2 2018 cinder.bash_completion -rw-r--r-- 1 root root 882 Dec 12 12:53 glance -rwxr--r-- 1 root root 11345 Oct 13 2017 gluster -rw-r--r-- 1 root root 829 Oct 31 04:20 iprutils -rw-r--r-- 1 root root 885 Jul 27 2018 nova -rw-r--r-- 1 root root 100219 Apr 30 16:09 osc.bash_completion -rwxr-xr-x 1 root root 17838 Feb 14 18:58 ovs-appctl-bashcomp.bash -rwxr-xr-x 1 root root 28733 Feb 14 18:58 ovs-vsctl-bashcomp.bash -rw-r--r-- 1 root root 1458 Nov 26 2013 redefine_filedir -rw-r--r-- 1 root root 11272 Oct 31 07:58 yum-utils.bash [root@localhost ~(keystone_admin)]#