generator

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(ctx config.ProjectContext, dir string) (string, error)

Generate renders the pipeline YAML for the given context.

func Write

func Write(content, dir string) (string, error)

Write saves the generated pipeline to .github/workflows/ci.yml.

func WriteGithubTemplates

func WriteGithubTemplates(dir string) ([]string, error)

WriteGithubTemplates generates PR template, issue templates and CHANGELOG.md.

func WriteReleasePipeline

func WriteReleasePipeline(cfg releaserc.Config, dir string) (string, error)

WriteReleasePipeline generates .github/workflows/release.yml. Full implementation comes when release package is built.

Types

type TemplateData

type TemplateData struct {
	config.ProjectContext
	HasPipfile   bool
	HasPyproject bool
	ImageName    string // always lowercase version of RepoName
}

TemplateData extends ProjectContext with extra derived fields for the template.

Jump to

Keyboard shortcuts

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