mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
Usage:
|
|
v complete [options] [SUBCMD] QUERY...
|
|
|
|
Description:
|
|
Tool for bridging auto completion between various shells and v
|
|
|
|
Supported shells:
|
|
bash, fish, zsh, powershell
|
|
|
|
Examples:
|
|
Echo auto-detected shell install script to STDOUT
|
|
v complete
|
|
Echo specific shell install script to STDOUT
|
|
v complete setup bash
|
|
Auto complete input `v tes`*USER PUSHES TAB* (in Bash compatible format).
|
|
This is not meant for manual invocation - it's called by the relevant
|
|
shell via the script installed with `v complete` or `v complete setup SHELL`.
|
|
v complete bash v tes
|
|
|
|
Options:
|
|
-h, --help Show this help text.
|
|
|
|
SUBCMD:
|
|
setup : setup [SHELL] - returns the code for completion setup for SHELL
|
|
bash : [QUERY] - returns Bash compatible completion code with completions computed from QUERY
|
|
fish : [QUERY] - returns Fish compatible completion code with completions computed from QUERY
|
|
zsh : [QUERY] - returns ZSH compatible completion code with completions computed from QUERY
|
|
powershell: [QUERY] - returns PowerShell compatible completion code with completions computed from QUERY |