Skip to content

Commit

Permalink
feat: hide docgen command
Browse files Browse the repository at this point in the history
  • Loading branch information
t0t07 committed Jan 27, 2022
1 parent cb15799 commit 9d3dd5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oomcli/cmd/docgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ var docgenCmd = &cobra.Command{
func init() {
// So that it doesn't docgen 'completion' command
rootCmd.CompletionOptions.DisableDefaultCmd = true
// Hide the command for non-dev users
docgenCmd.Hidden = true

rootCmd.AddCommand(docgenCmd)
}

Expand Down

0 comments on commit 9d3dd5a

Please sign in to comment.