config

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Package         string `arg:"-p,--package,env:GOPACKAGE" help:"Package name to use in generated templates"`
	KeepTempFiles   bool   `arg:"--keep-temp-files" help:"Keep temporary typechecking files"`
	FileExtension   string `arg:"-e,--extension" default:"ntc" help:"File extension to search for when finding templates"`
	OutputDirectory string `arg:"-o,--output-dir" help:"Output directory for generated files. Defaults to the same as the input directory."`

	Directory string `arg:"positional" help:"Input directory to run against. If omitted, the current directory is used."`
}

func (Config) Description

func (Config) Description() string

Jump to

Keyboard shortcuts

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