From b0502f5aa5bd92b372fd9809372fb6223d719e36 Mon Sep 17 00:00:00 2001 From: Jun Nishimura Date: Sat, 2 Sep 2023 21:23:36 +0900 Subject: [PATCH] disable completions command --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 0ab0885..9f4ff98 100644 --- a/main.go +++ b/main.go @@ -30,6 +30,7 @@ func main() { greetingCommand, heyCommand, ) + rootCmd.CompletionOptions.DisableDefaultCmd = true // disable completions command if err := rootCmd.Execute(); err != nil { log.Fatal(err)