Skip to content

owui completion

owui completion

Generate completion script

Synopsis

Generate or install shell completion scripts.

Recommended: use 'owui completion install' to automatically install completions for your current shell and configure your shell rc file.

$ owui completion install

This detects your shell (bash/zsh/fish), writes the completion script, and adds the necessary lines to your ~/.zshrc or ~/.bashrc. Restart your shell afterwards.

Manual setup (generates completion script to stdout):

Bash: $ source <(owui completion bash)

Zsh: $ owui completion zsh > "${fpath[1]}/_owui"

Fish: $ owui completion fish | source

PowerShell: PS> owui completion powershell | Out-String | Invoke-Expression

owui completion [bash|zsh|fish|powershell]

Options

  -h, --help   help for completion

Options inherited from parent commands

  -f, --filter string     filter results
  -i, --instance string   instance name to use (default: active_instance from config)
  -o, --output string     output format (pretty or json)

SEE ALSO