Don't require signald connection to generate completion

This commit is contained in:
Finn 2021-02-02 21:22:42 -08:00
parent 5288a41f42
commit 195b44ee06

View file

@ -66,6 +66,7 @@ PS> signaldctl completion powershell > signaldctl.ps1
# and source this file from your powershell profile. # and source this file from your powershell profile.
`, `,
DisableFlagsInUseLine: true, DisableFlagsInUseLine: true,
Annotations: map[string]string{common.AnnotationNoSocketConnection: "true"},
ValidArgs: []string{"bash", "zsh", "fish", "powershell"}, ValidArgs: []string{"bash", "zsh", "fish", "powershell"},
Args: cobra.ExactValidArgs(1), Args: cobra.ExactValidArgs(1),
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {