tmplr icon indicating copy to clipboard operation
tmplr copied to clipboard

Interactive Code Scaffolding

Results 13 tmplr issues
Sort by recently updated
recently updated
newest added

I'm trying to create a package that you can use like `npm create foo` to scaffold a project directory using tmplr. To do this, there needs to be a `bin`...

bug

`exists` does not check existence of directories. this can be confusing, and also is inconsistent with behaviour of `remove`, where if a directory is explicitly specified (without any glob patterns)...

enhancement

I tried doing something like this: ```yaml - copy: tmp/README.md to: . ``` But it looks like tmplr was trying to replace the local directory with the file. I'd expect...

enhancement

There are likely to be a number of files in a repo that are used only for scaffolding tmplr, so it would be nice if there was a simple way...

`write` and `from file` commands can benefit from being able to specific fields in JSON / YAML files, specifically for recipes that want to alter an existing projects. For example,...

enhancement

While running reusable recipes, it is useful to allow the user choose one of their existing files (in the scope of the recipe). This is not currently possible with `prompt`...

enhancement

Attempting to use `tmplr` on my gitlab project doesn't work, it simply says `Working` and spins forever. Using `local` to the checked out project works perfectly, as does `tmplr preview`....

bug

I'm trying to create a [`vite`](https://vitejs.dev/) template that supports conditionally adding certain plugins/dependencies. It would be nice if files could specify blocks to render based on a given variable: ####...

enhancement

A stronger filtering system for commands accepting glob patterns as input (`copy`, `update`, `remove`, `write`) can be particularly useful, specifically combined with `from file`. For example the following would allow...

enhancement

Some edge cases are particularly difficult to pinpoint in unit tests (for example #15, #14 ). Some integration tests on the `tmplr` repository itself would help mitigate such regressions. An...

enhancement
help wanted
good first issue