Skip to main content
Version: 2.24

telepresence completion

Generate a shell completion script

Synopsis:

To load completions:

Bash:

  $ source <(telepresence completion bash)

# To load completions for each session, execute once:
# Linux:
$ telepresence completion bash > /etc/bash_completion.d/telepresence
# macOS:
$ telepresence completion bash > $(brew --prefix)/etc/bash_completion.d/telepresence

Zsh:


# 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 for each session, execute once:
$ telepresence completion zsh > "${fpath[1]}/_telepresence"

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

fish:


$ telepresence completion fish | source

# To load completions for each session, execute once:
$ telepresence completion fish > ~/.config/fish/completions/telepresence.fish

PowerShell:


PS> telepresence completion powershell | Out-String | Invoke-Expression

# To load completions for every new session, run:
PS> telepresence completion powershell > telepresence.ps1
# and source this file from your PowerShell profile.

Usage:

  telepresence completion [flags]

Flags:

  -h, --help   help for completion

Global Flags:

      --output string     Set the output format, supported values are 'json', 'yaml', and 'default' (default "default")
--progress string Set type of progress output (auto, tty, plain, json, quiet) (default "auto")
--use string Match expression that uniquely identifies the daemon container