mirror of
https://github.com/safedep/vet.git
synced 2025-12-10 13:43:01 -06:00
18 lines
339 B
Go
18 lines
339 B
Go
package doc
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func NewDocCommand() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "doc",
|
|
Short: "Documentation generation internal utilities",
|
|
Hidden: true, // Hide from vet public commands and docs itself, since its only build utility
|
|
}
|
|
|
|
cmd.AddCommand(newGenerateCommand())
|
|
|
|
return cmd
|
|
}
|