Autocomplete commands on Bash, Zsh and Fishยถ

After installing Jina via pip, you should be able to use your shellโ€™s autocomplete feature while using Jinaโ€™s CLI. For example, typing jina then hitting your Tab key will provide the following suggestions:

โžœ  _jina git:(master) โœ— jina 

--help          --version       --version-full  check           client          flow            gateway         hello-world     log             pea             ping            pod

The autocomplete is context-aware. It also works when you type a second-level argument:

โžœ  _jina git:(master) โœ— jina pod --name --lo

--log-profile  --log-remote   --log-sse

Currently, the feature is enabled automatically on Bash, Zsh and Fish. It requires you to have a standard shell path as follows:

Shell Configuration file path
Bash ~/.bashrc
Zsh ~/.zshrc
Fish ~/.config/fish/config.fish