From 35b72af71b5806a21dae61c25a88aa7635c4cebb Mon Sep 17 00:00:00 2001 From: Nick Nellis Date: Tue, 6 Jul 2021 10:41:32 -0500 Subject: [PATCH] turned of doc gen --- cmd/generate.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/cmd/generate.go b/cmd/generate.go index 7fde10a..69b0787 100644 --- a/cmd/generate.go +++ b/cmd/generate.go @@ -4,8 +4,6 @@ import ( "fmt" "github.com/nmnellis/app-gen/pkg/generate" "github.com/spf13/cobra" - "github.com/spf13/cobra/doc" - "log" "os" ) @@ -26,10 +24,10 @@ var generateCmd = &cobra.Command{ func Execute() { // used to generate docs - err := doc.GenMarkdownTree(generateCmd, "docs") - if err != nil { - log.Fatal(err) - } + // err := doc.GenMarkdownTree(generateCmd, "docs") + // if err != nil { + // log.Fatal(err) + // } if err := generateCmd.Execute(); err != nil { fmt.Println(err) os.Exit(1)