Cookie-cutter updater
Project description
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cupper-0.0.4.tar.gz.
File metadata
- Download URL: cupper-0.0.4.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
756725e75642ba905a70c0284aee001ea7a406003da6d4ec74eead5d303ad266
|
|
| MD5 |
17256bc69821241a7637a503065864d2
|
|
| BLAKE2b-256 |
c6196b440227fb9e005ab36e54ac6bc4c58b93c9c2d6551804d97ea67e0dc5e8
|
File details
Details for the file cupper-0.0.4-py3-none-any.whl.
File metadata
- Download URL: cupper-0.0.4-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
964840d36efe54af7a62598fb062d42b10521b88fc7016524ac5595cf93586e3
|
|
| MD5 |
c11007af56f1e3e419fa9c5f498728af
|
|
| BLAKE2b-256 |
923d482909f67cefc832282c9b21c2ab054a9c80b412d9a68ec54aac96a4d023
|