To install the latest version of cruft simply run:
pip3 install cruft
OR
poetry add cruft
OR
pipenv install cruft
- Fixed issue #52: Clarify error message when specified commit is missing from repo
- Fixed issue #55: Add support for ssh connections to template repository
- Fixed issue #56: Improve error message when providing incorrect credentials
- Fixed issue #46: Cruft update fails to apply without providing conflits to resolve manually
- Fixed issue #44: Cruft update can drop changes
- Fixed issue #42: Cruft check fails if the current version of the project is ahead of the cookiecutter
- Implemented #31: Moved from hug -> typer and refactored Python API.
- Implemented #39: Simplify internals by fully droping Windows support beyond WSL.
- Fixed issue #7: Incorrect CLI help documentation.
- Fixed issue #23: Relative paths not supported.
- Fixed issue #21: Improve messaging when diff is empty.
- Implemented #15: Allow piping diff to an external utility.
- Implemented #33: When possible, use git apply instead of
patch
.
- Fixed issue #8: Fall back to no-backup if patch doesn't support --merge.
- Fixed issue #11: Config file flag --config_file broken.
- Implemented #24: Allow
cruft update
to specify a branch of the cookiecutter repo. - Implemented #10: Provide a mechanism to choose template version.
Internal:
- Refactored
api
module into a collection of smaller better scoped modules.
- Fixed issue #26: Support for Directory as there are multiple templates in single repo
- Fixed issue #18 & #13: Commands fail with OSError randomly on windows
- Fixed Issue #3: Patch failed to apply.
- Updated to use pathlib.
- Improved
pyproject.toml
skip_files, avoiding duplication into.cruft.json
file.
- Added optional support for reading skip options from
pyproject.toml
.
- Added
link
command to link existing repositories to the Cookiecutter template that created them. - Added
skip
option to.cruft.json
file allowing template updates to be skipped per a repository. - Improved patch applying from template updates.
- Added an interactive option on the
update
command to skip an individual update, while marking a repository as up-to-date.
- Initial API stable release.