Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessTemplate ¶ added in v0.0.6
func ProcessTemplate(options, rootOpts *options.BoilerplateOptions, thisDep variables.Dependency) error
Process the boilerplate template specified in the given options and use the existing variables. This function will download remote templates to a temporary working directory, which is cleaned up at the end of the function. This function will load any missing variables (either from command line options or by prompting the user), execute all the dependent boilerplate templates, and then execute this template. Note that we pass in rootOptions so that template dependencies can inspect properties of the root template.
Types ¶
type ProcessedEngine ¶ added in v0.3.5
type ProcessedEngine struct { // List of paths relative to template folder that should be skipped EvaluatedPaths []string // The template engine to use. TemplateEngine variables.TemplateEngineType }
type ProcessedSkipFile ¶ added in v0.3.4
Click to show internal directories.
Click to hide internal directories.