62 lines
2.0 KiB
Markdown
62 lines
2.0 KiB
Markdown
## traefik-certs-dumper completion zsh
|
|
|
|
Generate the autocompletion script for zsh
|
|
|
|
### Synopsis
|
|
|
|
Generate the autocompletion script for the zsh shell.
|
|
|
|
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 in your current shell session:
|
|
|
|
source <(traefik-certs-dumper completion zsh)
|
|
|
|
To load completions for every new session, execute once:
|
|
|
|
#### Linux:
|
|
|
|
traefik-certs-dumper completion zsh > "${fpath[1]}/_traefik-certs-dumper"
|
|
|
|
#### macOS:
|
|
|
|
traefik-certs-dumper completion zsh > $(brew --prefix)/share/zsh/site-functions/_traefik-certs-dumper
|
|
|
|
You will need to start a new shell for this setup to take effect.
|
|
|
|
|
|
```
|
|
traefik-certs-dumper completion zsh [flags]
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
-h, --help help for zsh
|
|
--no-descriptions disable completion descriptions
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
--clean Clean destination folder before dumping content. (default true)
|
|
--config string config file (default is $HOME/.traefik-certs-dumper.yaml)
|
|
--crt-ext string The file extension of the generated certificates. (default ".crt")
|
|
--crt-name string The file name (without extension) of the generated certificates. (default "certificate")
|
|
--dest string Path to store the dump content. (default "./dump")
|
|
--domain-subdir Use domain as sub-directory.
|
|
--key-ext string The file extension of the generated private keys. (default ".key")
|
|
--key-name string The file name (without extension) of the generated private keys. (default "privatekey")
|
|
--post-hook string Execute a command only if changes occurs on the data source. (works only with the watch mode)
|
|
--watch Enable watching changes.
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [traefik-certs-dumper completion](traefik-certs-dumper_completion.md) - Generate the autocompletion script for the specified shell
|
|
|
|
###### Auto generated by spf13/cobra on 21-Feb-2025
|