gen

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package gen provides the gen command for generating code from a mucl file

Index

Constants

This section is empty.

Variables

View Source
var Flags = []cli.Flag{
	&cli.BoolFlag{
		Name:    "types",
		Usage:   "only generate types",
		EnvVars: []string{"TINY_GEN_TYPES"},
	},
	&cli.BoolFlag{
		Name:    "force",
		Usage:   "destructively overwrite existing files",
		EnvVars: []string{"TINY_GEN_FORCE"},
	},
	&cli.StringFlag{
		Name:    "definition",
		Usage:   "tiny definition file",
		EnvVars: []string{"TINY_DEFINITION"},
		Value:   "service.tiny",
	},
}

Functions

func Run

func Run(c *cli.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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