Usage
Subcommands
list
List all available templates (built-in and installed).Example Output
info
Show detailed information about a template.Examples
pull
Download a template from the marketplace.~/.dokrypt/templates/.
Examples
push
Publish the current directory as a template to the marketplace.template.yaml in the current directory and the DOKRYPT_REGISTRY_TOKEN environment variable.
Examples
create
Scaffold a new template directory with boilerplate files.Created Files
Example
my-defi-template
template.yaml
dokrypt.yaml.tmpl
template.yaml format
Template Variables
Templates use Go’stext/template syntax. Available variables:
Files ending in
.tmpl are rendered through the template engine and the .tmpl extension is removed. All other files are copied as-is.