signaldctl completion
Generate completion script
To load completions:
Bash:
$ source <(signaldctl completion bash)
# To load completions for each session, execute once:
# Linux:
$ signaldctl completion bash > /etc/bash_completion.d/signaldctl
# macOS:
$ signaldctl completion bash > /usr/local/etc/bash_completion.d/signaldctl
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:
$ signaldctl completion zsh > "${fpath[1]}/_signaldctl"
# You will need to start a new shell for this setup to take effect.
fish:
$ signaldctl completion fish | source
# To load completions for each session, execute once:
$ signaldctl completion fish > ~/.config/fish/completions/signaldctl.fish
PowerShell:
PS> signaldctl completion powershell | Out-String | Invoke-Expression
# To load completions for every new session, run:
PS> signaldctl completion powershell > signaldctl.ps1
# and source this file from your PowerShell profile.
signaldctl completion [bash|zsh|fish|powershell]
-h, --help help for completion
--config string config file (default "~/.config/signaldctl.yaml")
-o, --output-format string the output format. options are usually table, yaml and json, default is usually table. Some commands have other options. (default "default")
--socket string the path to the signald socket file (default "/var/run/signald/signald.sock")
- signaldctl - Interact with a running signald instance