Skip to main content

Auto-completion function

From V3.4.0, OneCLI supports the auto-completion function on Linux and Windows.

Users can run the script to install the auto-completion function, restart the shell to make the function take effect, and use the tab button to auto-complete the application name, command name, option name, and option value.

Following are the scrips and shells of the specific operating systems:

Table 1. Scrip and shell
Operating systemScripShell
Linuxinstall_completion.shbash
Windowsinstall_completion.ps1powershell