wvs completion

Generate the autocompletion script for the specified shell.

Synopsis

Generate the autocompletion script for wvs for the specified shell. See each sub-command’s help for details on how to use the generated script.

Options

  -h, --help   help for completion

wvs completion bash

Generate the autocompletion script for bash.

Synopsis

Generate the autocompletion script for the bash shell.

This script depends on the ‘bash-completion’ package. If it is not installed already, you can install it via your OS’s package manager.

To load completions in your current shell session:

source <(wvs completion bash)

To load completions for every new session, execute once:

Linux:

wvs completion bash > /etc/bash_completion.d/wvs

macOS:

wvs completion bash > $(brew --prefix)/etc/bash_completion.d/wvs

You will need to start a new shell for this setup to take effect.

wvs completion bash

Options

  -h, --help              help for bash
      --no-descriptions   disable completion descriptions

wvs completion fish

Generate the autocompletion script for fish.

Synopsis

Generate the autocompletion script for the fish shell.

To load completions in your current shell session:

wvs completion fish | source

To load completions for every new session, execute once:

wvs completion fish > ~/.config/fish/completions/wvs.fish

You will need to start a new shell for this setup to take effect.

wvs completion fish [flags]

Options

  -h, --help              help for fish
      --no-descriptions   disable completion descriptions

wvs completion powershell

Generate the autocompletion script for powershell.

Synopsis

Generate the autocompletion script for powershell.

To load completions in your current shell session:

wvs completion powershell | Out-String | Invoke-Expression

To load completions for every new session, add the output of the above command to your powershell profile.

wvs completion powershell [flags]

Options

  -h, --help              help for powershell
      --no-descriptions   disable completion descriptions

wvs completion zsh

Generate the autocompletion script for zsh.

Synopsis

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:

echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

source <(wvs completion zsh); compdef _wvs wvs

To load completions for every new session, execute once:

Linux:

wvs completion zsh > "${fpath[1]}/_wvs"

macOS:

wvs completion zsh > $(brew --prefix)/share/zsh/site-functions/_wvs

You will need to start a new shell for this setup to take effect.

wvs completion zsh [flags]

Options

  -h, --help              help for zsh
      --no-descriptions   disable completion descriptions

See also

  • wvs - A Command Line Interface for interacting with a Wevr Virtual Studio.