Documentation ¶
Index ¶
Constants ¶
View Source
const ConfigFileName = "config.yml"
View Source
const TemplateFilesDirName = "_template_files"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Template ¶
func NewTemplate ¶
NewTemplate creates a new template with its directory located at 'rootPath'.
func (*Template) Instantiate ¶
Instantiate will create an instance of the template at the 'dstPath' location.
func (*Template) ReadFieldsFromArgs ¶
ReadFieldsFromArgs will take the list of strings in args and use them to configure the Data of its Fields.
func (*Template) RequestMissingFields ¶
RequestMissingFields asks the user for the missing params.
Click to show internal directories.
Click to hide internal directories.