cupper
pypi i cupper

cupper

Update cookiecutter projects

by senseyeio

0.0.4 (see all)License:MIT
pypi i cupper
Readme

Cupper

Cupper allows for the update of services that are created using cookiecutter. When run, it creates a new branch that contains the latest cookiecuttered code, using a JSON file with context that matches the existing service. This file can be created through cookiecutter with the following contents:

{{ cookiecutter | jsonify }}

The script takes two arguments: a JSON file containing configuration for cookiecutter, and the name of the branch to create.

cupper .cookiecutter.json template

You can then merge these changes into your existing code:

git merge template

This code is heavily based on https://github.com/aroig/cookiecutter-latex-paper/blob/master/make/cookiecutter-update.py, with a few very small changes.

Note that you will need a recent version of git for this to work (it needs --no-checkout on git worktree)

GitHub Stars

18

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

1

OPEN PRs

0
VersionTagPublished
0.0.4
4yrs ago
0.0.3
4yrs ago
0.0.2
4yrs ago
0.0.1
4yrs ago
No alternatives found
No tutorials found
Add a tutorial