templates

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: MIT Imports: 12 Imported by: 3

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

This section is empty.

Jump to

Keyboard shortcuts

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