cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CLI

func CLI(args []string) int

CLI runs the copygen command and returns its exit status.

Types

type Environment

type Environment struct {
	YMLPath string // The .yml file path used as a configuration file.
	Output  bool   // Whether to print the generated code to stdout.
}

Environment represents the copygen environment.

Directories

Path Synopsis
templates
Package templates provides a template used by copygen to generate custom code.
Package templates provides a template used by copygen to generate custom code.
Package loader loads generator information from an external file.
Package loader loads generator information from an external file.

Jump to

Keyboard shortcuts

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