cli

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CLI

func CLI() 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
Package config loads configuration data from an external file.
Package config loads configuration data from an external file.
interpreter/extract
Package extract uses the `yaegi extract` tool in order to generate the reflect.Value symbols of internal types.
Package extract uses the `yaegi extract` tool in order to generate the reflect.Value symbols of internal types.
template
Package template provides a template used by copygen to generate custom code.
Package template provides a template used by copygen to generate custom code.
Package matcher matches fields.
Package matcher matches fields.
Package models defines the domain models that model field relations and manipulation.
Package models defines the domain models that model field relations and manipulation.
Package parser parses a setup file's functions, types, and fields using an Abstract Syntax Tree.
Package parser parses a setup file's functions, types, and fields using an Abstract Syntax Tree.

Jump to

Keyboard shortcuts

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