Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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
```