Command: template
Manage template based resources.
Usage
Usage: turbot template <subcommand> [options]
Supported Sub-commands
| Command | Description |
|---|---|
turbot template build | Render a template |
turbot template outdated | List all template instances which use an outdated version of the template |
turbot template cleanup | Delete git branches created by turbot template build |
turbot template build
Render a template.
The supported options are:
--dir or -d: A glob pattern to specify template instance root(s).--template: A glob pattern to specify template.--instance: A glob pattern to specify the instance(s) to build the template for.--config: The path of a yaml config file containing additional parameters to add to the template render context.--version: A semver range specifying the template version.--yes: Execute template operations without requiring confirmation.--save: Force the re-writing of the template instance config. Default:false.--template-definitions: Path to the template definitions folder.--global-config: A path to the global template config file. Default:~/.config/turbot/template.yml.--summary: Show a summary of the template operations before executing. Default:false.--verbose: Show verbose output. Default:false.--git: Use git. Default:false.--branch: Specify a branch to commit the build results to (only applies if--gitflag is passed).--help: Shows help.
turbot template outdated
List all template instances which use an outdated version of the template.
The supported options are:
--dir or -d: Path to the turbot mod.--template: A regex pattern specifying templates to check. Default:.*.--template-definitions: Path to the template definitions folder.--help: Shows help.
turbot template cleanup
Delete git branches created by turbot template build.
The supported options are:
--dir or -d: Path to the turbot mod.--help: Shows help.