diff --git a/internal/cli/create.go b/internal/cli/create.go index 14ae07bb..1e6e2834 100644 --- a/internal/cli/create.go +++ b/internal/cli/create.go @@ -27,7 +27,7 @@ func NewCreateCmd() *cobra.Command { my-recipe ├── %[2]s ├── %[3]s -│ └── README.md +│ └── README.md.tmpl └── %[4]s └── defaults ├── %[5]s diff --git a/pkg/recipeutil/examples.go b/pkg/recipeutil/examples.go index 7112f5ec..1b5e6747 100644 --- a/pkg/recipeutil/examples.go +++ b/pkg/recipeutil/examples.go @@ -15,7 +15,7 @@ func CreateExampleRecipe(name string) *recipe.Recipe { {Name: variableName, Default: defaultValue}, } r.Templates = map[string][]byte{ - "README.md": []byte("{{ .Variables.MY_VAR }}"), + "README.md.tmpl": []byte("{{ .Variables.MY_VAR }}"), } r.Tests = []recipe.Test{ {