logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

caddy-completion - Generate completion script

Description

       To load completions:

       Bash:

         $ source <(caddy completion bash)

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

       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:
         $ caddy completion zsh > "${fpath[1]}/_caddy"

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

       fish:

         $ caddy completion fish | source

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

       PowerShell:

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

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

History

       10-May-2025 Auto generated by spf13/cobra

Auto generated by spf13/cobra                       May 2025                                            Caddy(8)

Name

       caddy-completion - Generate completion script

Options

-h, --help[=false]      help for completion

See Also

caddy(8)

Synopsis

caddycompletion[bash|zsh|fish|powershell]

See Also