authelia/cmd/authelia-gen/cmd_docs.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
}