There is tab completions feature which is generally missed in the installation process. Here are the easy few steps to add tab completions for the WP-CLI. I am using Ubuntu here for example. But it would be similar for UNIX environment.
You need to have
bash file for setting up autocomplete in the terminal. WP-CLI has already provided bash file. You can download it from Github repo of WP-CLI.
Put that downloaded
wp-completion.bash file under the folder you like. Say you keep under
completions in your Home directory.
Now, open your
.bashrc file with your favorite text editor.
In that file, put code to source your completion file. Syntax will be similar to:
In our example, it would be:
Save your file and close it. Now you need to source your bashrc file to activate your new code for the terminal.
Then restart the terminal.
Its that simple, no? But it will be very handy to use WP-CLI. I am sure you will love it.