从上游模板刷新基于 Cookiecutter 的仓库,而不会丢失本地答案
Use Cruft when an agent needs to pull new changes from a Cookiecutter template into an existing generated repository without redoing the project from scratch. The agent tracks the template origin, previews the diff, applies the update, and preserves the repository's saved answers and local customizations as carefully as possible.
Prerequisites
Python plus Cruft and a repository generated from a Cookiecutter template
Installation
Requirements and caveats from upstream:
-
- To get started - install cruft using a Python package manager:
- cruft create https://github.com/1991513ccie-png/skills
Basic usage or getting-started notes:
-
-
-
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/cruft/cruft/HEAD/README.md
Documentation
- https://cruft.github.io/cruft/