2022-06-14 12:40:00 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
func newDocsCmd() *cobra.Command {
|
|
|
|
cmd := &cobra.Command{
|
2022-09-16 04:21:05 +00:00
|
|
|
Use: cmdUseDocs,
|
2022-06-14 12:40:00 +00:00
|
|
|
Short: "Generate docs",
|
2022-09-16 04:21:05 +00:00
|
|
|
RunE: rootSubCommandsRunE,
|
2022-09-01 02:24:47 +00:00
|
|
|
|
|
|
|
DisableAutoGenTag: true,
|
2022-06-14 12:40:00 +00:00
|
|
|
}
|
|
|
|
|
2022-10-22 11:19:32 +00:00
|
|
|
cmd.AddCommand(newDocsCLICmd(), newDocsDataCmd(), newDocsDateCmd())
|
2022-06-14 12:40:00 +00:00
|
|
|
|
|
|
|
return cmd
|
|
|
|
}
|