Skip to content

Commit

Permalink
turned of doc gen
Browse files Browse the repository at this point in the history
  • Loading branch information
nmnellis committed Jul 6, 2021
1 parent adca01c commit 35b72af
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import (
"fmt"
"github.com/nmnellis/app-gen/pkg/generate"
"github.com/spf13/cobra"
"github.com/spf13/cobra/doc"
"log"
"os"
)

Expand All @@ -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)
Expand Down

0 comments on commit 35b72af

Please sign in to comment.