class Minke::Generators::GenerateSettings

This class encapsulates the settings required to generate a new template.

Attributes

command[RW]
OPTIONAL

A command to execute when generating a new template.

Using this attribute it is possible to delegate reponsibility for generation of part of the codebase to an external command. For example you could execute rails new… to generate a new rails project as part of the template generation.

docker_file[RW]

The folder location of a docker file from which an image will be build before running commands inside it.

This option can be used as an alternative to providing a docker image, Dockerfiles can be bundled with the template. Minke will attempt to create an image from this Dockerfile before executing the generate commands.

docker_image[RW]

The name of a docker image to run the commands inside.

All commands are run inside a docker container to remove the dependency on installed software on the build machine.