File: completion.md

package info (click to toggle)
golang-k8s-sigs-kustomize-cmd-config 0.20.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 996 kB
  • sloc: makefile: 198; sh: 50
file content (25 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## completion

Generate shell completion.

### Synopsis

Generate shell completion for `kustomize` -- supports bash, zsh, fish and powershell.

### Examples

    # load completion for Bash
    source <(kustomize completion bash)

    # install for Bash in Linux
    kustomize completion bash > /etc/bash_completion.d/kustomize

    # install for Bash in MacOS
    kustomize completion bash > /usr/local/etc/bash_completion.d/kustomize

    # package for Bash
    kustomize completion bash > /usr/share/bash-completion/completions/kustomize

    # package for zsh
    kustomize completion zsh > /usr/share/zsh/site-functions/_kustomize