vet/cmd/doc/main.go
Kunal Singh 2d74224fd3
feat: added internal doc generate command (#618)
* feat: added internal doc generate command

* make generate and go mod tidy
2025-10-09 15:51:15 +05:30

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
}