Skip to content

Commit

Permalink
fix: disable completion command
Browse files Browse the repository at this point in the history
  • Loading branch information
Shawn Yu authored and Shawn Yu committed May 14, 2024
1 parent 1c2d08c commit 1803772
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ var RootCmd = &cobra.Command{

func init() {
RootCmd.PersistentFlags().BoolVar(&flags.debug, "debug", false, "toggle debug logging")
RootCmd.CompletionOptions.HiddenDefaultCmd = true
RootCmd.CompletionOptions.DisableDefaultCmd = true
}

func Execute() {
Expand Down

0 comments on commit 1803772

Please sign in to comment.