signald
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode

signaldctl completion

signaldctl completion

Generate completion script

Synopsis

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]

Options

  -h, --help   help for completion

Options inherited from parent commands

      --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")

SEE ALSO

  • signaldctl - Interact with a running signald instance