generate

package
v0.0.0-...-b27b957 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCommandRecursive

func RegisterCommandRecursive(parent *cobra.Command)

Types

type Generator

type Generator interface {
	CopyFiles(src, target string) error
	WriteTemplate(name string, w io.Writer) error
	Generate() error
}

func NewGenerator

func NewGenerator(args GeneratorArgs) (Generator, error)

type GeneratorArgs

type GeneratorArgs struct {
	Arguments   []string
	Target      contentGenerator.Target
	ContentType content.Type
}

Jump to

Keyboard shortcuts

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