bash-completion
- bash下的自動補全工具
-
命令行輸入git后按TAB
Pasted image 20220506150053.png
openstack的命令補全
- 以cinder舉例
cinder bash_completion- 可以獲取cinder下的補全命令

Pasted image 20220506150629.png
將補全信息加入到bash-completion中
complete -W "$(cinder bash-completion)" cinder
- 現(xiàn)在cinder <TAB> 就會有自動補全信息
