generate

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() error

Run generates a project using command line argument parsing (legacy)

func RunWithParams added in v0.0.5

func RunWithParams(templateFile, outputDir, projectName, githubRepo string) error

RunWithParams generates a project with specified parameters (called by cobra command)

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator handles the generation of projects from template schemas

func NewGenerator

func NewGenerator(schemaFile, outputDir, projectName, githubRepo string) (*Generator, error)

NewGenerator creates a new generator instance

func (*Generator) Generate

func (g *Generator) Generate() error

Generate creates the project from the template schema

func (*Generator) PrintSummary

func (g *Generator) PrintSummary()

PrintSummary prints a summary of what was generated

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL