Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liskin/cookiecutter-python-cli
Cookiecutter template: Python CLI (Click)
https://github.com/liskin/cookiecutter-python-cli
Last synced: about 1 month ago
JSON representation
Cookiecutter template: Python CLI (Click)
- Host: GitHub
- URL: https://github.com/liskin/cookiecutter-python-cli
- Owner: liskin
- Created: 2023-11-28T12:39:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-18T21:44:52.000Z (7 months ago)
- Last Synced: 2024-10-16T00:44:31.119Z (3 months ago)
- Language: Makefile
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python CLI cookiecutter template
[Cookiecutter](https://github.com/cookiecutter/cookiecutter) template that I use for
[my Python CLI projects](https://github.com/topics/liskin-cookiecutter-python-cli).## Starting a new project
```console
$ mkdir my-project
$ cd my-project
$ ~/src/cookiecutter-python-cli/update.sh \
-t "$(realpath --relative-to=. ~/src/cookiecutter-python-cli)" \
-p . -b template name=my-project
$ git reset --hard template
$ gh repo create --public --source=. my-project
$ git push -u origin main template
```## Updating an existing project
```console
$ make template-merge
$ git push origin main template
```