1Caddy(8)                                                              Caddy(8)
2
3
4

NAME

6       caddy-completion - Generate completion script
7
8
9

SYNOPSIS

11       caddy completion [bash|zsh|fish|powershell]
12
13
14

DESCRIPTION

16       To load completions:
17
18
19              Bash:
20
21                $ source <(caddy completion bash)
22
23                # To load completions for each session, execute once:
24                # Linux:
25                $ caddy completion bash > /etc/bash_completion.d/caddy
26                # macOS:
27                $ caddy completion bash > $(brew --prefix)/etc/bash_completion.d/caddy
28
29              Zsh:
30
31                # If shell completion is not already enabled in your environment,
32                # you will need to enable it.  You can execute the following once:
33
34                $ echo "autoload -U compinit; compinit" >> ~/.zshrc
35
36                # To load completions for each session, execute once:
37                $ caddy completion zsh > "${fpath[1]}/_caddy"
38
39                # You will need to start a new shell for this setup to take effect.
40
41              fish:
42
43                $ caddy completion fish | source
44
45                # To load completions for each session, execute once:
46                $ caddy completion fish > ~/.config/fish/completions/caddy.fish
47
48              PowerShell:
49
50                PS> caddy completion powershell | Out-String | Invoke-Expression
51
52                # To load completions for every new session, run:
53                PS> caddy completion powershell > caddy.ps1
54                # and source this file from your PowerShell profile.
55
56
57
58

OPTIONS

60       -h, --help[=false]      help for completion
61
62
63

SEE ALSO

65       caddy(8)
66
67
68

HISTORY

70       30-Oct-2023 Auto generated by spf13/cobra
71
72
73
74Auto generated by spf13/cobra      Oct 2023                           Caddy(8)
Impressum