copier
copier copied to clipboard
Library and command-line utility for rendering projects templates.
This PR closes #735
https://github.com/copier-org/copier/blob/fa3515eff2cc6b69048ce5c66b5baef3efd5543f/copier/main.py#L216-L221 Pathspec.match file leverages `pathspec.util.match_file`[^1] ```python def match_file(self, file, separators=None): # type: (Union[Text, PathLike], Optional[Collection[Text]]) -> bool """ Matches the file to this path-spec. *file* (:class:`str` or :class:`~pathlib.PurePath`) is the...
This PR adds the `force_overwrite` config option, which allows template authors more granularity in how their templates are consumed downstream. The intended use case (and reason for this PR) is...
Whenever I create a copier project **not** at the repository root level of the, update doesn't work as I would expect (changes I made locally just get overwritten). Behavior with...
I would like a clean way to display an intro message before the input questions. Right now I'm doing this by adding it to the first question. There are a...
When creating a project using a local path, shouldn't it be stored as absolute path in the `answers_file`? If created using `copier . /path/to/destination`, it's saved as `_src_path: .`. One...
**Is your feature request related to a problem? Please describe.** Copier users keep requesting variables support. There are good reasons to _avoid_ supporting variables: - [You will want to use...
Hi, I'm noticing some temp files being left over when running copier Typically under windows under the `C:\Users\username\AppData\Local\Temp` directory such as `copier.vcs.clone.sxn86nzf` I'm running copier using a template that's located...
When the user is asked interactively if he would want to overwrite or skip a conflicting file, he has no way to know what's the good answer. This relies on...
Add precommix for linting and formatting.