20 lines
304 B
Go
20 lines
304 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func newDocsCmd() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: cmdUseDocs,
|
|
Short: "Generate docs",
|
|
RunE: rootSubCommandsRunE,
|
|
|
|
DisableAutoGenTag: true,
|
|
}
|
|
|
|
cmd.AddCommand(newDocsCLICmd(), newDocsDataCmd(), newDocsDateCmd())
|
|
|
|
return cmd
|
|
}
|