Skip to main content

Just a small shim around cookiecutter that alters a bit the CLI to work better when reapplying templates to existing projects. Works best with cookiecutter-pylibrary.

Project description

docs Documentation Status
tests
Travis-CI Build Status AppVeyor Build Status Requirements Status
Coverage Status Coverage Status
package PyPI Package latest release PyPI Package monthly downloads PyPI Wheel Supported versions Supported implementations

Just a small shim around cookiecutter that alters a bit the CLI to work better when reapplying templates to existing projects. Works best with cookiecutter-pylibrary.

  • Free software: BSD license

Installation

pip install cookiepatcher

Documentation

Usage: cookiepatcher [OPTIONS] TEMPLATE TARGET

Args:

TARGET Directory where to look for .cookiecutterrc.
TEMPLATE Name of cookiecutter template.

Options:

-V, --version Show the version and exit.
--no-input Do not prompt for parameters and only use cookiecutter.json file content
-c, --checkout TEXT
 branch, tag or commit to checkout after git clone
-v, --verbose Print debug information
--help Show this message and exit.

Development

To run the all tests run:

tox

Changelog

0.3.3 (2017-10-25)

  • Fixed issues with god knows what changed again in cookiecutter.

0.3.2 (2017-07-19)

  • Fixed issues with linewrapping in .cookiecutterrc.

0.3.1 (2017-07-19)

  • Fixed more breakage.

0.3.0 (2015-11-28)

  • Fix issues with Python 2.7.

0.3.0 (2015-11-28)

  • Fix issues with Python 2.7.

0.2.0 (2015-11-19)

  • Remove some workarounds. Requires cookiecutter>=1.3.0.

0.1.1 (2015-11-05)

  • Force utf8 in various places.

0.1.0 (2015-10-19)

  • First release on PyPI.

Project details


Release history Release notifications

This version
History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.0

History Node

0.1.1

History Node

0.1.0

History Node

0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cookiepatcher-0.3.3-py2.py3-none-any.whl (7.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Oct 25, 2017
cookiepatcher-0.3.3.tar.gz (15.8 kB) Copy SHA256 hash SHA256 Source None Oct 25, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page