Skip to main content

conveyor template apply

Apply a template

Synopsis

Applying a template on an existing project or trying out templates without project.

conveyor template apply [flags]

Examples

Different ways on how to apply a template:

$ conveyor template apply --template project/python
$ conveyor template apply --template file://template/directory
$ conveyor template apply --template git@github.com:YOUR/GITREPO.git


If you want a subfolder in that git repository you can use the --directory flag.
If you want a certain branch or tag of your git repo you can use the --branch flag.
It behaves exactly the same as the --branch flag in git clone.

Options

      --branch string                      The branch or git tag to checkout when supplying a git repo
--conveyor-template-version string The release to use for Conveyor templates, the template can be found here: https://github.com/datamindedbe/conveyor-templates (default "1.7.1")
--cookiecutter-docker-image string The cookiecutter docker image to use to generate the template (default "datamindedbe/cookiecutter:1.7.1")
--directory string The gitDirectory inside a git repository to apply the template from
-h, --help help for apply
-o, --output string The location to apply the template (default ".")
--template string The name of the template to apply

Options inherited from parent commands

      --debug                        Show debug output
--no-browser NO_BROWSER=true Do not automatically open a browser at login instead print the url to the command line. You can also use the environment variable NO_BROWSER=true.
--quiet QUIET=true Quiet down the output. You can also use the environment variable QUIET=true.

See also